delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Message-ID: | <029f01c23fe2$32aa5e20$6132bc3e@BABEL> |
From: | "Conrad Scott" <Conrad DOT Scott AT dsl DOT pipex DOT com> |
To: | "Helmut Dipper" <helmut DOT dipper AT sicad DOT de> |
Cc: | <cygwin AT cygwin DOT com> |
References: | <3D537CFE DOT 7C869368 AT sicad DOT de> |
Subject: | Re: collect2: problem with "undefined reference" while linking] |
Date: | Fri, 9 Aug 2002 21:20:25 +0100 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mimeole: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
"Helmut Dipper" <helmut DOT dipper AT sicad DOT de> wrote: > when compiling and linking a program consisting of > pure C-sources I get a "undefined reference" out of > libcygwin.a during linking, see protocol attached. > > I have no idea how to resolve the "undefined reference". > > gcc -o scheme -O2 autoload.o bignum.o bool.o char.o cont.o cstring.o debug.o dump.o env.o error.o exception.o feature.o heap.o io.o list.o load.o malloc.o math.o onfork.o prim.o print.o proc.o promise.o read.o special.o stkmem.o string.o symbol.o terminate.o type.o vector.o main.o stab.o -v -LC:/WIN_NT/system32 But you could follow the suggestion I made when you posted this is the gnu bugs mailing list and remove the -LC:/WIN_NT/system32 switch, which (and I've just tested it for you) fixes your problem. HTH? // Conrad -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |