[plt-scheme] compile-time error for mzscheme plt from svn / Solaris 10
I recently added a `configure' test for getaddrinfo(). When it's not
present, functions like gethostbyname() and hstrerror() are used
instead of getaddrinfo() and gai_strerror(). (Before the IPv6 changes,
MzScheme used gethostbyname() but not hstrerror().)
So, can you send me your "config.log"? On my Solaris test, I configure
says
"checking for getaddrinfo... yes"
but I'm guessing that yours will have "no", and I'd like to look for
clues in "config.log".
Thanks,
Matthew
At Mon, 2 Jan 2006 13:42:35 -0800 (PST), Danny Yoo wrote:
> Hi everyone,
>
>
> Has anyone else run into a compile-time error while building mzscheme from
> svn trunk? I'm seeing the following on my Solaris box while compiling the
> software:
>
> ######
> gmake[3]: Leaving directory `/export/home/dyoo/local/plt/src/mzscheme'
> gmake[2]: Leaving directory `/export/home/dyoo/local/plt/src/mzscheme'
> gmake mzscheme
> gmake[2]: Entering directory `/export/home/dyoo/local/plt/src/mzscheme'
> gcc -g -O2 -Wall -I. -I./include -c ./main.c -o main.o
> gcc -o mzscheme main.o libmzscheme.a libmzgc.a -ldl -lm -lsocket -lnsl
> -lintl
> Undefined first referenced
> symbol in file
> hstrerror libmzscheme.a(network.o)
> ld: fatal: Symbol referencing errors. No output written to mzscheme
> collect2: ld returned 1 exit status
> ######
>
> Manually kluding in '-lresolv' to the Makefile appears to fix the problem
> for me, but I'm not familiar enough with the build system to know exactly
> what the proper fix is. Thanks!
>
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme