delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/05/08:35:19

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
To: cygwin AT cygwin DOT com
Subject: problem with ld in cygwin
Message-ID: <991744470.3b1cd1d617e84@webmail.utoronto.ca>
Date: Tue, 05 Jun 2001 08:34:30 -0400 (EDT)
From: "Michelle J. Wong" <mj DOT wong AT utoronto DOT ca>
MIME-Version: 1.0
User-Agent: IMP/PHP IMAP webmail program 2.2.3

Hi,

I'm trying to compile the modules for metahtml-6.11.01 on cygwin under Windows 
95/98.  I'm not very familiar with teh ld command, but it seems that the 
problem has to do with the line ld -o example.o example.so... the following 
error message results:

ld   -o example.so example.o
ld: warning: cannot find entry symbol _mainCRTStartup; defaulting to 00401000
example.o(.text+0x64):example.c: undefined reference to `sprintf'
example.o(.text+0x6d):example.c: undefined reference to `symbol_intern'
example.o(.text+0x98):example.c: undefined reference to `mhtml_function_package'
example.o(.text+0x9e):example.c: undefined reference to 
`symbol_intern_in_package'
example.o(.text+0xb6):example.c: undefined reference to `symbol_add_value'
example.o(.text+0x125):example.c: undefined reference to `get_positional_arg'
example.o(.text+0x12b):example.c: undefined reference to `mhtml_evaluate_string'
example.o(.text+0x14e):example.c: undefined reference to `regcomp'
example.o(.text+0x156):example.c: undefined reference to `AllPackages'
example.o(.text+0x163):example.c: undefined reference to `AllPackages'
example.o(.text+0x18c):example.c: undefined reference to `symbols_of_package'
example.o(.text+0x21e):example.c: undefined reference to `regexec'
example.o(.text+0x244):example.c: undefined reference to `bprintf_insert'
example.o(.text+0x2b1):example.c: undefined reference to `AllPackages'
example.o(.text+0x2df):example.c: undefined reference to `regfree'
example.o(.text+0x2ee):example.c: undefined reference to `free'
make[1]: *** [example.so] Error 1
make[1]: Leaving directory `/cygdrive/metahtml-6.11.01/modules'
make: *** [modules] Error 2

and from a previous messsage, it seems iI have to link against an import 
library?

Any ideas how I can fix this?

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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