delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/25/07:26:25

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <45B87011 DOT 1030604 AT isoco DOT com>
Subject: RE: Problem compiling libcfg+
Date: Thu, 25 Jan 2007 12:26:02 -0000
Message-ID: <031401c7407b$fa267d50$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <45B87011.1030604@isoco.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019