From: SourceForge.net <no...@so...> - 2004-10-29 13:17:00
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=2828200 By: flokmane A part of my makefile is as follow : MINGW_HOME="C:\Program Files\MinGW" CC=gcc LIBS = -L$(MINGW_HOME)\lib The make did not found the libraries and I have the following error : CftApiWrapper.o(.text+0x2b):CftApiWrapper.c: undefined reference to `strlen' CftApiWrapper.o(.text+0x3d):CftApiWrapper.c: undefined reference to `malloc' .... I'd be very grateful if someone could give me the way to set correctly the path of my libraries ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=286529 |
From: Michael G. <mg...@te...> - 2004-10-29 14:04:34
|
> A part of my makefile is as follow : > > MINGW_HOME="C:\Program Files\MinGW" > CC=gcc > LIBS = -L$(MINGW_HOME)\lib You are not giving the line you use to invoke the linker, therefor the following is guesswork. If you have all your MinGW stuff installed below $MINGW_HOME and if you also did not move around any directories below $MINGW_HOME then there should be no need to add '-L$(MINGW_HOME)\lib' (why not -L$(MINGW_HOME)/lib ?) to you command. > The make did not found the libraries and I have the following error : > CftApiWrapper.o(.text+0x2b):CftApiWrapper.c: undefined reference to `strlen' > CftApiWrapper.o(.text+0x3d):CftApiWrapper.c: undefined reference to `malloc' > .... This definitely looks like you have your libs not in the proper place. Doublecheck wether you messed with moving or merging directories. > I'd be very grateful if someone could give me the way to set correctly the path > of my libraries Adding -L<some path with '/'> should work but is not required for strlen or malloc. Best, Michael -- Vote against SPAM - see http://www.politik-digital.de/spam/ Michael Gerdau email: mg...@te... GPG-keys available on request or at public keyserver |
From: Hendrik S. <ub...@st...> - 2004-10-29 15:22:09
|
Am Freitag, 29. Oktober 2004 16:04 schrieb Michael Gerdau: [...] Are answers in this mailing list forwarded to the forum at sf.net? HS =2D-=20 Mein GPG-Key ist auf meiner Homepage verf=FCgbar: http://www.hendrik-sattle= r.de oder =FCber pgp.net PingoS - Linux-User helfen Schulen: http://www.pingos.org |
From: Earnie B. <ea...@us...> - 2004-10-29 18:00:20
|
Posted on DATE by AUTHOR Hendrik Sattler > Am Freitag, 29. Oktober 2004 16:04 schrieb Michael Gerdau: > [...] > > Are answers in this mailing list forwarded to the forum at sf.net? > I wish. No they are not. Earnie |