Skip to content

fails to build on linux #2

@ftoledo

Description

@ftoledo
ragnarok@ragnarok:~/src/ragnarok/ipxnet$ make
g++ -Wall  main.cpp ipxserver.cpp -lSDL_net -o ipxnet
ipxserver.cpp: In function ‘void ackClient(IPaddress)’:
ipxserver.cpp:118:8: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
   Bits result;
        ^~~~~~
/usr/bin/ld: /tmp/cc3HWV3Q.o: referencia sin definir al símbolo 'SDL_GetError'
//usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:9: fallo en las instrucciones para el objetivo 'ipxnet'
make: *** [ipxnet] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions