Search:

Type: Posts; User: Holymanus

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    3,133

    right at the end it works and how to add it to...

    right at the end it works
    and how to add it to makefile


    edit: i have it, simply

    gcc $? -o $@ -lws2_32
  2. Replies
    11
    Views
    3,133

    same result like before ...

    same result like before


    C:\Users\Martin\Desktop\C\SEM\SEM\SEM 2. verze>gcc -lws2_32 -o clapp clientapp.c
    C:\Users\Martin\AppData\Local\Temp/ccIDgaaa.o(.text+0x17):clientapp.c: undefined...
  3. Replies
    11
    Views
    3,133

    And if im trying to add this file with ld.exe ...

    And if im trying to add this file with ld.exe



    ld.exe "C:\Program Files\Microsoft SDKs\Windows\v6.0A
    \Lib\Ws2_32.lib"
    ld.exe: warning: cannot find entry symbol _mainCRTStartup; defaulting to...
  4. Replies
    11
    Views
    3,133

    gcc -LC:\Program Files\Microsoft...

    gcc -LC:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib -oSEM.exe tab.o clientapp.o app.o -lWs2_32.lib
    c:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: cannot find -lWs2_32.lib...
  5. Replies
    11
    Views
    3,133

    you mean with parametr -l Ws2_32.lib ?

    you mean with parametr -l Ws2_32.lib ?
  6. Replies
    11
    Views
    3,133

    gcc -oSEM.exe tab.o clientapp.o app.o...

    gcc -oSEM.exe tab.o clientapp.o app.o
    clientapp.o:clientapp.c:(.text+0x17): undefined reference to `WSAStartup@8'
    clientapp.o:clientapp.c:(.text+0x2e): undefined reference to `WSACleanup@0'...
  7. Replies
    11
    Views
    3,133

    #define INITSOCK if (WSAStartup(0x0202, ...

    Hi im solving problem of function of preprocesor, i dont understand why this cant be linked. Im speaking about funciton communication because there seems is the problem



    #include <string.h>...
Results 1 to 7 of 7