Re: problem compiling s48 on x86_64 Linux
Michael Sperber <[email protected]>
| Newsgroups | gmane.lisp.scheme.scheme48 |
|---|---|
| Message-ID | <[email protected]> |
Anh Hai Trinh <[email protected]> writes: > I am compiling on archlinux, here's the output of make. > > <<< make > gcc -c -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ > -DS48_HOST_ARCHITECTURE=\"x86_64-unknown-linux-gnu\" -I ./c -I./c > -I./c/bibop -g -O2 -pthread -o c/unix/socket.o c/unix/socket.c > c/unix/socket.c: In function 'gethostbyname_thread': > c/unix/socket.c:354: error: 'struct hostent' has no member named 'h_addr' > c/unix/socket.c: In function 's48_get_host_by_name': > c/unix/socket.c:385: error: 'struct hostent' has no member named 'h_addr' > make: exit 2 > make: *** [c/unix/socket.o] Error 1 Try compiling via make CPPFLAGS=-D_GNU_SOURCE -- Cheers =8-} Mike Friede, Völkerverständigung und überhaupt blabla