Re: Linking Error
- From: "mario semo" <mario_semo@xxxxxxxxxxx>
- Date: Fri, 5 Feb 2010 12:16:30 +0100
Hello,
i never linked a library to a vxw Binary.
maybe you have a compile error since you miss some include (#include ...) for the socket (...) functions.
the libraries (runtime) should already be linked into vxworks itself and the linking process is part of the loading process. when you load your app
code to vxworks, it will resolve external references.
so there is a chance that you see a LOAD error due to unresolved externals (at the target), but never a LINK error (at the host).
so i guess you should check the include statements.
mario.
"vinay kumar" <winay.l@xxxxxxxxx> schrieb im Newsbeitrag news:aa0533da-ad8e-4d0c-a4cd-095e2960cc5a@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi all,
I am using vxworks 5.4 with Tornado 2.1.2 on windows 2000. I
have written simple client-server program. When i compile, i am
getting error of undefined reference to socket(), bind(),sendto(),
recvfrom(). I guess it is linking error(may be sockLib library not
linked), but i am not sure. Is it really linking error? If it is
linking error, which library to link? Where it is stored(I know it can
be linked by giving path in LIBS macro of project facility, but i want
to know the path of that libary/archieve)?
.
- References:
- Linking Error
- From: vinay kumar
- Linking Error
- Prev by Date: USB to Ethernet converter
- Next by Date: VxWorks lkup?
- Previous by thread: Linking Error
- Next by thread: Creation of static library/archieve
- Index(es):
Relevant Pages
|