bug-gnustep
[Top][All Lists]
Advanced

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

GNU Greg fails to build against recent versions of Guile / libc


From: Julian Graham
Subject: GNU Greg fails to build against recent versions of Guile / libc
Date: Sat, 9 Dec 2006 10:59:48 -0500

Hi guys,
 I was unable to build the latest release of Greg (1.4?) from source.
It seems to me that there are three problems, the last of which is
fatal -- some #includes are missing from the source; Greg depends on
some long-deprecated Guile APIs; the Makefiles do not play well with
the libc and ld included in Ubuntu edgy, which is what I'm using.
Full "make" output included below.


Regards,
Julian


(cd Library; make);
make[1]: Entering directory `/home/julian/greg-1.4/Library'
/bin/sh ../libtool --mode=compile gcc   -I/usr/local/include  -g -c greg.c
mkdir .libs
gcc -I/usr/local/include -g -c greg.c  -fPIC -DPIC -o .libs/greg.lo
greg.c: In function 'pty_master':
greg.c:75: warning: incompatible implicit declaration of built-in
function 'strlen'
greg.c:82: warning: incompatible implicit declaration of built-in
function 'strcpy'
greg.c:93: warning: incompatible implicit declaration of built-in
function 'strcpy'
greg.c: In function 'scm_pty_child':
greg.c:196: warning: initialization makes pointer from integer without a cast
greg.c:203: warning: incompatible implicit declaration of built-in
function 'strlen'
greg.c:207: warning: incompatible implicit declaration of built-in
function 'memcpy'
greg.c:270: warning: passing argument 2 of 'scm_string_equal_p' makes
pointer from integer without a cast
greg.c:322: warning: incompatible implicit declaration of built-in
function 'sprintf'
greg.c:323: warning: incompatible implicit declaration of built-in
function 'strlen'
greg.c:332: warning: incompatible implicit declaration of built-in
function 'strcat'
gcc -I/usr/local/include -g -c greg.c -o greg.o >/dev/null 2>&1
mv -f .libs/greg.lo greg.lo
/bin/sh ../libtool --mode=link gcc -g  -lguile -lguile-ltdl -lqthreads
-lpthread -lcrypt -lm -o libgreg.la -rpath /usr/local/lib
-version-info 1:4 -export-dynamic greg.lo
rm -fr .libs/libgreg.la .libs/libgreg.* .libs/libgreg.*
gcc -shared  greg.lo  -lguile -lguile-ltdl -lqthreads -lpthread
-lcrypt -lm -lc  -Wl,-soname -Wl,libgreg.so.1 -o
.libs/libgreg.so.1.0.4
/usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss
mismatches non-TLS reference in greg.lo
/lib/libc.so.6: could not read symbols: Bad value
collect2: ld returned 1 exit status




reply via email to

[Prev in Thread] Current Thread [Next in Thread]