help-smalltalk
[Top][All Lists]
Advanced

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

[Help-smalltalk] Smalltalk 1.95.4 & cygwin


From: Thomas Link
Subject: [Help-smalltalk] Smalltalk 1.95.4 & cygwin
Date: Thu, 19 Jul 2001 09:25:11 +0200

Hi,

I tried to compile Gnu Smalltalk using the cygwin tool chain. After 
typing "make optimize" I got this error "No rule for target »../lib-
src/library.la«", which is easly to resolve: cd to lib-src; make; cd to 
top dir; type make again. Nevertheless, after a while I ran into this 
problem:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libgst -I../lib-src -fno-inline-
functions -fno-unroll-loops -fno-gcse -g -O2 -c tcp.c  -DPIC -o 
.libs/tcp.lo
mv -f .libs/tcp.lo tcp.o
(cd . && ln -s tcp.o tcp.lo)
/bin/sh ../libtool --mode=link gcc  -fno-inline-functions -fno-unroll-
loops -fno-gcse -g -O2  -o libtcp.la -rpath /usr/local/lib/gnu-
smalltalk -module -no-undefined -release 1.95.4 tcp.lo  -lm  -lreadline 

rm -fr .libs/libtcp.la .libs/libtcp.* .libs/libtcp-1.95.4.*
generating symbol list for `libtcp.la'
test -f .libs/libtcp-1-95-4.dll-ltdll.c || sed -e "/^# \/\* ltdll\.c 
starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e 
d < ../libtool > .libs/libtcp-1-95-4.dll-ltdll.c
 test -f .libs/libtcp-1-95-4.dll-ltdll.o || (cd .libs && gcc -c libtcp-
1-95-4.dll-ltdll.c)
 dlltool --export-all --exclude-symbols 
address@hidden,address@hidden,address@hidden --output-
def .libs/libtcp-1-95-4.dll-def .libs/libtcp-1-95-4.dll-ltdll.o  tcp.o  

 sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < 
.libs/libtcp-1-95-4.dll-def > .libs/libtcp.exp
echo EXPORTS > .libs/libtcp-1-95-4.dll-def
 _lt_hint=1; cat .libs/libtcp.exp | while read symbol; do set dummy 
$symbol; case $# in 2) echo " $2 @ $_lt_hint ; " >> .libs/libtcp-1-95-
4.dll-def;; *) echo " $2 @ $_lt_hint $3 ; " >> .libs/libtcp-1-95-4.dll-
def;; esac; _lt_hint=`expr 1 + $_lt_hint`; done
 test -f .libs/libtcp-1-95-4.dll-ltdll.c || sed -e "/^# \/\* ltdll\.c 
starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e 
d < ../libtool > .libs/libtcp-1-95-4.dll-ltdll.c
 test -f .libs/libtcp-1-95-4.dll-ltdll.o || (cd .libs && gcc -c libtcp-
1-95-4.dll-ltdll.c)
 gcc -Wl,--base-file,.libs/libtcp-1-95-4.dll-base -Wl,--dll -
nostartfiles -Wl,-e,address@hidden -o .libs/libtcp-1-95-4.dll 
.libs/libtcp-1-95-4.dll-ltdll.o  tcp.o   -lreadline 
tcp.o: In function `fullWrite':
/src/smalltalk-1.95.4/tcp/tcp.c:440: undefined reference to 
`setSignalHandler'
collect2: ld returned 1 exit status
make[2]: *** [libtcp.la] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis »/src/smalltalk-
1.95.4/tcp«
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis »/src/smalltalk-
1.95.4«
make: *** [all-recursive-am] Fehler 2

I don't know much about C. Is there an easy to implement solution to 
this problem?

Thanks,
Thomas.




reply via email to

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