From: "Holger Ziegler" <Holger@Jeropia.de>
Subject: Link Problem
Date: Mon, 17 May 2004 22:40:19 +0200
Date: 2004-05-17T22:40:19+02:00 [thread overview]
Message-ID: <40a9231e$0$8417$a0ced6e1@news.skynet.be> (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
next reply other threads:[~2004-05-17 20:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-17 20:40 Holger Ziegler [this message]
2004-05-17 21:24 ` Link Problem tmoran
2004-05-18 1:17 ` Steve
2004-05-18 8:14 ` Holger Ziegler
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox