This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Problem compiling libcfg+
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Thu, 25 Jan 2007 12:26:02 -0000
- Subject: RE: Problem compiling libcfg+
- References: <45B87011.1030604@isoco.com>
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/