Subject: Broken libraries?
From: [email-masked] (Lucas Madar)

29 Aug 1997 02:16:01 -0700
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: [email-masked]
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.2 (32)
Original-To: [email-masked]
Original-Sender: [email-masked]

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: [email-masked] / [email-masked]	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
"[email-masked]" with one line of text: "help".