comp.lang.ada
 help / color / mirror / Atom feed
* Link Problem
@ 2004-05-17 20:40 Holger Ziegler
  2004-05-17 21:24 ` tmoran
  2004-05-18  1:17 ` Steve
  0 siblings, 2 replies; 4+ messages in thread
From: Holger Ziegler @ 2004-05-17 20:40 UTC (permalink / raw)


I have a program which uses Win32 libraries. The program compiles and links
without problems using ObjectAda. When using GNAT compiling and binding work
fine, but linking creates the following error messages:
./io_receive.o(.text+0x4635):io_receive.ada: undefined reference to
'WSAStartup@8'
./io_receive.o(.text+0x465c):io_receive.ada: undefined reference to
'htons@4'
./io_receive.o(.text+0x4711):io_receive.ada: undefined reference to
'bind@12'


The process has been invoked with gnatmake io_receive.ada.
The system invokes
compilation: gcc -c -x ada io_receive.ada
binding: gnatbind -x io_receive.ali
linking: gnatlink io_receive.ali

Can someone give me a hint what I'm missing?

----------
Thanks,

Holger

holger at jeropia dot de






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-05-18  8:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-17 20:40 Link Problem Holger Ziegler
2004-05-17 21:24 ` tmoran
2004-05-18  1:17 ` Steve
2004-05-18  8:14   ` Holger Ziegler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox