Hi.
I'm trying to build bind-chroot (bind-chroot-8.3.3-2mdk.src.rpm) with gcc-3.2
but I'm getting:
make[2]: Entering directory
`/home/oden/RPM/BUILD/bind-chroot-8.3.3/src/bin/named'
[snip]
gcc -D_GNU_SOURCE -I../../port/linux/include -I../../include -O3
-fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math
-fno-strength-reduce -c ns_notify.c
(u=${USER-root} d=`pwd` h=`hostname || uname -n` t=`date`; \
sed -e "s|%WHEN%|${t}|" -e "s|%VERSION%|"8.3.3-REL"|" \
-e "s|%WHOANDWHERE%|${u}@${h}:${d}|" \
< version.c > tmp_version.c); sleep 1
gcc -D_GNU_SOURCE -I../../port/linux/include -I../../include -O3
-fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math
-fno-strength-reduce -c tmp_version.c
gcc -D_GNU_SOURCE -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586
-ffast-math -fno-strength-reduce -static -o named db_dump.o db_load.o
db_lookup.o db_save.o db_update.o db_glue.o db_ixfr.o db_sec.o db_tsig.o
ns_parser.o ns_lexer.o ns_parseutil.o ns_ctl.o ns_forw.o ns_init.o ns_main.o
ns_maint.o ns_req.o ns_resp.o ns_stats.o ns_ncache.o ns_xfr.o ns_glue.o
ns_udp.o ns_config.o ns_update.o ns_ixfr.o ns_signal.o ns_sort.o ns_notify.o \
tmp_version.o ../../lib/libbind.a -lc
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
My new spec file is here:
http://d-srv.com/Cooker/SPECS/bind-chroot.spec
I've built it successful on a ML8.2 machine.
--
Regards // Oden Eriksson
Deserve-IT Networks -> http://d-srv.com