After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 633390 - gatomic.c error while compiling glib 2.24.x and 2.26.x
gatomic.c error while compiling glib 2.24.x and 2.26.x
Status: RESOLVED INCOMPLETE
Product: glib
Classification: Platform
Component: general
2.26.x
Other opensolaris
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2010-10-28 18:38 UTC by Alan Pae
Modified: 2010-11-11 00:46 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
config.log after running configure -C (412.69 KB, text/plain)
2010-10-28 18:38 UTC, Alan Pae
Details

Description Alan Pae 2010-10-28 18:38:16 UTC
Created attachment 173426 [details]
config.log after running configure -C

Hi, 

Trying to compile either 2.24.x or 2.26.x of glib results in the following error message.

/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../glib -I../glib -I..  -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DDISABLE_VISIBILITY -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -I/opt/gcc/include -I/opt/epiphany/include -O3 -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -D_PTHREADS  -I/opt/gcc/include -I/opt/epiphany/include -O3 -Wall -MT garray.lo -MD -MP -MF .deps/garray.Tpo -c -o garray.lo garray.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../glib -I../glib -I.. "-DG_LOG_DOMAIN=\"GLib\"" -DG_DISABLE_CAST_CHECKS -DDISABLE_VISIBILITY -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -I/opt/gcc/include -I/opt/epiphany/include -O3 -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -D_PTHREADS -I/opt/gcc/include -I/opt/epiphany/include -O3 -Wall -MT garray.lo -MD -MP -MF .deps/garray.Tpo -c garray.c  -fPIC -DPIC -o .libs/garray.o
mv -f .deps/garray.Tpo .deps/garray.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../glib -I../glib -I..  -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DDISABLE_VISIBILITY -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -I/opt/gcc/include -I/opt/epiphany/include -O3 -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -D_PTHREADS  -I/opt/gcc/include -I/opt/epiphany/include -O3 -Wall -MT gasyncqueue.lo -MD -MP -MF .deps/gasyncqueue.Tpo -c -o gasyncqueue.lo gasyncqueue.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../glib -I../glib -I.. "-DG_LOG_DOMAIN=\"GLib\"" -DG_DISABLE_CAST_CHECKS -DDISABLE_VISIBILITY -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -I/opt/gcc/include -I/opt/epiphany/include -O3 -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -D_PTHREADS -I/opt/gcc/include -I/opt/epiphany/include -O3 -Wall -MT gasyncqueue.lo -MD -MP -MF .deps/gasyncqueue.Tpo -c gasyncqueue.c  -fPIC -DPIC -o .libs/gasyncqueue.o
mv -f .deps/gasyncqueue.Tpo .deps/gasyncqueue.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../glib -I../glib -I..  -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DDISABLE_VISIBILITY -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -I/opt/gcc/include -I/opt/epiphany/include -O3 -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -D_PTHREADS  -I/opt/gcc/include -I/opt/epiphany/include -O3 -Wall -MT gatomic.lo -MD -MP -MF .deps/gatomic.Tpo -c -o gatomic.lo gatomic.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../glib -I../glib -I.. "-DG_LOG_DOMAIN=\"GLib\"" -DG_DISABLE_CAST_CHECKS -DDISABLE_VISIBILITY -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -I/opt/gcc/include -I/opt/epiphany/include -O3 -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -D_PTHREADS -I/opt/gcc/include -I/opt/epiphany/include -O3 -Wall -MT gatomic.lo -MD -MP -MF .deps/gatomic.Tpo -c gatomic.c  -fPIC -DPIC -o .libs/gatomic.o
gatomic.c:885: error: syntax error before '*' token
gatomic.c:885: warning: type defaults to `int' in declaration of `g_atomic_mutex'
gatomic.c:885: warning: data definition has no type or storage class
gatomic.c: In function `g_atomic_int_exchange_and_add':
gatomic.c:906: warning: implicit declaration of function `g_mutex_lock'
gatomic.c:909: warning: implicit declaration of function `g_mutex_unlock'
gatomic.c: In function `_g_atomic_thread_init':
gatomic.c:1155: warning: implicit declaration of function `g_mutex_new'
gatomic.c:1155: warning: assignment makes pointer from integer without a cast
gmake[4]: *** [gatomic.lo] Error 1
gmake[4]: Leaving directory `/build/glib-2.26.0/glib'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/build/glib-2.26.0/glib'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/build/glib-2.26.0/glib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/build/glib-2.26.0'
gmake: *** [all] Error 2

from gatomic.c

#ifdef DEFINE_WITH_MUTEXES
/* We have to use the slow, but safe locking method */
static GMutex *g_atomic_mutex;

The last line is line number 885.

I'm not a programmer so I'm not sure what to do.

Attached is the config.log file

Please suggest a fix.
Comment 1 Tim Mooney 2010-10-29 16:45:20 UTC
I'm seeing the same error when building on x86_64-sun-solaris2.10 with the Sun Workshop 12u1 compiler.  I'm just beginning to look at the issue, but thought I would confirm that it's happening in multiple build environments.
Comment 2 Tim Mooney 2010-10-29 17:18:25 UTC
It's the same issue that Jasper reported in bug # 631353, and his patch for the missing include fixes it.

This issue should be marked as a duplicate of that issue.
Comment 3 Alan Pae 2010-10-29 21:50:31 UTC
Ok, I added the include for gatomic.c and that does fix that issue.  However, several more crop up.  I can close this and open a new ticket if desired but I'll include them here.  This is after running gmake -k so I can hopefully get them all.  It looks like whatever fixes one will fix them all.

Thanks,
alan

