Re: [Dillo-dev] building on AIX, gcc, dillo 0.7.3
On Sun, 1 Feb 2004, Riccardo wrote:
Jorge Arellano Cid wrote:
Some Solaris seem not to have it. :( I decided to replace WAIT_ANY with -1 as in dillo.c; commited.
Please test it on aix and sparc. Use the Jan30 tarball and just replace WAIT_ANY with -1 in:
dpi/downloads.c and dpid/dpid.c
Yes, I checked solaris doc and it says to use (pid_t)-1.
Build stops howewer with: gcc -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -g -O2 -D_REENTRANT -D_THREAD_SAFE -Wall -W -Wno-unused-parameter -Waggregate-return -R/usr/local/lib -L/usr/local/lib -R/usr/lib -L/usr/lib -L/usr/local/lib -lposix4 -o dpid dpi.o dpi_service.o dpi_socket_dir.o dpid.o dpid_common.o main.o misc_new.o -L/usr/local/lib -lglib -lpthread Undefined first referenced symbol in file socket dpid.o accept main.o bind dpid.o listen dpid.o connect dpid.o ld: fatal: Symbol referencing errors. No output written to dpid
this alomst certainly means that -lsocket is not included (maybe -lnsl too). I thought configure should take care of this? It usually does.
I included a check for those. Please download: http://www.dillo.org/test/configure use it in Jan30 tarball and tell us how it goes. Cheers Jorge.- PS: Sorry Riccardo for the duplicated email, my mistake.
participants (1)
-
Jorge Arellano Cid