public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Broken libraries?
@ 1997-08-25  6:51 Lucas Madar
  0 siblings, 0 replies; only message in thread
From: Lucas Madar @ 1997-08-25  6:51 UTC (permalink / raw)
  To: gnu-win32

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".

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-08-25  6:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-08-25  6:51 Broken libraries? Lucas Madar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).