glib doesn't build from CVS for me (2.5.3)



I've checked out glib a week ago and it failed to build. Saw that there was something in ChangleLog about the build process (a day before), updated it from CVS today but it still refuses to build. The only trouble is with glib_..._version symbols (see below), but glib-2.4 builds normally and I'm not familiar enough with libtool/automake/autoconf even to understand what's different in 2.5.

gcc -g -O2 -Wall -o .libs/testglib testglib.o ../glib/.libs/libglib-2.0.so -Wl,--rpath -Wl,/usr/local/lib
testglib.o(.text+0x1577): In function `main':
/home/ferel/progs/gnomecvs/glib/tests/testglib.c:427: undefined reference to `glib_binary_age' testglib.o(.text+0x1580):/home/ferel/progs/gnomecvs/glib/tests/testglib.c:427: undefined reference to `glib_interface_age' testglib.o(.text+0x1589):/home/ferel/progs/gnomecvs/glib/tests/testglib.c:427: undefined reference to `glib_micro_version' testglib.o(.text+0x1592):/home/ferel/progs/gnomecvs/glib/tests/testglib.c:427: undefined reference to `glib_minor_version' testglib.o(.text+0x159b):/home/ferel/progs/gnomecvs/glib/tests/testglib.c:427: undefined reference to `glib_major_version'
collect2: ld returned 1 exit status
make[3]: *** [testglib] Error 1

If I comment out testglib.c in a Makefile, it says everything is ok, but then atk doesn't build. Please help. I have some ideas about gtk+ and 'd like to take a try, but aah I can't even build it. so sad :(

Best regards, Dmitry




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]