Build problems...



I'm having difficulty building glib/gtk+ HEAD:

make in glib/ dies with:
----------------------------------------------------------------
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib
-DG_ENABLE_DEBUG    -g -O2 -Wall -D_REENTRANT -c testglib.c
testglib.c: In function `main':
testglib.c:914: warning: format argument is not a pointer (arg 3)
testglib.c:400: warning: unused variable `p'
/bin/sh ./libtool --mode=link gcc  -g -O2 -Wall -D_REENTRANT  -o
testglib  testglib.o libglib-1.3.la 
gcc -g -O2 -Wall -D_REENTRANT -o .libs/testglib testglib.o
.libs/libglib-1.3.so -Wl,--rpath -Wl,/opt//lib
testglib.o: In function `main':
/home/nbarth/src/glib/testglib.c:1188: undefined reference to
`g_mkstemp'
/home/nbarth/src/glib/testglib.c:1193: undefined reference to
`g_mkstemp'
/home/nbarth/src/glib/testglib.c:1217: undefined reference to
`g_file_open_tmp'
/home/nbarth/src/glib/testglib.c:1228: undefined reference to
`g_file_open_tmp'
/home/nbarth/src/glib/testglib.c:1239: undefined reference to
`g_file_open_tmp'
.libs/libglib-1.3.so: undefined reference to `g_file_test'
.libs/libglib-1.3.so: undefined reference to `g_convert_error_quark'
.libs/libglib-1.3.so: undefined reference to `g_qsort_with_data'
collect2: ld returned 1 exit status
make[2]: *** [testglib] Error 1
make[2]: Leaving directory `/home/nbarth/src/glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nbarth/src/glib'
make: *** [all-recursive-am] Error 2
----------------------------------------------------------------

(also, glib/configure had a (non-fatal?) problem:
...
creating docs/reference/Makefile
sed: can't read ./docs/reference/Makefile.in: No such file or
directory
creating docs/reference/glib/Makefile
sed: can't read ./docs/reference/glib/Makefile.in: No such file or
directory
creating docs/reference/gobject/Makefile
sed: can't read ./docs/reference/gobject/Makefile.in: No such file or
directory
creating tests/Makefile
...)


Also, what's the build order now?
glib, pango, gtk+? (do I need pkg-config?)

(yes, now that finals are over, I'm polishing the gboolean patch, and
I'd rather it didn't break building)

-- 
  -nils
Public key: http://www.nbarth.net/~nbarth/pub-key.txt

Attachment: pgp1AL3QXRwCj.pgp
Description: PGP signature



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