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)?
Thanks in advance.
Regards,
Vinaykumar
|
|
0
|
|
|
|
Reply
|
winay.l (5)
|
2/1/2010 5:31:41 PM |
|
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@gmail.com> schrieb im Newsbeitrag
news:aa0533da-ad8e-4d0c-a4cd-095e2960cc5a@o16g2000prh.googlegroups.com...
> 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)?
|
|
0
|
|
|
|
Reply
|
mario_semo (16)
|
2/5/2010 11:16:30 AM
|
|
|
1 Replies
216 Views
(page loaded in 0.051 seconds)
Similiar Articles: Linking error when compiling mex files with Matlab R2008a - comp ...Hello, I have followed the instructions outlined below to install Visual Studio 2008 with as the compiler for mex files: http://www.mathworks.com/su... Linking to zlibstat.lib and still unresolved functions - comp ...I am using MSVC 6.0. In my build settings, i added zlibstat.lib and added zlibstat.lib to the msvc lib directory. But i still get : error LNK2001: unr... LINK : fatal error LNK1104: cannot open file - comp.soft-sys ...Matlab 2010b crashed on me when I was trying to compile a mex file using Visual C++ 2010 Express edition. Now when I try to compile I get the above e... java deployment for web: UnsatisfiedLinkError - comp.soft-sys ...unable to locate component - comp.lang.ruby java deployment for web: UnsatisfiedLinkError - comp.soft-sys ... I have read that this error is caused by JNI being unable to ... libmysql.lib link problem in Visaual C++ - comp.databases.mysql ...I can build a project on XP with visual c++. But on Vista business 64-bit with the current Visual C++ I'm getting this link error. I do have libmysql.... LINK error of 3D Texture mapping - comp.graphics.api.opengl ...Hi, I am maty. Thank you for your reply, every time. This time, I have a LINK problem with 3D Texture mapping. Now, I have to use 3D Texture mapp... Linking a C++ module to MASM ? - comp.lang.asm.x86I am trying to link a C++ module in a MASM code. There is name error as expected. Is there a way to do that ? I tried everything I can with EXTERN, E... gfortran problem linking to DLL - comp.lang.fortranThe command > > gfortran para_main.f90 release\libpara32.dll > > gives this error at the linking stage: > > c:/mingw-4.4.4/bin/../lib/gcc/i686-pc- mingw32/4.4.4 ... function declared, but not defined - comp.lang.cHi, I was declaring a function as extern in one of my module, but I was not declaring it anywhere. I am still not getting any linking error. Is i... Mex File: fatal error LNK1120: 7 unresolved externals - comp.soft ...I am making mex file out of tsnnls_test1.cpp and all relevant headers are included. I am getting linking error. For instance, I can see the funct... Linking error - C / C++Linking error. C / C++ Forums on Bytes. ... Okay, everything seems simple enough but I get the following Link error: CppLinkingError - Programmer's Heaven - Ruby, .NET, C#, C++, PHP ...Free programming files, links, articles, tutorials, source codes, utilities, ASP, .NET, C/C++, .NET, C#, ASP.NET, XML, Visual Basic, Delphi, Java, Pascal, Assembler ... 7/5/2012 6:25:48 AM
|