undefined reference to `poptGetContext'

hmm.. as of the recent CVS gnome-libs with the popt changes, I've been
having a bit of fun compiling :)

I've got popt from the tar.gz recommended, made and installed
(/usr/local I believe) .. but gnome-libs has been complaining during
compile about undefined popt things (which are quite clearly defined in
my popt.h in /usr/local/include) ... the autogen.sh process doesn't
complain about popt missing.. hmm.. so here's my most recent make

gcc -g -O2 -Wall -Wno-unused -Wmissing-prototypes -Wmissing-declarations
-Wpointer-arith -o .libs/gnome-dump-metadata -L/usr/local/lib -lglib
gnome-dump.o -Wl,--rpath -Wl,/usr/local/lib .libs/libgnome.so
-L/usr/local/lib -lglib -lm -ldl -lm -Wl,--rpath -Wl,/usr/local/lib
../support/.libs/libgnomesupport.so -lm -L/usr/local/lib -lesd -lm -ldb
-L/usr/local/lib -lglib -ldl -lm
.libs/libgnome.so: undefined reference to `poptGetContext'
.libs/libgnome.so: undefined reference to `poptGetNextOpt'
.libs/libgnome.so: undefined reference to `poptReadDefaultConfig'
make[2]: *** [gnome-dump-metadata] Error 1
make[2]: Leaving directory `/usr/src/gnome/gnome-libs/libgnome'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gnome/gnome-libs'
make: *** [all-recursive-am] Error 2

is it not picking up my popt.h in /usr/local/include? 
where am I going wrong?

thanks in advance :)


PS what is popt anyway?

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