bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: collect2: problem with "undefined reference" while linking


From: Conrad Scott
Subject: Re: collect2: problem with "undefined reference" while linking
Date: Thu, 8 Aug 2002 17:42:44 +0100

"Helmut Dipper" <address@hidden> 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.

First comment: try the cygwin mailing list for queries like this:
address@hidden  See http://cygwin.com/lists.html for more
information.

> I have no idea how to resolve the "undefined reference".
[snip]
> 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
[snip]

My only suggestion is to leave out the -LC:/WIN_NT_system32.  I
can't see why you should need it and I can only imagine it'll
cause problems.

// Conrad






reply via email to

[Prev in Thread] Current Thread [Next in Thread]