On 25 January 2007 08:54, Luis Rodrigo Aguado wrote:
> Hi all,
>
> I am trying to compile libcfg+
Never heard of it, so this is a WAG...
> ld -shared -o libcfg+.so.0.6.2 ../src/cfg+.o ../src/parse.o
^^^^^^^
> ../src/props.o ../src/cmdline.o ../src/cfgfile.o ../src/shared.o
> ../src/platon/str/strplus.o ../src
> /platon/str/strctype.o ../src/platon/str/strdyn.o
> ../src/platon/str/dynfgets.o
> ../src/cfg+.o:cfg+.c:(.text+0x11): undefined reference to `malloc'
> ../src/cfg+.o:cfg+.c:(.text+0x37): undefined reference to `memset'
[ ... ]
Does using --disable-shared on the configure command help any?
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/