Hi Olivier,
Getting this when trying to compile the GIT head as of today:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libogmrip-base -I../libogmrip-job -I../libogmrip-media -I../libogmrip-file -I../libogmrip-dvd -I../libogmrip-encode -DOGMRIP_LIB_DIR=\"/usr/local/lib\" -DOGMRIP_DATA_DIR=\"/usr/local/share\" -DG_ENABLE_DEBUG -g -I/usr/local/include -I.. -Wall -Werror -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -DUNICODE -I/usr/include/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libpng12 -MT libogmrip_encode_la-ogmrip-encoding.lo -MD -MP -MF .deps/libogmrip_encode_la-ogmrip-encoding.Tpo -c ogmrip-encoding.c -fPIC -DPIC -o .libs/libogmrip_encode_la-ogmrip-encoding.o
ogmrip-encoding.c: In function 'get_space_left':
ogmrip-encoding.c:1590:3: error: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'guint64' [-Werror=format=]
g_message ("%s = %lu", id, space);
^
Fixed, thanks.
Still a few more:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../libogmrip-base -I../libogmrip-job -I../libogmrip-media -I../libogmrip-file -I../libogmrip-dvd -I../libogmrip-encode -DOGMRIP_LIB_DIR=\"/usr/local/lib\" -DOGMRIP_DATA_DIR=\"/usr/local/share\" -g -I/usr/local/include -I.. -Wall -Werror -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -DUNICODE -I/usr/include/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libpng12 -MT libogmrip_encode_la-ogmrip-encoding.lo -MD -MP -MF .deps/libogmrip_encode_la-ogmrip-encoding.Tpo -c ogmrip-encoding.c -fPIC -DPIC -o .libs/libogmrip_encode_la-ogmrip-encoding.o
ogmrip-encoding.c: In function 'ogmrip_encoding_check_space':
ogmrip-encoding.c:1636:3: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'guint64' [-Werror=format=]
g_message ("output = %lu/%lu", output_size, output_space);
^
ogmrip-encoding.c:1636:3: error: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'guint64' [-Werror=format=]
ogmrip-encoding.c:1637:3: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'guint64' [-Werror=format=]
g_message ("tmp = %lu/%lu", tmp_size, tmp_space);
^
ogmrip-encoding.c:1637:3: error: format '%lu' expects argument of type 'long unsigned int'
Fixed again.
Nope, same :)
I did a git remote update, saw some deltas, then a make clean and make. That should have done it, right?
git pull
Segfault??
mv -f .deps/avibox-aud_scan.Tpo .deps/avibox-aud_scan.Po
gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -I/usr/local/include -I.. -Wall -Werror -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -DUNICODE -I/usr/include/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libpng12 -MT avibox-platform.o -MD -MP -MF .deps/avibox-platform.Tpo -c -o avibox-platform.o
test -f 'platform.c' || echo './'platform.cmv -f .deps/avibox-platform.Tpo .deps/avibox-platform.Po
make[2]: *** [avibox] Segmentation fault (core dumped)
make[2]: Leaving directory
/data/dl/new/ogmrip-code/avibox' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/data/dl/new/ogmrip-code'make: *** [all] Error 2
Which was a one-off oddly, then:
libtool: link: gcc -g -I/usr/local/include -I.. -Wall -Werror -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -DUNICODE -I/usr/include/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libpng12 -Wl,--export-dynamic -o .libs/ogmrip ogmrip-ogmrip-application.o ogmrip-ogmrip-cli.o ogmrip-ogmrip-main.o -Wl,--export-dynamic -pthread -L/usr/local/lib -L/usr/pkg/lib ../libogmrip-base/.libs/libogmrip-base.so ../libogmrip-job/.libs/libogmrip-job.so ../libogmrip-media/.libs/libogmrip-media.so ../libogmrip-file/.libs/libogmrip-file.so ../libogmrip-dvd/.libs/libogmrip-dvd.so ../libogmrip-encode/.libs/libogmrip-encode.so ../libogmrip-mplayer/.libs/libogmrip-mplayer.so ../libogmrip-module/.libs/libogmrip-module.so -lgmodule-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lmediainfo -lzen -lpthread -lstdc++ -lxml2 -lpng12 -lz -lenca -lm -ldvdread -pthread -Wl,-rpath -Wl,/dl/new/tmp/lib
make[3]: *** No rule to make target
test.c', needed bytest-test.o'. Stop.make[3]: Leaving directory
/data/dl/new/ogmrip-code/src' make[2]: *** [all] Error 2 make[2]: Leaving directory/data/dl/new/ogmrip-code/src'make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/dl/new/ogmrip-code'
make: *** [all] Error 2
If it's OK to continue from here (just a test?), a make install gives me a bin dir with:
-rwxr-xr-x 1 gbell2 133K Oct 27 07:30 avibox
-rwxr-xr-x 1 gbell2 39K Oct 27 07:30 dvdcpy
-rwxr-xr-x 1 gbell2 91K Oct 27 07:30 subp2pgm
lrwxrwxrwx 1 gbell2 8 Oct 27 07:30 subp2png -> subp2pgm
-rwxr-xr-x 1 gbell2 34K Oct 27 07:30 subptools
Quite strange indeed.
Do you want my config.log or ???
The makefile in src clearly calls out test.c, but that file doesn't exist in my tree...
I have probably committed some debug files/code/configuration. I'll remove them asap.
Last edit: Olivier Rolland 2014-10-28
Should be fixed.
make[3]: *** No rule to make target
test.c', needed bytest-test.o'. Stop.make[3]: Leaving directory
/data/dl/new/ogmrip-code/src' make[2]: *** [all] Error 2 make[2]: Leaving directory/data/dl/new/ogmrip-code/src'make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/dl/new/ogmrip-code'
make: *** [all] Error 2
Works for me on a new clone.
Ah, bugger, Makefile wasn't being recreated from Makefile.am by configure. So the process is ./autogen.sh then make.
So it builds the command-line program now. How do I build the GUI?
The GUI is built if GTK+ >= 3.12 is installed (with development libraries).
Well, Ubuntu 14.04 LTS only has GTK+ 3.10.8 available. I guess I'm out :(
Wouldn't Ubuntu 14.04 be a major desirable target for ogm rip?
And it will be when this new version will be released. At the moment, I stick with up to date versons of GKT+.
Looks like you're using some of the API for GTK > 3.10.8 because when I forced configure to accept 3.10.8, I had linker errors.
Happy to help beta-test when ogmrip compiles on 14.04.