This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

VirtualProtect problem.




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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]