Problems compiling glib 2.27.2 on Solaris 10/x86



I have problems compiling glib 2.27.2 on Solaris 10/x86 and I have problem finding a solution with google because of the undefined symbols. "glib major minor" is not a really precise good search term. :-)

I use GCC 4.5.1 and have set the LIBS variable:

export LIBS="-lsocket -lnsl"

But where do I find major and minor? man major and man minor don't mention the library which contains these calls.


/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -Wall   -o gdbus gdbus-tool.o libgio-2.0.la ../glib/libglib-2.0.la ../gobject/libgobject-2.0.la -lsocket -lnsl
libtool: link: gcc -g -O2 -Wall -o gdbus gdbus-tool.o  ./.libs/libgio-2.0.a /tmp/glib-2.27.2/gobject/.libs/libgobject-2.0.a /tmp/glib-2.27.2/gmodule/.libs/libgmodule-2.0.a -lresolv -lz ../glib/.libs/libglib-2.0.a ../gobject/.libs/libgobject-2.0.a /tmp/glib-2.27.2/gthread/.libs/libgthread-2.0.a -lpthread -lthread /tmp/glib-2.27.2/glib/.libs/libglib-2.0.a -lrt -lsocket -lnsl
Undefined                       first referenced
 symbol                             in file
major                               ./.libs/libgio-2.0.a(gdbusmessage.o)
minor                               ./.libs/libgio-2.0.a(gdbusmessage.o)
ld: fatal: Symbol referencing errors. No output written to gdbus
collect2: ld returned 1 exit status
gmake[4]: *** [gdbus] Error 1
gmake[4]: Leaving directory `/tmp/glib-2.27.2/gio'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/tmp/glib-2.27.2/gio'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/tmp/glib-2.27.2/gio'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/glib-2.27.2'
gmake: *** [all] Error 2



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