From: Charles_Boatwright AT cisnc DOT canon DOT com ("Boatwright, Charles") Subject: VirtualProtect problem. 7 Mar 1997 16:29:20 -0800 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Original-To: "'gnu-win32 AT cygnus DOT com'" X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.994.63 Original-Sender: owner-gnu-win32 AT cygnus DOT com Hey people, I am aware that this problem may have been beaten to death in recent weeks, however I have not been on the list long, and there is no reference in the archives. Under b17.1, I am getting a strange error when compiling. gcc -O2 -DVERSION='"cygnus-2.7.1"' -I. -I. -I../bfd -I./../bfd -I./../include -g -O -c ./version.c gcc -O2 -g -O -o size size.o -Lcygwin bucomm.o version.o filemode.o -L../bfd -lbfd ../libiberty/libiberty.a c:\usr\lib\gcc-lib\i386-cygwin32/cygnus-2.7.2-961023/libgcc.a(_trampolin e.o): In function `mprotect': /pizza/mushroom/noer/beta17/src/gcc/libgcc2.c(.text+0x67): undefined reference to `VirtualProtect' make: *** [size] Error 1 (note: I added the -Lcygwin) any clues what is going on? Sorry if this is a "beaten" issue, but for my efforts it is not dead. -chuck boatwright - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".