OpenWrt Forum Archive

Topic: dhcp-forwarder compile problem

The content of this topic has been archived on 6 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

There is a problem in current CVS and the experimental version compiling dhcp-forwarder. It complains about wanting to  link to dietlibc. Adding one line in the config Makefile fixes this. I haven't tried whether dhcp-forwarder works (yet). But, as a one-liner, I think that it would suffice.
--
Greetings Bertho

Index: package/dhcp-forwarder/Makefile
===================================================================
RCS file: /openwrt/openwrt/package/dhcp-forwarder/Makefile,v
retrieving revision 1.7
diff -u -u -r1.7 Makefile
--- package/dhcp-forwarder/Makefile     19 May 2005 20:54:38 -0000      1.7
+++ package/dhcp-forwarder/Makefile     26 Jun 2005 00:59:04 -0000
@@ -41,6 +41,7 @@
                  --mandir=/usr/share/man \
                  --sbindir=/usr/sbin \
                  --sysconfdir=/etc \
+                 --disable-dietlibc \
                  $(DISABLE_LARGEFILE) \
                  $(DISABLE_NLS) \
        )

Bertho,

this has been fixed in CVS (whiterussian)

Thanks for the patch !

The discussion might have continued from here.