Problem compiling libcfg+
krlinasp
krlinasp@yahoo.com.mx
Wed Nov 14 22:41:00 GMT 2007
Hi,
I`m trying to do the same thing, but i don`t found the way that i can
compile this, did you use libtool or did you compile sucessfully the
libcfg?, i hope you can help me thanks.
Dave Korn wrote:
>
> 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/
>
>
>
--
View this message in context: http://www.nabble.com/Problem-compiling-libcfg%2B-tf3096962.html#a13757673
Sent from the Cygwin list mailing list archive at Nabble.com.
--
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/
More information about the Cygwin
mailing list