gmake[4]: Entering directory `/build/glib-2.26.0/glib'
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o gtester gtester.o libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/gtester gtester.o  -L/usr/sfw/lib ./.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)./.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ./.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ./.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)./.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ./.libs/libglib-2.0.so
__dtrace_glib___quark__new          ./.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/gtester
collect2: ld returned 1 exit status

/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o testing testing.o ../../glib/libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/testing testing.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/testing
collect2: ld returned 1 exit status

libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/option-context option-context.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/option-context

/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o keyfile keyfile.o ../../glib/libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/keyfile keyfile.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/keyfile

/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o fileutils fileutils.o ../../glib/libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/fileutils fileutils.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/fileutils
collect2: ld returned 1 exit status

libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/printf printf.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -lm -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/printf
collect2: ld returned 1 exit status

libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/protocol protocol.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/protocol
collect2: ld returned 1 exit status

libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/rand rand.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -lm -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/rand
collect2: ld returned 1 exit status

libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/strfuncs strfuncs.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -lm -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/strfuncs
collect2: ld returned 1 exit status

libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/string string.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -lm -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/string
collect2: ld returned 1 exit status

libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/markup-parse markup-parse.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/markup-parse
collect2: ld returned 1 exit status

libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/markup-collect markup-collect.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/markup-collect
collect2: ld returned 1 exit status

libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/markup-escape markup-escape.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/markup-escape
collect2: ld returned 1 exit status

libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/markup-subparser markup-subparser.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/markup-subparser

/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o array-test array-test.o ../../glib/libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/array-test array-test.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/array-test

/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o hostutils hostutils.o ../../glib/libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/hostutils hostutils.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/hostutils

/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o gvariant gvariant.o ../../glib/libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/gvariant gvariant.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/gvariant

/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o mem-overflow mem-overflow.o ../../glib/libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/mem-overflow mem-overflow.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/mem-overflow

/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o utils utils.o ../../glib/libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/utils utils.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/utils
collect2: ld returned 1 exit status

libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/regex regex.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/regex
collect2: ld returned 1 exit status

libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/base64 base64.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/base64

/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o sequence sequence.o ../../glib/libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/sequence sequence.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/sequence

/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o scannerapi scannerapi.o ../../glib/libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/scannerapi scannerapi.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/scannerapi

/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o shell shell.o ../../glib/libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/shell shell.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/shell

/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o collate collate.o ../../glib/libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/collate collate.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/collate

/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o utf8-pointer utf8-pointer.o ../../glib/libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/utf8-pointer utf8-pointer.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/utf8-pointer

/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o utf8-validate utf8-validate.o ../../glib/libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/utf8-validate utf8-validate.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/utf8-validate

/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o utf8-misc utf8-misc.o ../../glib/libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/utf8-misc utf8-misc.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/utf8-misc

/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o checksum checksum.o ../../glib/libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/checksum checksum.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/checksum

/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o hash hash.o ../../glib/libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/hash hash.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/hash

/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o date date.o ../../glib/libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/date date.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/date

/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o node node.o ../../glib/libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/node node.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/node
collect2: ld returned 1 exit status

libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/convert convert.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/convert

/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o list list.o ../../glib/libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/list list.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/list

/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o slist slist.o ../../glib/libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/slist slist.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/slist

/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o queue queue.o ../../glib/libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/queue queue.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/queue

/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o tree tree.o ../../glib/libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/tree tree.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/tree

/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o uri uri.o ../../glib/libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/uri uri.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/uri
collect2: ld returned 1 exit status

libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/dir dir.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/dir

/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o pattern pattern.o ../../glib/libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/pattern pattern.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/pattern

/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o logging logging.o ../../glib/libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/logging logging.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/logging

/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o error error.o ../../glib/libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/error error.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/error

/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o bookmarkfile bookmarkfile.o ../../glib/libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/bookmarkfile bookmarkfile.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/bookmarkfile

/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o gdatetime gdatetime.o ../../glib/libglib-2.0.la  
libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/gdatetime gdatetime.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/gdatetime

libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/1bit-mutex 1bit-mutex.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so ../../gthread/.libs/libgthread-2.0.so -lpthread -lthread /build/glib-2.26.0/glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
ld: warning: file /build/glib-2.26.0/glib/.libs/libglib-2.0.so: linked to ../../glib/.libs/libglib-2.0.so: attempted multiple inclusion of file
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/1bit-mutex

/bin/sh ../../libtool  --tag=CC   --mode=link gcc -DTEST_EMULATED_FUTEX -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o 1bit-emufutex 1bit_emufutex-1bit-mutex.o ../../glib/libglib-2.0.la ../../gthread/libgthread-2.0.la ../../gthread/libgthread-2.0.la 
libtool: link: gcc -DTEST_EMULATED_FUTEX -I/opt/gcc/include -O3 -Wall -o .libs/1bit-emufutex 1bit_emufutex-1bit-mutex.o  -L/usr/sfw/lib ../../glib/.libs/libglib-2.0.so ../../gthread/.libs/libgthread-2.0.so -lpthread -lthread /build/glib-2.26.0/glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
ld: warning: file /build/glib-2.26.0/glib/.libs/libglib-2.0.so: linked to ../../glib/.libs/libglib-2.0.so: attempted multiple inclusion of file
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/1bit-emufutex

libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/glib-genmarshal glib-genmarshal.o  -L/usr/sfw/lib ../glib/.libs/libglib-2.0.so ../gthread/.libs/libgthread-2.0.so -lpthread -lthread /build/glib-2.26.0/glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
ld: warning: file /build/glib-2.26.0/glib/.libs/libglib-2.0.so: linked to ../glib/.libs/libglib-2.0.so: attempted multiple inclusion of file
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/glib-genmarshal

libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/glib-compile-schemas gvdb-builder.o glib-compile-schemas.o  -L/usr/sfw/lib ../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/glib-compile-schemas

gcc -I/opt/gcc/include -O3 -Wall -I/opt/gcc/include -O3 -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -D_PTHREADS -L/usr/sfw/lib -R/usr/sfw/lib  ../../gobject/glib-genmarshal.c   -o ../../gobject/glib-genmarshal
../../gobject/glib-genmarshal.c:20:20: config.h: No such file or directory
../../gobject/glib-genmarshal.c:34:18: glib.h: No such file or directory
../../gobject/glib-genmarshal.c:35:26: glib/gprintf.h: No such file or directory
../../gobject/glib-genmarshal.c:50: error: syntax error before "gchar"
../../gobject/glib-genmarshal.c:50: warning: no semicolon at end of struct or union
../../gobject/glib-genmarshal.c:51: error: syntax error before '*' token
../../gobject/glib-genmarshal.c:51: warning: type defaults to `int' in declaration of `sig_name'
../../gobject/glib-genmarshal.c:51: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:52: error: syntax error before '*' token
../../gobject/glib-genmarshal.c:52: warning: type defaults to `int' in declaration of `ctype'
../../gobject/glib-genmarshal.c:52: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:53: error: syntax error before '*' token
../../gobject/glib-genmarshal.c:53: warning: type defaults to `int' in declaration of `getter'
../../gobject/glib-genmarshal.c:53: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:54: error: syntax error before '}' token
../../gobject/glib-genmarshal.c:54: warning: type defaults to `int' in declaration of `InArgument'
../../gobject/glib-genmarshal.c:54: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:57: error: syntax error before "gchar"
../../gobject/glib-genmarshal.c:57: warning: no semicolon at end of struct or union
../../gobject/glib-genmarshal.c:58: error: syntax error before '*' token
../../gobject/glib-genmarshal.c:58: warning: type defaults to `int' in declaration of `sig_name'
../../gobject/glib-genmarshal.c:58: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:59: error: syntax error before '*' token
../../gobject/glib-genmarshal.c:59: warning: type defaults to `int' in declaration of `ctype'
../../gobject/glib-genmarshal.c:59: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:60: error: syntax error before '*' token
../../gobject/glib-genmarshal.c:60: warning: type defaults to `int' in declaration of `setter'
../../gobject/glib-genmarshal.c:60: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:61: error: syntax error before '}' token
../../gobject/glib-genmarshal.c:61: warning: type defaults to `int' in declaration of `OutArgument'
../../gobject/glib-genmarshal.c:61: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:64: error: syntax error before "gchar"
../../gobject/glib-genmarshal.c:64: warning: no semicolon at end of struct or union
../../gobject/glib-genmarshal.c:65: warning: type defaults to `int' in declaration of `rarg'
../../gobject/glib-genmarshal.c:65: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:66: error: syntax error before '*' token
../../gobject/glib-genmarshal.c:66: warning: type defaults to `int' in declaration of `args'
../../gobject/glib-genmarshal.c:66: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:67: error: syntax error before '}' token
../../gobject/glib-genmarshal.c:67: warning: type defaults to `int' in declaration of `Signature'
../../gobject/glib-genmarshal.c:67: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:71: error: syntax error before '*' token
../../gobject/glib-genmarshal.c:73: error: syntax error before '*' token
../../gobject/glib-genmarshal.c:78: error: syntax error before "scanner_config_template"
../../gobject/glib-genmarshal.c:78: warning: type defaults to `int' in declaration of `scanner_config_template'
../../gobject/glib-genmarshal.c:82: warning: initialization makes integer from pointer without a cast
../../gobject/glib-genmarshal.c:86: error: `G_CSET_a_2_z' undeclared here (not in a function)
../../gobject/glib-genmarshal.c:86: error: syntax error before string constant
../../gobject/glib-genmarshal.c:87: warning: excess elements in scalar initializer
../../gobject/glib-genmarshal.c:87: warning: (near initialization for `scanner_config_template')
../../gobject/glib-genmarshal.c:91: error: syntax error before string constant
../../gobject/glib-genmarshal.c:92: warning: excess elements in scalar initializer
../../gobject/glib-genmarshal.c:92: warning: (near initialization for `scanner_config_template')
../../gobject/glib-genmarshal.c:93: warning: excess elements in scalar initializer
../../gobject/glib-genmarshal.c:93: warning: (near initialization for `scanner_config_template')
../../gobject/glib-genmarshal.c:95: error: `FALSE' undeclared here (not in a function)
../../gobject/glib-genmarshal.c:95: warning: excess elements in scalar initializer
../../gobject/glib-genmarshal.c:95: warning: (near initialization for `scanner_config_template')
../../gobject/glib-genmarshal.c:97: error: `TRUE' undeclared here (not in a function)
../../gobject/glib-genmarshal.c:97: warning: excess elements in scalar initializer
../../gobject/glib-genmarshal.c:97: warning: (near initialization for `scanner_config_template')
../../gobject/glib-genmarshal.c:98: warning: excess elements in scalar initializer
../../gobject/glib-genmarshal.c:98: warning: (near initialization for `scanner_config_template')
../../gobject/glib-genmarshal.c:99: warning: excess elements in scalar initializer
../../gobject/glib-genmarshal.c:99: warning: (near initialization for `scanner_config_template')
../../gobject/glib-genmarshal.c:100: warning: excess elements in scalar initializer
../../gobject/glib-genmarshal.c:100: warning: (near initialization for `scanner_config_template')
../../gobject/glib-genmarshal.c:101: warning: excess elements in scalar initializer
../../gobject/glib-genmarshal.c:101: warning: (near initialization for `scanner_config_template')
../../gobject/glib-genmarshal.c:102: warning: excess elements in scalar initializer
../../gobject/glib-genmarshal.c:102: warning: (near initialization for `scanner_config_template')
../../gobject/glib-genmarshal.c:103: warning: excess elements in scalar initializer
../../gobject/glib-genmarshal.c:103: warning: (near initialization for `scanner_config_template')
../../gobject/glib-genmarshal.c:104: warning: excess elements in scalar initializer
../../gobject/glib-genmarshal.c:104: warning: (near initialization for `scanner_config_template')
../../gobject/glib-genmarshal.c:105: warning: excess elements in scalar initializer
../../gobject/glib-genmarshal.c:105: warning: (near initialization for `scanner_config_template')
../../gobject/glib-genmarshal.c:106: warning: excess elements in scalar initializer
../../gobject/glib-genmarshal.c:106: warning: (near initialization for `scanner_config_template')
../../gobject/glib-genmarshal.c:107: warning: excess elements in scalar initializer
../../gobject/glib-genmarshal.c:107: warning: (near initialization for `scanner_config_template')
../../gobject/glib-genmarshal.c:108: warning: excess elements in scalar initializer
../../gobject/glib-genmarshal.c:108: warning: (near initialization for `scanner_config_template')
../../gobject/glib-genmarshal.c:109: warning: excess elements in scalar initializer
../../gobject/glib-genmarshal.c:109: warning: (near initialization for `scanner_config_template')
../../gobject/glib-genmarshal.c:110: warning: excess elements in scalar initializer
../../gobject/glib-genmarshal.c:110: warning: (near initialization for `scanner_config_template')
../../gobject/glib-genmarshal.c:111: warning: excess elements in scalar initializer
../../gobject/glib-genmarshal.c:111: warning: (near initialization for `scanner_config_template')
../../gobject/glib-genmarshal.c:112: warning: excess elements in scalar initializer
../../gobject/glib-genmarshal.c:112: warning: (near initialization for `scanner_config_template')
../../gobject/glib-genmarshal.c:113: warning: excess elements in scalar initializer
../../gobject/glib-genmarshal.c:113: warning: (near initialization for `scanner_config_template')
../../gobject/glib-genmarshal.c:114: warning: excess elements in scalar initializer
../../gobject/glib-genmarshal.c:114: warning: (near initialization for `scanner_config_template')
../../gobject/glib-genmarshal.c:115: warning: excess elements in scalar initializer
../../gobject/glib-genmarshal.c:115: warning: (near initialization for `scanner_config_template')
../../gobject/glib-genmarshal.c:116: warning: excess elements in scalar initializer
../../gobject/glib-genmarshal.c:116: warning: (near initialization for `scanner_config_template')
../../gobject/glib-genmarshal.c:117: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:118: error: syntax error before '*' token
../../gobject/glib-genmarshal.c:118: warning: type defaults to `int' in declaration of `std_marshaller_prefix'
../../gobject/glib-genmarshal.c:118: warning: initialization from incompatible pointer type
../../gobject/glib-genmarshal.c:118: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:119: error: syntax error before '*' token
../../gobject/glib-genmarshal.c:119: warning: type defaults to `int' in declaration of `marshaller_prefix'
../../gobject/glib-genmarshal.c:119: warning: initialization from incompatible pointer type
../../gobject/glib-genmarshal.c:119: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:120: error: syntax error before '*' token
../../gobject/glib-genmarshal.c:120: warning: type defaults to `int' in declaration of `marshallers'
../../gobject/glib-genmarshal.c:120: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:121: error: syntax error before '*' token
../../gobject/glib-genmarshal.c:121: warning: type defaults to `int' in declaration of `fout'
../../gobject/glib-genmarshal.c:121: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:122: error: syntax error before "gen_cheader"
../../gobject/glib-genmarshal.c:122: warning: type defaults to `int' in declaration of `gen_cheader'
../../gobject/glib-genmarshal.c:122: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:123: error: syntax error before "gen_cbody"
../../gobject/glib-genmarshal.c:123: warning: type defaults to `int' in declaration of `gen_cbody'
../../gobject/glib-genmarshal.c:123: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:124: error: syntax error before "gen_internal"
../../gobject/glib-genmarshal.c:124: warning: type defaults to `int' in declaration of `gen_internal'
../../gobject/glib-genmarshal.c:124: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:125: error: syntax error before "skip_ploc"
../../gobject/glib-genmarshal.c:125: warning: type defaults to `int' in declaration of `skip_ploc'
../../gobject/glib-genmarshal.c:125: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:126: error: syntax error before "std_includes"
../../gobject/glib-genmarshal.c:126: warning: type defaults to `int' in declaration of `std_includes'
../../gobject/glib-genmarshal.c:126: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:127: error: syntax error before "exit_status"
../../gobject/glib-genmarshal.c:127: warning: type defaults to `int' in declaration of `exit_status'
../../gobject/glib-genmarshal.c:127: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c: In function `put_marshal_value_getters':
../../gobject/glib-genmarshal.c:134: warning: implicit declaration of function `fputs'
../../gobject/glib-genmarshal.c: At top level:
../../gobject/glib-genmarshal.c:184: error: syntax error before "complete_in_arg"
../../gobject/glib-genmarshal.c:184: error: syntax error before '*' token
../../gobject/glib-genmarshal.c:185: warning: return type defaults to `int'
../../gobject/glib-genmarshal.c: In function `complete_in_arg':
../../gobject/glib-genmarshal.c:186: error: syntax error before "args"
../../gobject/glib-genmarshal.c: At top level:
../../gobject/glib-genmarshal.c:212: error: syntax error before "i"
../../gobject/glib-genmarshal.c:212: warning: type defaults to `int' in declaration of `i'
../../gobject/glib-genmarshal.c:212: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:214: error: syntax error before '!=' token
../../gobject/glib-genmarshal.c:214: warning: type defaults to `int' in declaration of `g_return_val_if_fail'
../../gobject/glib-genmarshal.c:214: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:229: error: syntax error before "complete_out_arg"
../../gobject/glib-genmarshal.c:229: error: syntax error before '*' token
../../gobject/glib-genmarshal.c:230: warning: return type defaults to `int'
../../gobject/glib-genmarshal.c: In function `complete_out_arg':
../../gobject/glib-genmarshal.c:231: error: syntax error before "args"
../../gobject/glib-genmarshal.c: At top level:
../../gobject/glib-genmarshal.c:257: error: syntax error before "i"
../../gobject/glib-genmarshal.c:257: warning: type defaults to `int' in declaration of `i'
../../gobject/glib-genmarshal.c:257: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:259: error: syntax error before '!=' token
../../gobject/glib-genmarshal.c:259: warning: type defaults to `int' in declaration of `g_return_val_if_fail'
../../gobject/glib-genmarshal.c:259: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:273: error: syntax error before '*' token
../../gobject/glib-genmarshal.c:274: warning: type defaults to `int' in declaration of `gchar'
../../gobject/glib-genmarshal.c:274: error: syntax error before '*' token
../../gobject/glib-genmarshal.c:275: warning: return type defaults to `int'
../../gobject/glib-genmarshal.c: In function `pad':
../../gobject/glib-genmarshal.c:277: error: syntax error before '*' token
../../gobject/glib-genmarshal.c:278: error: `gint' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:278: error: (Each undeclared identifier is reported only once
../../gobject/glib-genmarshal.c:278: error: for each function it appears in.)
../../gobject/glib-genmarshal.c:280: error: `string' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:282: error: `buffer' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:283: warning: implicit declaration of function `g_new'
../../gobject/glib-genmarshal.c:283: error: `gchar' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:288: warning: implicit declaration of function `g_free'
../../gobject/glib-genmarshal.c:289: warning: implicit declaration of function `g_strdup_printf'
../../gobject/glib-genmarshal.c:290: warning: implicit declaration of function `g_warning'
../../gobject/glib-genmarshal.c:291: error: `guint' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:291: error: syntax error before "strlen"
../../gobject/glib-genmarshal.c:299: error: `gboolean' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:299: error: syntax error before "done"
../../gobject/glib-genmarshal.c:301: error: `done' undeclared (first use in this function)
../../gobject/glib-genmarshal.c: At top level:
../../gobject/glib-genmarshal.c:308: error: syntax error before '*' token
../../gobject/glib-genmarshal.c:309: error: syntax error before "n_spaces"
../../gobject/glib-genmarshal.c:310: warning: return type defaults to `int'
../../gobject/glib-genmarshal.c: In function `indent':
../../gobject/glib-genmarshal.c:311: error: syntax error before '*' token
../../gobject/glib-genmarshal.c:312: error: syntax error before "blength"
../../gobject/glib-genmarshal.c:314: error: `blength' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:314: error: `n_spaces' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:317: error: `buffer' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:318: error: `gchar' undeclared (first use in this function)
../../gobject/glib-genmarshal.c: At top level:
../../gobject/glib-genmarshal.c:327: warning: type defaults to `int' in declaration of `gchar'
../../gobject/glib-genmarshal.c:327: error: syntax error before '*' token
../../gobject/glib-genmarshal.c: In function `generate_marshal':
../../gobject/glib-genmarshal.c:330: error: `guint' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:330: error: syntax error before "ind"
../../gobject/glib-genmarshal.c:331: error: `GList' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:331: error: `node' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:332: error: `gchar' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:332: error: `tmp' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:332: warning: implicit declaration of function `g_strconcat'
../../gobject/glib-genmarshal.c:332: error: `signame' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:333: error: `gboolean' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:333: error: syntax error before "have_std_marshaller"
../../gobject/glib-genmarshal.c:340: warning: implicit declaration of function `g_hash_table_lookup'
../../gobject/glib-genmarshal.c:349: warning: implicit declaration of function `g_hash_table_insert'
../../gobject/glib-genmarshal.c:356: error: `have_std_marshaller' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:362: warning: implicit declaration of function `g_fprintf'
../../gobject/glib-genmarshal.c:366: error: `ind' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:391: error: `sig' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:393: error: `a' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:393: warning: left-hand operand of comma expression has no effect
../../gobject/glib-genmarshal.c:395: error: `iarg' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:417: warning: left-hand operand of comma expression has no effect
../../gobject/glib-genmarshal.c:443: warning: left-hand operand of comma expression has no effect
../../gobject/glib-genmarshal.c: At top level:
../../gobject/glib-genmarshal.c:465: error: syntax error before '*' token
../../gobject/glib-genmarshal.c: In function `process_signature':
../../gobject/glib-genmarshal.c:467: error: `gchar' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:467: error: `pname' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:467: error: `sname' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:467: error: `tmp' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:467: warning: left-hand operand of comma expression has no effect
../../gobject/glib-genmarshal.c:467: warning: left-hand operand of comma expression has no effect
../../gobject/glib-genmarshal.c:468: error: `GList' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:468: error: `node' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:471: error: `sig' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:479: error: `iarg' undeclared (first use in this function)
../../gobject/glib-genmarshal.c: At top level:
../../gobject/glib-genmarshal.c:535: error: syntax error before '*' token
../../gobject/glib-genmarshal.c:536: warning: type defaults to `int' in declaration of `gchar'
../../gobject/glib-genmarshal.c:536: error: syntax error before '*' token
../../gobject/glib-genmarshal.c:537: warning: return type defaults to `int'
../../gobject/glib-genmarshal.c: In function `new_in_arg':
../../gobject/glib-genmarshal.c:538: error: `iarg' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:538: warning: implicit declaration of function `g_new0'
../../gobject/glib-genmarshal.c:540: warning: implicit declaration of function `g_strdup'
../../gobject/glib-genmarshal.c:540: error: `pname' undeclared (first use in this function)
../../gobject/glib-genmarshal.c: At top level:
../../gobject/glib-genmarshal.c:545: error: syntax error before '*' token
../../gobject/glib-genmarshal.c:546: warning: type defaults to `int' in declaration of `gchar'
../../gobject/glib-genmarshal.c:546: error: syntax error before '*' token
../../gobject/glib-genmarshal.c:547: warning: return type defaults to `int'
../../gobject/glib-genmarshal.c: In function `new_out_arg':
../../gobject/glib-genmarshal.c:548: error: `oarg' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:550: error: `pname' undeclared (first use in this function)
../../gobject/glib-genmarshal.c: At top level:
../../gobject/glib-genmarshal.c:556: error: syntax error before "parse_line"
../../gobject/glib-genmarshal.c:556: error: syntax error before '*' token
../../gobject/glib-genmarshal.c:558: warning: return type defaults to `int'
../../gobject/glib-genmarshal.c: In function `parse_line':
../../gobject/glib-genmarshal.c:560: warning: implicit declaration of function `g_scanner_get_next_token'
../../gobject/glib-genmarshal.c:560: error: `scanner' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:560: error: `G_TOKEN_IDENTIFIER' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:562: error: `sig' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:574: warning: implicit declaration of function `g_list_append'
../../gobject/glib-genmarshal.c:577: warning: implicit declaration of function `g_scanner_peek_next_token'
../../gobject/glib-genmarshal.c:593: error: `G_TOKEN_NONE' undeclared (first use in this function)
../../gobject/glib-genmarshal.c: At top level:
../../gobject/glib-genmarshal.c:597: error: syntax error before "string_key_destroy"
../../gobject/glib-genmarshal.c:597: error: syntax error before "key"
../../gobject/glib-genmarshal.c:600: warning: return type defaults to `int'
../../gobject/glib-genmarshal.c: In function `string_key_destroy':
../../gobject/glib-genmarshal.c:601: error: `key' undeclared (first use in this function)
../../gobject/glib-genmarshal.c: In function `main':
../../gobject/glib-genmarshal.c:610: error: syntax error before '*' token
../../gobject/glib-genmarshal.c: At top level:
../../gobject/glib-genmarshal.c:613: error: syntax error before '*' token
../../gobject/glib-genmarshal.c:613: warning: type defaults to `int' in declaration of `scanner'
../../gobject/glib-genmarshal.c:613: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:614: error: syntax error before '*' token
../../gobject/glib-genmarshal.c:614: warning: type defaults to `int' in declaration of `slist'
../../gobject/glib-genmarshal.c:614: warning: type defaults to `int' in declaration of `files'
../../gobject/glib-genmarshal.c:614: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:615: error: syntax error before "i"
../../gobject/glib-genmarshal.c:615: warning: type defaults to `int' in declaration of `i'
../../gobject/glib-genmarshal.c:615: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:618: error: syntax error before '&' token
../../gobject/glib-genmarshal.c:618: warning: type defaults to `int' in declaration of `parse_args'
../../gobject/glib-genmarshal.c:618: error: conflicting types for 'parse_args'
../../gobject/glib-genmarshal.c:72: error: previous declaration of 'parse_args' was here
../../gobject/glib-genmarshal.c:618: error: conflicting types for 'parse_args'
../../gobject/glib-genmarshal.c:72: error: previous declaration of 'parse_args' was here
../../gobject/glib-genmarshal.c:618: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:629: warning: type defaults to `int' in declaration of `scanner'
../../gobject/glib-genmarshal.c:629: error: conflicting types for 'scanner'
../../gobject/glib-genmarshal.c:613: error: previous declaration of 'scanner' was here
../../gobject/glib-genmarshal.c:629: warning: implicit declaration of function `g_scanner_new'
../../gobject/glib-genmarshal.c:629: error: initializer element is not constant
../../gobject/glib-genmarshal.c:629: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:630: warning: type defaults to `int' in declaration of `fout'
../../gobject/glib-genmarshal.c:630: error: conflicting types for 'fout'
../../gobject/glib-genmarshal.c:121: error: previous definition of 'fout' was here
../../gobject/glib-genmarshal.c:630: error: `stdout' undeclared here (not in a function)
../../gobject/glib-genmarshal.c:630: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:631: warning: type defaults to `int' in declaration of `marshallers'
../../gobject/glib-genmarshal.c:631: error: conflicting types for 'marshallers'
../../gobject/glib-genmarshal.c:120: error: previous definition of 'marshallers' was here
../../gobject/glib-genmarshal.c:631: warning: implicit declaration of function `g_hash_table_new'
../../gobject/glib-genmarshal.c:631: error: `g_str_hash' undeclared here (not in a function)
../../gobject/glib-genmarshal.c:631: error: `g_str_equal' undeclared here (not in a function)
../../gobject/glib-genmarshal.c:631: error: initializer element is not constant
../../gobject/glib-genmarshal.c:631: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:634: error: syntax error before "if"
../../gobject/glib-genmarshal.c:639: warning: type defaults to `int' in declaration of `g_hash_table_insert'
../../gobject/glib-genmarshal.c:639: warning: parameter names (without types) in function declaration
../../gobject/glib-genmarshal.c:639: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:640: error: syntax error before '}' token
../../gobject/glib-genmarshal.c:643: error: syntax error before string constant
../../gobject/glib-genmarshal.c:643: warning: type defaults to `int' in declaration of `g_fprintf'
../../gobject/glib-genmarshal.c:643: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:648: error: syntax error before string constant
../../gobject/glib-genmarshal.c:648: warning: type defaults to `int' in declaration of `g_fprintf'
../../gobject/glib-genmarshal.c:648: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:662: warning: type defaults to `int' in declaration of `slist'
../../gobject/glib-genmarshal.c:662: error: conflicting types for 'slist'
../../gobject/glib-genmarshal.c:614: error: previous declaration of 'slist' was here
../../gobject/glib-genmarshal.c:662: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:662: warning: type defaults to `int' in declaration of `slist'
../../gobject/glib-genmarshal.c:662: error: invalid type argument of `->'
../../gobject/glib-genmarshal.c:662: error: syntax error before ')' token
../../gobject/glib-genmarshal.c:665: warning: type defaults to `int' in declaration of `fd'
../../gobject/glib-genmarshal.c:665: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:684: warning: type defaults to `int' in declaration of `g_scanner_input_file'
../../gobject/glib-genmarshal.c:684: warning: parameter names (without types) in function declaration
../../gobject/glib-genmarshal.c:684: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:689: error: syntax error before "do"
../../gobject/glib-genmarshal.c:706: error: syntax error before '*' token
../../gobject/glib-genmarshal.c:706: warning: type defaults to `int' in declaration of `node'
../../gobject/glib-genmarshal.c:706: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:708: warning: type defaults to `int' in declaration of `expected_token'
../../gobject/glib-genmarshal.c:708: error: `signature' undeclared here (not in a function)
../../gobject/glib-genmarshal.c:708: error: initializer element is not constant
../../gobject/glib-genmarshal.c:708: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:711: error: syntax error before "if"
../../gobject/glib-genmarshal.c:715: error: syntax error before '.' token
../../gobject/glib-genmarshal.c:715: warning: type defaults to `int' in declaration of `g_free'
../../gobject/glib-genmarshal.c:715: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:718: error: syntax error before '.' token
../../gobject/glib-genmarshal.c:718: warning: type defaults to `int' in declaration of `g_free'
../../gobject/glib-genmarshal.c:718: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:719: warning: type defaults to `int' in declaration of `node'
../../gobject/glib-genmarshal.c:719: error: conflicting types for 'node'
../../gobject/glib-genmarshal.c:706: error: previous declaration of 'node' was here
../../gobject/glib-genmarshal.c:719: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:719: warning: type defaults to `int' in declaration of `node'
../../gobject/glib-genmarshal.c:719: error: invalid type argument of `->'
../../gobject/glib-genmarshal.c:719: error: syntax error before ')' token
../../gobject/glib-genmarshal.c:723: error: syntax error before '->' token
../../gobject/glib-genmarshal.c:723: warning: type defaults to `int' in declaration of `g_free'
../../gobject/glib-genmarshal.c:723: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:724: warning: type defaults to `int' in declaration of `g_free'
../../gobject/glib-genmarshal.c:724: warning: parameter names (without types) in function declaration
../../gobject/glib-genmarshal.c:724: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:725: error: syntax error before '}' token
../../gobject/glib-genmarshal.c:726: error: syntax error before '.' token
../../gobject/glib-genmarshal.c:726: warning: type defaults to `int' in declaration of `g_list_free'
../../gobject/glib-genmarshal.c:726: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:739: warning: type defaults to `int' in declaration of `g_scanner_peek_next_token'
../../gobject/glib-genmarshal.c:739: warning: parameter names (without types) in function declaration
../../gobject/glib-genmarshal.c:739: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:740: error: syntax error before '}' token
../../gobject/glib-genmarshal.c:743: warning: type defaults to `int' in declaration of `close'
../../gobject/glib-genmarshal.c:743: warning: parameter names (without types) in function declaration
../../gobject/glib-genmarshal.c:743: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:744: error: syntax error before '}' token
../../gobject/glib-genmarshal.c:754: error: syntax error before string constant
../../gobject/glib-genmarshal.c:754: warning: type defaults to `int' in declaration of `g_fprintf'
../../gobject/glib-genmarshal.c:754: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:757: warning: type defaults to `int' in declaration of `g_slist_free'
../../gobject/glib-genmarshal.c:757: warning: parameter names (without types) in function declaration
../../gobject/glib-genmarshal.c:757: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:758: warning: type defaults to `int' in declaration of `g_scanner_destroy'
../../gobject/glib-genmarshal.c:758: warning: parameter names (without types) in function declaration
../../gobject/glib-genmarshal.c:758: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:759: error: syntax error before numeric constant
../../gobject/glib-genmarshal.c:759: warning: type defaults to `int' in declaration of `g_hash_table_foreach_remove'
../../gobject/glib-genmarshal.c:759: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:760: warning: type defaults to `int' in declaration of `g_hash_table_destroy'
../../gobject/glib-genmarshal.c:760: warning: parameter names (without types) in function declaration
../../gobject/glib-genmarshal.c:760: warning: data definition has no type or storage class
../../gobject/glib-genmarshal.c:762: error: syntax error before "return"
../../gobject/glib-genmarshal.c:766: error: syntax error before '*' token
../../gobject/glib-genmarshal.c:768: error: conflicting types for 'parse_args'
../../gobject/glib-genmarshal.c:618: error: previous declaration of 'parse_args' was here
../../gobject/glib-genmarshal.c:768: error: conflicting types for 'parse_args'
../../gobject/glib-genmarshal.c:618: error: previous declaration of 'parse_args' was here
../../gobject/glib-genmarshal.c: In function `parse_args':
../../gobject/glib-genmarshal.c:769: error: `guint' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:769: error: syntax error before "argc"
../../gobject/glib-genmarshal.c:770: error: `gchar' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:770: error: `argv' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:770: error: `argv_p' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:771: error: syntax error before "i"
../../gobject/glib-genmarshal.c:773: error: `argc' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:808: error: `equal' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:811: warning: assignment makes pointer from integer without a cast
../../gobject/glib-genmarshal.c:814: warning: assignment makes pointer from integer without a cast
../../gobject/glib-genmarshal.c:824: error: `stderr' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:837: error: `GLogLevelFlags' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:837: error: syntax error before "fatal_mask"
../../gobject/glib-genmarshal.c:839: error: `fatal_mask' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:839: warning: implicit declaration of function `g_log_set_always_fatal'
../../gobject/glib-genmarshal.c:839: error: `G_LOG_FATAL_MASK' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:840: error: `G_LOG_LEVEL_WARNING' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:840: error: `G_LOG_LEVEL_CRITICAL' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:847: error: `e' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:862: error: `argc_p' undeclared (first use in this function)
../../gobject/glib-genmarshal.c: At top level:
../../gobject/glib-genmarshal.c:866: error: syntax error before '*' token
../../gobject/glib-genmarshal.c: In function `print_blurb':
../../gobject/glib-genmarshal.c:869: error: `print_help' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:871: error: `bout' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:872: error: `GLIB_MAJOR_VERSION' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:872: error: `GLIB_MINOR_VERSION' undeclared (first use in this function)
../../gobject/glib-genmarshal.c:872: error: `GLIB_MICRO_VERSION' undeclared (first use in this function)
../../gobject/glib-genmarshal.c: At top level:
../../gobject/glib-genmarshal.c:72: warning: 'parse_args' declared `static' but never defined
../../gobject/glib-genmarshal.c:133: warning: 'put_marshal_value_getters' defined but not used
../../gobject/glib-genmarshal.c:466: warning: 'process_signature' defined but not used
../../gobject/glib-genmarshal.c:768: warning: 'parse_args' defined but not used

Ok, I could fix this one by modifying /build/glib-2.26.0/Makefile and hardcoding (top_srcdir) to /build/glib2.26.0
Sun Studio is less verbose on this one.


libtool: link: gcc -g -I/opt/gcc/include -O3 -Wall -o .libs/testglib testglib.o  -L/usr/sfw/lib ../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/testglib

/bin/sh ../libtool  --tag=CC   --mode=link gcc -g -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o testgdate testgdate.o ../glib/libglib-2.0.la 
libtool: link: gcc -g -I/opt/gcc/include -O3 -Wall -o .libs/testgdate testgdate.o  -L/usr/sfw/lib ../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/testgdate

/bin/sh ../libtool  --tag=CC   --mode=link gcc -g -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o testgdateparser testgdateparser.o ../glib/libglib-2.0.la 
libtool: link: gcc -g -I/opt/gcc/include -O3 -Wall -o .libs/testgdateparser testgdateparser.o  -L/usr/sfw/lib ../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/testgdateparser

/bin/sh ../libtool  --tag=CC   --mode=link gcc -g -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o unicode-normalize unicode-normalize.o ../glib/libglib-2.0.la 
libtool: link: gcc -g -I/opt/gcc/include -O3 -Wall -o .libs/unicode-normalize unicode-normalize.o  -L/usr/sfw/lib ../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/unicode-normalize

/bin/sh ../libtool  --tag=CC   --mode=link gcc -g -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o unicode-collate unicode-collate.o  ../glib/libglib-2.0.la  
libtool: link: gcc -g -I/opt/gcc/include -O3 -Wall -o .libs/unicode-collate unicode-collate.o  -L/usr/sfw/lib ../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/unicode-collate

/bin/sh ../libtool  --tag=CC   --mode=link gcc -g -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o timeloop timeloop.o ../glib/libglib-2.0.la 
libtool: link: gcc -g -I/opt/gcc/include -O3 -Wall -o .libs/timeloop timeloop.o  -L/usr/sfw/lib ../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/timeloop


libtool: link: gcc -g -I/opt/gcc/include -O3 -Wall -o .libs/errorcheck-mutex-test errorcheck-mutex-test.o  -L/usr/sfw/lib ../glib/.libs/libglib-2.0.so ../gthread/.libs/libgthread-2.0.so /build/glib-2.26.0/glib/.libs/libglib-2.0.so -lpthread -lthread -R/opt/epiphany/lib -R/usr/sfw/lib
ld: warning: file /build/glib-2.26.0/glib/.libs/libglib-2.0.so: linked to ../glib/.libs/libglib-2.0.so: attempted multiple inclusion of file
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/errorcheck-mutex-test

/bin/sh ../libtool  --tag=CC   --mode=link gcc -g -I/opt/gcc/include -O3 -Wall  -L/usr/sfw/lib -R/usr/sfw/lib -o assert-msg-test assert-msg-test.o ../glib/libglib-2.0.la 
libtool: link: gcc -g -I/opt/gcc/include -O3 -Wall -o .libs/assert-msg-test assert-msg-test.o  -L/usr/sfw/lib ../glib/.libs/libglib-2.0.so -R/opt/epiphany/lib -R/usr/sfw/lib
Undefined			first referenced
 symbol  			    in file
__dtrace_glib___slice(float, long double,...)(...)../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__alloc          ../glib/.libs/libglib-2.0.so
__dtrace_glib___slice__alloc        ../glib/.libs/libglib-2.0.so
__dtrace_glib___mem(float, long double,...)(...)../glib/.libs/libglib-2.0.so
__dtrace_glib___mem__realloc        ../glib/.libs/libglib-2.0.so
__dtrace_glib___quark__new          ../glib/.libs/libglib-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/assert-msg-test
Comment 4 Tim Mooney 2010-10-29 22:28:06 UTC
I ran into dtrace link issues too after fixing the missing include, I ended up reconfiguring with

 --disable-dtrace

After that, I ran into link issues with libgio and eventually gave up.  2.26.0 is much more difficult to build on Solaris than any previous version I've tried.
Comment 5 Alan Pae 2010-10-30 01:16:12 UTC
I'll assume that you mean this one:

libtool: link: gcc -I/opt/gcc/include -O3 -Wall -o .libs/gio-querymodules gio-querymodules.o  -L/usr/sfw/lib ../glib/.libs/libglib-2.0.so ../gobject/.libs/libgobject-2.0.so ../gmodule/.libs/libgmodule-2.0.so ./.libs/libgio-2.0.so /build/glib-2.26.0/gobject/.libs/libgobject-2.0.so /build/glib-2.26.0/gthread/.libs/libgthread-2.0.so -lpthread -lthread /build/glib-2.26.0/gmodule/.libs/libgmodule-2.0.so /build/glib-2.26.0/glib/.libs/libglib-2.0.so -lresolv -lz -R/opt/epiphany/lib -R/usr/sfw/lib
ld: warning: file /build/glib-2.26.0/gobject/.libs/libgobject-2.0.so: linked to ../gobject/.libs/libgobject-2.0.so: attempted multiple inclusion of file
ld: warning: file /build/glib-2.26.0/gmodule/.libs/libgmodule-2.0.so: linked to ../gmodule/.libs/libgmodule-2.0.so: attempted multiple inclusion of file
ld: warning: file /build/glib-2.26.0/glib/.libs/libglib-2.0.so: linked to ../glib/.libs/libglib-2.0.so: attempted multiple inclusion of file
Undefined			first referenced
 symbol  			    in file
major                               ./.libs/libgio-2.0.so
minor                               ./.libs/libgio-2.0.so
ld: fatal: symbol referencing errors. No output written to .libs/gio-querymodules


Same spot.  Same finish.  Thanks for comparing notes.

alan
Comment 6 gnome 2010-11-10 20:20:19 UTC
This patch gets me past this issue... (resulting binaries untested)

--- gio/gdbusmessage.c.orig     2010-11-10 14:02:41.786659900 -0600
+++ gio/gdbusmessage.c  2010-11-10 14:03:53.567042800 -0600
@@ -49,6 +49,9 @@
 
 #ifdef G_OS_UNIX
 #include "gunixfdlist.h"
+#ifdef __sun
+#include <sys/mkdev.h>
+#endif
 #endif
 
 #include "glibintl.h"
Comment 7 Alan Pae 2010-11-11 00:46:07 UTC
Thanks to both of you.  After applying that patch then I ran into:

ld: warning: file /build/glib-2.26.0/glib/.libs/libglib-2.0.so: linked to ../../glib/.libs/libglib-2.0.so: attempted multiple inclusion of file
Undefined			first referenced
 symbol  			    in file
socketpair                          gdbus-peer.o  (symbol belongs to implicit dependency /lib/amd64/libsocket.so.1)
ld: fatal: symbol referencing errors. No output written to .libs/gdbus-peer
collect2: ld returned 1 exit status
gmake[4]: *** [gdbus-peer] Error 1
gmake[4]: Leaving directory `/build/glib-2.26.0/gio/tests'

So,

cd gio/tests and vi Makefile and add:

-lsocket -lnsl -lrt -lresolv to LIBS= , which was empty and then gmake finishes.

gmake check runs for a while and eventually crashes.

TEST: strfuncs... (pid=5281)
  /strfuncs/test-is-to-digit:                                          OK
  /strfuncs/strdup:                                                    OK
  /strfuncs/strndup:                                                   OK
  /strfuncs/strdup-printf:                                             OK
  /strfuncs/strdupv:                                                   OK
  /strfuncs/strnfill:                                                  OK
  /strfuncs/strconcat:                                                 OK
  /strfuncs/strjoin:                                                   OK
  /strfuncs/strcanon:                                                  OK
  /strfuncs/strcompress-strescape:                                     OK
  /strfuncs/ascii-strcasecmp:                                          OK
  /strfuncs/strchug:                                                   OK
  /strfuncs/strchomp:                                                  OK
  /strfuncs/strreverse:                                                OK
  /strfuncs/strstr:                                                    OK
  /strfuncs/has-prefix:                                                OK
  /strfuncs/has-suffix:                                                OK
  /strfuncs/strsplit:                                                  OK
  /strfuncs/strsplit-set:                                              OK
  /strfuncs/strv-length:                                               OK
  /strfuncs/strtod:                                                    
** ERROR **: g_ascii_strtod on "0xa.b" for locale sv_SE failed
expected 10.687500 (nan 0) actual 0.000000 (nan 0)

aborting...
FAIL
GTester: last random seed: R02Sbb8b1dcbeb501c5cc4ef45c93abc6941
/bin/bash: line 1:  5058 Terminated              MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256)) ../../glib/gtester --verbose testing option-context keyfile fileutils printf protocol rand strfuncs string markup-parse markup-collect markup-escape markup-subparser array-test hostutils gvariant mem-overflow utils regex base64 sequence scannerapi shell collate utf8-pointer utf8-validate utf8-misc checksum hash date node convert list slist queue tree uri dir pattern logging error bookmarkfile gdatetime
gmake[4]: *** [test-nonrecursive] Error 143
gmake[4]: Leaving directory `/build/glib-2.26.0/glib/tests'
gmake[3]: *** [check-am] Error 2
gmake[3]: Leaving directory `/build/glib-2.26.0/glib/tests'
gmake[2]: *** [check-recursive] Error 1
gmake[2]: Leaving directory `/build/glib-2.26.0/glib'
gmake[1]: *** [check] Error 2
gmake[1]: Leaving directory `/build/glib-2.26.0/glib'
gmake: *** [check-recursive] Error 1


Getting closer and now at least it does compile.