Mail Archives: cygwin/1997/08/29/02:16:01
This may be a stupid question.. but here.
gcc -o test test.c test.o -luser32 -lwsock32 -lgdi32 -lshell32
-Wl,--subsystem,windows
test.c: In function `listenfor':
test.c:133: warning: assignment makes pointer from integer without a cast
//d/gnuwin32/b18/H-i386-cygwin32/i386-cygwin32/bin/ld.exe: warning: cannot
find
entry symbol _WinMainCRTStartup; defaulting to 00401000
C:\WINDOWS\TEMP\cc0010001.o(.text+0x5b2):test.c: undefined reference to
`Shell_N
otifyIconA'
GCC.EXE: Internal compiler error: program ld got fatal signal 1
Shell_NotifyIconA is obviously a symbol in libshell32.a
gcc -o ddetest dde.c -luser32
dde.c: In function `main':
dde.c:86: warning: assignment makes pointer from integer without a cast
dde.c:87: warning: assignment makes pointer from integer without a cast
dde.c:90: warning: assignment makes pointer from integer without a cast
C:\WINDOWS\TEMP\cc0010001.o(.text+0x218):dde.c: undefined reference to
`DdeClientTransaction'
GCC.EXE: Internal compiler error: program ld got fatal signal 1
DdeClientTransaction is obviously a symbol in libuser32.a
Why are these not working at all?
-----
Lucas Madar / darkrot
IRC Administrator, hebron.in.us.dal.net
email: madar AT lightlink DOT com / darkrot AT dal DOT net whois: LM1691
Warning labels thwart the process of natural selection.
If at first you don't succeed, well that's pretty much it for skydiving.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -