My internet program compiles with no errors, but I get all these undefined references..
8.dh2:Coding/WookieChat> g++ main.cpp
/t/ccskLDZ6.o(.text+0x254c): undefined reference to `gethostbyname(unsigned char const *)'
/t/ccskLDZ6.o(.text+0x25fe): undefined reference to `socket(long, long, long)'
/t/ccskLDZ6.o(.text+0x2676): undefined reference to `setsockopt(long, long, long, void const *, long)'
/t/ccskLDZ6.o(.text+0x2690): undefined reference to `SocketBaseTags(long,...)'
/t/ccskLDZ6.o(.text+0x26e2): undefined reference to `connect(long, sockaddr const *, long)'
/t/ccskLDZ6.o(.text+0x2704): undefined reference to `IoctlSocket(long, unsigned long, char *)'
/t/ccskLDZ6.o(.text+0x271e): undefined reference to `IoctlSocket(long, unsigned long, char *)'
/t/ccskLDZ6.o(.text+0x27a4): undefined reference to `send(long, char const *, long, long)'
/t/ccskLDZ6.o(.text+0x29c0): undefined reference to `send(long, char const *, long, long)'
/t/ccskLDZ6.o(.text+0x2a52): undefined reference to `send(long, char const *, long, long)'
/t/ccskLDZ6.o(.text+0x2ae0): undefined reference to `send(long, char const *, long, long)'
/t/ccskLDZ6.o(.text+0x2b52): undefined reference to `send(long, char const *, long, long)'
/t/ccskLDZ6.o(.text+0x2bde): more undefined references to `send(long, char const *, long, long)' follow
/t/ccskLDZ6.o(.text+0x35d8): undefined reference to `recv(long, char *, long, long)'
/t/ccskLDZ6.o(.text+0x3604): undefined reference to `Errno(void)'
/t/ccskLDZ6.o(.text+0x3646): undefined reference to `shutdown(long, long)'
collect2: ld returned 1 exit status
I'm using GCC 2.95.3 and the MiamiSDK header files that came on the Amiga Developer CD 2.1..
Any ideas on how to fix? I hope I've provided enough information..