C dhcpctl linking error

Sztrepka Pál szpal at szarvas.hu
Sat Dec 15 15:31:36 UTC 2012


Maybe anyone interested in:

- I uninstall previous version of dhcp (whitch is also include bind), 
and install
separately bind-9.6-ESV-R7-P3  and dhcp-4.1-ESV-R7 from source.

- Then I linked my C program so:
gcc -Wall -O2 nnetd.o -ldhcpctl -lomapi -ldst -o nnetd
( strange, but this version not needed the libdns.a and libisc.a )

- Then my executable size is ~800kB, but after stripping only 123kB !!

I think this size is so friendly.. :-)



More information about the dhcp-users mailing list