Hi,

>  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

You try to statically link a program or library without the static glibc 
library. On MDK 9.0 you must have the glibc-static-devel package. Add the 
BuildRequires: to your package, only for MDK >= 9.0.

Bye,
Gwenole

Reply via email to