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]

Broken libraries?



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@lightlink.com / darkrot@dal.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@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]