Re: linker error - undefined functions

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On 17 Dez., 20:12, "Drew" <d...@xxxxxxx> wrote:
"bernd" <bernd.schuste...@xxxxxxxxxxxxxx> wrote in message

news:45e0cc27-002c-4166-aac0-4d1326b580f8@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Hi,

Building an WCE application, I have a lot of linker errors (winsocket
funkctions like WSAStartup are undefined).

I have add the path to the WSock23.lib under the project settings >
linker > general > Additional Library Directories - but no success
after generating the Build > Sysgen... The path itself doesn`t include
any blanks...

Since you don't say which version of VS you're using I'm assuming VS200x so
that should be Ws2_32.lib under Project>Properties>Linker>Input>Additional
Dependencies.

Drew

I`m using VS2005 - and is it correct only to add ws2_32.lib in the
additional dependencies or the whole path to the folder containing
this lib-file?
.



Relevant Pages

  • Re: linker error - undefined functions
    ... funkctions like WSAStartup are undefined). ... linker> general> Additional Library Directories - but no success ...
    (microsoft.public.vstudio.general)
  • Re: WSAStartup()
    ... I added ws2.lib as an Additional Dependency for the linker and all now ... compiles, links and runs on my eBox fine, even though it does nothing). ... unresolved external symbol _WSAStartup referenced ...
    (microsoft.public.windowsce.platbuilder)
  • Re: gethostbyname problem
    ... I tried with only one WSAStartup API, but still no success. ... WSADATA wsaData; ...
    (microsoft.public.pocketpc.developer)
  • Re: Suppress Linking with Default System Libs?
    ... Is there any way to suppress the linker from looking at the default paths? ... Only search library directories explicitly specified on the ... (including linker scripts specified on the command line) ...
    (comp.os.linux.development.apps)
  • Re: Suppress Linking with Default System Libs?
    ... Is there any way to suppress the linker from looking at the default paths? ... Only search library directories explicitly specified on the ... (including linker scripts specified on the command line) ...
    (comp.os.linux.development.apps)