|
From: Sam S. <sd...@gn...> - 2005-01-21 16:00:28
|
cannot link with mingw: gcc -mno-cygwin -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DDYNAMIC_FFI -DNO_GETTEXT -I. -x none spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control .o encoding.o pathname.o stream.o socket.o io.o array.o hashtabl.o list.o packag e.o record.o weak.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype .o symbol.o lisparit.o i18n.o foreign.o win32aux.o built.o ari80386.o modules.o libcharset.a libavcall.a libcallback.a -lncurses -luser32 -lws2_32 -lole32 -lol eaut32 -luuid -L/usr/local/libsigsegv-mingw/lib -lsigsegv -o lisp.exe spvw.o(.text+0x2053):spvw.c: undefined reference to `_errno' collect2: ld returned 1 exit status there are no warnings compiling spvw.c is there a way to figure out what is going on? -- Sam Steingold (http://www.podval.org/~sds) running w2k <http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/> <http://www.mideasttruth.com/> <http://www.honestreporting.com> Marriage is the sole cause of divorce. |
|
From: Sam S. <sd...@gn...> - 2005-06-06 22:00:49
|
comment5 socket.d | gctrigger | varbrace > socket.c
gcc -mno-cygwin -I/MinGW/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -I. -c socket.c
In file included from win32.d:69,
from lispbibl.d:2039,
from socket.d:44:
d:/gnu/mingw/include/malloc.h:53:1: warning: "alloca" redefined
In file included from socket.d:44:
lispbibl.d:1121:1: warning: this is the location of the previous definition
In file included from socket.d:44:
lispbibl.d:9640: warning: register used for two global register variables
In file included from d:/gnu/mingw/include/unistd.h:10,
from socket.d:50:
d:/gnu/mingw/include/io.h:278: error: conflicting types for 'clisp_isatty'
win32.d:344: error: previous declaration of 'clisp_isatty' was here
d:/gnu/mingw/include/io.h:278: error: conflicting types for 'clisp_isatty'
win32.d:344: error: previous declaration of 'clisp_isatty' was here
d:/gnu/mingw/include/io.h:279: error: conflicting types for 'clisp_lseek'
win32.d:237: error: previous declaration of 'clisp_lseek' was here
d:/gnu/mingw/include/io.h:279: error: conflicting types for 'clisp_lseek'
win32.d:237: error: previous declaration of 'clisp_lseek' was here
make: *** [socket.o] Error 1
--
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.mideasttruth.com/> <http://www.memri.org/> <http://www.dhimmi.com/>
<http://ffii.org/> <http://www.jihadwatch.org/> <http://www.camera.org>
Heck is a place for people who don't believe in gosh.
|
|
From: Bruno H. <br...@cl...> - 2005-06-07 11:30:53
|
Sam wrote: > comment5 socket.d | gctrigger | varbrace > socket.c > gcc -mno-cygwin -I/MinGW/include -W -Wswitch -Wcomment -Wpointer-arith > -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations > -D_WIN32 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -I. -c socket.c In > file included from win32.d:69, > from lispbibl.d:2039, > from socket.d:44: > d:/gnu/mingw/include/malloc.h:53:1: warning: "alloca" redefined > In file included from socket.d:44: > lispbibl.d:1121:1: warning: this is the location of the previous definition > In file included from socket.d:44: > lispbibl.d:9640: warning: register used for two global register variables > In file included from d:/gnu/mingw/include/unistd.h:10, > from socket.d:50: > d:/gnu/mingw/include/io.h:278: error: conflicting types for 'clisp_isatty' > win32.d:344: error: previous declaration of 'clisp_isatty' was here It might work better now. Bruno |
|
From: Bruno H. <br...@cl...> - 2005-01-21 17:11:24
|
Sam wrote: > spvw.o(.text+0x2053):spvw.c: undefined reference to `_errno' > collect2: ld returned 1 exit status > > there are no warnings compiling spvw.c > is there a way to figure out what is going on? If the problem comes from spvw, you can hunt it by doing "make spvw.s" and looking for errno references there. But the problem can also be related to other libraries, and possibly the use of incompatible ABIs (the famous -ML, -MT, -MD flags). Bruno |
|
From: Sam S. <sd...@gn...> - 2005-01-21 18:50:37
|
> If the problem comes from spvw, you can hunt it by doing "make spvw.s" > and looking for errno references there. thanks! -- Sam Steingold (http://www.podval.org/~sds) running w2k <http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/> <http://www.mideasttruth.com/> <http://www.honestreporting.com> Is there another word for synonym? |