Hi Jim,
I'm still getting the libfetish/linker error.
I had a chance to reinstall gcc 2.95.2.1 that I built
--with-gnu-ld --with-ld=/usr/local/bin/ld.
Then I tried to build 4.0.41 with either gcc or cc.
The build with cc worked but gcc didn't.
For what it's worth, I had to add LIBS="-lsocket -lnsl"
so that configure would find gethostbyname and some other
functions that exist if both those libs are thrown
together. I don't know whether those functions are
really used, but I thought I'd be sure that they were
available.
Here's what I did with gcc and the error I saw,
probably the same one you identified a couple of
weeks ago.
LIBS="-lsocket -lnsl" ./configure --disable-nls > con.log 2>&1
gmake
------------------------------------------------------
gcc -g -O2 -o chgrp chgrp.o chown-core.o ../lib/libfetish.a -lintl -lgen -lsocket
-lnsl
/usr/ccs/lib/libc.so(opt_data.n)(.data+0xc): multiple definition of `optopt'
../lib/libfetish.a(getopt.o):/home/matthew/Uber/Dev/fileutils-4.0.41/lib/getopt.c:217:
first defined here
/usr/ccs/lib/libc.so(opt_data.n)(.data+0x8): multiple definition of `optind'
../lib/libfetish.a(getopt.o):/home/matthew/Uber/Dev/fileutils-4.0.41/lib/getopt.c:217:
first defined here
/usr/ccs/lib/libc.so(opt_data.n)(.data+0x4): multiple definition of `opterr'
../lib/libfetish.a(getopt.o):/home/matthew/Uber/Dev/fileutils-4.0.41/lib/getopt.c:217:
first defined here
collect2: ld returned 1 exit status
gmake[2]: *** [chgrp] Error 1
gmake[2]: Leaving directory `/home/matthew/Uber/Dev/fileutils-4.0.41/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/matthew/Uber/Dev/fileutils-4.0.41'
gmake: *** [all-recursive-am] Error 2
----------------------------------------------------------
I went ahead and installed the cc version of 4.0.41, and
we'll see how it goes.
Thanks for the help,
Matthew
_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils