delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/08/29/02:16:01

From: madar AT lightlink DOT com (Lucas Madar)
Subject: Broken libraries?
29 Aug 1997 02:16:01 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <3.0.2.32.19970825065017.00846760.cygnus.gnu-win32@light.lightlink.com>
Mime-Version: 1.0
X-Sender: madar AT light DOT lightlink DOT com
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.2 (32)
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019