[ENet-discuss] unresolved reference error on linux ubuntu
tsky
tsky at informatik.fh-gelsenkirchen.de
Thu Apr 26 05:44:54 PDT 2007
Hi,
i try to link the libent.a to my project and this error:
/home/tsky/projects/tsky/svn_geve/geve/GeVESuit/GeVELib/ENet.cpp:84:
undefined reference to `enet_deinitialize'
/home/tsky/projects/tsky/svn_geve/geve/GeVESuit/GeVELib/ENet.cpp:67:
undefined reference to `enet_initialize'
/home/tsky/projects/tsky/svn_geve/geve/GeVESuit/GeVELib/ENet.cpp:211:
undefined reference to `enet_host_destroy'
/home/tsky/projects/tsky/svn_geve/geve/GeVESuit/GeVELib/ENet.cpp:189:
undefined reference to `enet_host_create'
/home/tsky/projects/tsky/svn_geve/geve/GeVESuit/GeVELib/ENet.cpp:155:
undefined reference to `enet_packet_destroy'
/home/tsky/projects/tsky/svn_geve/geve/GeVESuit/GeVELib/ENet.cpp:122:
undefined reference to `enet_host_service'
/home/tsky/projects/tsky/svn_geve/geve/GeVESuit/GeVELib/ENetPeerManager.cpp:177:
undefined reference to `enet_address_get_host'
/home/tsky/projects/tsky/svn_geve/geve/GeVESuit/GeVELib/ENetPeerManager.cpp:97:
undefined reference to `enet_address_get_host'
/home/tsky/projects/tsky/svn_geve/geve/GeVESuit/GeVELib/ENetPeerManager.cpp:195:
undefined reference to `enet_peer_disconnect'
/home/tsky/projects/tsky/svn_geve/geve/GeVESuit/GeVELib/ENetPeerManager.cpp:234:
undefined reference to `enet_peer_disconnect'
/home/tsky/projects/tsky/svn_geve/geve/GeVESuit/GeVELib/ENetPeerManager.cpp:215:
undefined reference to `enet_peer_disconnect'
/home/tsky/projects/tsky/svn_geve/geve/GeVESuit/GeVELib/ENetUnreliable.cpp:126:
undefined reference to `enet_host_destroy'
/home/tsky/projects/tsky/svn_geve/geve/GeVESuit/GeVELib/ENetUnreliable.cpp:92:
undefined reference to `enet_host_create'
/home/tsky/projects/tsky/svn_geve/geve/GeVESuit/GeVELib/ENetUnreliable.cpp:251:
undefined reference to `enet_packet_create'
/home/tsky/projects/tsky/svn_geve/geve/GeVESuit/GeVELib/ENetUnreliable.cpp:255:
undefined reference to `enet_host_broadcast'
/home/tsky/projects/tsky/svn_geve/geve/GeVESuit/GeVELib/ENetUnreliable.cpp:259:
undefined reference to `enet_host_flush'
/home/tsky/projects/tsky/svn_geve/geve/GeVESuit/GeVELib/ENetUnreliable.cpp:218:
undefined reference to `enet_packet_destroy'
/home/tsky/projects/tsky/svn_geve/geve/GeVESuit/GeVELib/ENetUnreliable.cpp:204:
undefined reference to `enet_host_service'
:: === Build finished: 18 errors, 11 warnings ===
i added the libenet.a to my linker settings.
I could compile the enet.a out of the box and try too an libenet-xxx.deb
package for my ubuntu-box from debian-servers.
ubuntu 6.10. Codeblocks (3656). gcc 4.1.2 (ubuntu orginal)
Any idea wh the function could not be found ?!?
MfG
Thomas Kollakowsky
--
_______________________________________________
http://www.fh-gelsenkirchen.de
http://www.informatik.fh-gelsenkirchen.de
http://cgr.informatik.fh-gelsenkirchen.de
_______________________________________________
Dipl. Ing. Thomas Kollakowsky
Wissenschaftlicher Mitarbeiter
Digitale Medien - Informatik
Fachhochschule Gelsenkirchen
University of Applied Sciences
Neidenburger Straße 43
D-45877 Gelsenkirchen
Tel.: +49.209.9596.414
Fax.: +49.209.9596.703
________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cubik.org/pipermail/enet-discuss/attachments/20070426/841a1abd/attachment.htm
More information about the ENet-discuss
mailing list