delorie.com/archives/browse.cgi | search |
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 |
Message-ID: | <156365A4C22CD411A8EA00508BCFA79201736251@valynex00> |
From: | David Cullen <David DOT Cullen AT COM-NETERICSSON DOT COM> |
To: | "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com> |
Subject: | _impure_ptr |
Date: | Wed, 28 Mar 2001 10:40:25 -0500 |
MIME-Version: | 1.0 |
X-Mailer: | Internet Mail Service (5.5.2653.19) |
Here are my build commands: gcc -v -mno-cygwin -I/usr/i686-cygwin/include/mingw32 xlate.c gcc -v -mno-cygwin -L/usr/i686-cygwin/lib/libmingw32.a -o xlate.exe xlate.o Here are my errors: Compiling xlate.c Reading specs from /usr/lib/gcc-lib/i686-cygwin/2.9-cygwin-990830/specs gcc version 2.9-cygwin-990830 /usr/lib/gcc-lib/i686-cygwin/2.9-cygwin-990830/cpp.exe -lang-c -v -I/usr/i686-cygwin/include/mingw32 -undef -D__GNUC__= 2 -D__GNUC_MINOR__=9 -Di386 -D_WIN32 -DWINNT -D_X86_=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) -D__cdecl=_ _attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) -D__i386__ -D_WIN32 -D__WINNT__ -D_X86_=1 -D__STDC__=1 -D__ stdcall=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) -D__i386 -D __WINNT -Asystem(winnt) -Acpu(i386) -Amachine(i386) -remap -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di686 -Dpentiumpro -D__i686 -D__i686__ -D__pentiumpro -D__pentiumpro__ -iwithprefixbefore include/mingw32 -D__MINGW32__=0.2 x late.c C:\Cygwin\tmp/ccQDbSic.i GNU CPP version 2.9-cygwin-990830 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: /usr/i686-cygwin/include/mingw32 /usr/include /usr/lib/gcc-lib/i686-cygwin/2.9-cygwin-990830/../../../../i686-cygwin/inclu de /usr/lib/gcc-lib/i686-cygwin/2.9-cygwin-990830/include /usr/include End of search list. The following default directories have been omitted from the search path: /usr/lib/gcc-lib/i686-cygwin/2.9-cygwin-990830/../../../../include/g++-2 End of omitted list. /usr/lib/gcc-lib/i686-cygwin/2.9-cygwin-990830/cc1.exe C:\Cygwin\tmp/ccQDbSic.i -quiet -dumpbase xlate.c -mno-cygwin -v ersion -o C:\Cygwin\tmp/cc0oe4Ip.s GNU C version 2.9-cygwin-990830 (i686-cygwin) compiled by GNU C version 2.9-cygwin-990830. /usr/lib/gcc-lib/i686-cygwin/2.9-cygwin-990830/../../../../i686-cygwin/bin/a s.exe -o C:\Cygwin\tmp/ccGyN68I.o C:\Cygwin \tmp/cc0oe4Ip.s /usr/lib/gcc-lib/i686-cygwin/2.9-cygwin-990830/collect2.exe /usr/lib/gcc-lib/i686-cygwin/2.9-cygwin-990830/../../../../ i686-cygwin/lib/crt1.o -L/usr/lib/gcc-lib/i686-cygwin/2.9-cygwin-990830 -L/usr/lib/gcc-lib/i686-cygwin/2.9-cygwin-990830 /../../../../i686-cygwin/lib -L/usr/lib/gcc-lib/i686-cygwin/2.9-cygwin-990830/../../.. C:\Cygwin\tmp/ccGyN68I.o -lgcc -l mingw32 -lmoldname -lcrtdll -lkernel32 -ladvapi32 -lshell32 -lgcc Linking xlate.o Reading specs from /usr/lib/gcc-lib/i686-cygwin/2.9-cygwin-990830/specs gcc version 2.9-cygwin-990830 /usr/lib/gcc-lib/i686-cygwin/2.9-cygwin-990830/collect2.exe -o xlate.exe /usr/lib/gcc-lib/i686-cygwin/2.9-cygwin-990830 /../../../../i686-cygwin/lib/crt1.o -L/usr/i686-cygwin/lib/libmingw32.a -L/usr/lib/gcc-lib/i686-cygwin/2.9-cygwin-990830 -L/usr/lib/gcc-lib/i686-cygwin/2.9-cygwin-990830/../../../../i686-cygwin/lib -L/usr/lib/gcc-lib/i686-cygwin/2.9-cygwin- 990830/../../.. xlate.o -lgcc -lmingw32 -lmoldname -lcrtdll -lkernel32 -ladvapi32 -lshell32 -lgcc xlate.o(.text+0xea):xlate.c: undefined reference to `_impure_ptr' xlate.o(.text+0x13b):xlate.c: undefined reference to `_impure_ptr' xlate.o(.text+0x233):xlate.c: undefined reference to `_impure_ptr' xlate.o(.text+0x2b8):xlate.c: undefined reference to `_impure_ptr' collect2: ld returned 1 exit status Done Why am I getting "undefined reference to `_impure_ptr'"? Thank you, David Cullen -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |