[Chilli] New Post: Need help on Coova-chilli compilation with uclibc

prasad tbs tbsprasad9 at gmail.com
Tue Jul 23 06:07:07 UTC 2013


Hi,

I am new user working on coova-chilli.
I would like to compile the Coova-chilli source code with uclibc toolchain.
But, i am facing errors while doing "make".

See error logs below:

prasad at Desktop:~/Desktop/capitol_dvlp/coova_chilli$ make
-------------------------------------------------------------------
-------------------------------------------------------------------
mv -f .deps/chksum.Tpo .deps/chksum.Plo
/bin/sh ../libtool --tag=CC --mode=compile
/opt/toolchains/uclibc-crosstools-gcc-4.4.2-1/usr/bin/mips-linux-gcc
-DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -Wall -Werror -fno-builtin
-fno-strict-aliasing -O2 -fomit-frame-pointer -funroll-loops -pipe
-I../bstring -DDEFCHILLICONF='"/usr/local/etc/chilli.conf"'
-DDEFPIDFILE='"/usr/local/var/run/chilli.pid"'
-DDEFSTATEDIR='"/usr/local/var/run"' -DSBINDIR='"/usr/local/sbin"' -g -O2
-MT net.lo -MD -MP -MF .deps/net.Tpo -c -o net.lo net.c
libtool: compile:
/opt/toolchains/uclibc-crosstools-gcc-4.4.2-1/usr/bin/mips-linux-gcc
-DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -Wall -Werror -fno-builtin
-fno-strict-aliasing -O2 -fomit-frame-pointer -funroll-loops -pipe
-I../bstring -DDEFCHILLICONF=\"/usr/local/etc/chilli.conf\"
-DDEFPIDFILE=\"/usr/local/var/run/chilli.pid\"
-DDEFSTATEDIR=\"/usr/local/var/run\" -DSBINDIR=\"/usr/local/sbin\" -g -O2
-MT net.lo -MD -MP -MF .deps/net.Tpo -c net.c -fPIC -DPIC -o .libs/net.o
cc1: warnings being treated as errors
net.c: In function 'net_getip6':
net.c:1104: error: implicit declaration of function 'getifaddrs'
net.c:1105: error: dereferencing pointer to incomplete type
net.c:1106: error: dereferencing pointer to incomplete type
net.c:1107: error: dereferencing pointer to incomplete type
net.c:1108: error: dereferencing pointer to incomplete type
net.c:1109: error: dereferencing pointer to incomplete type
net.c:1116: error: implicit declaration of function 'freeifaddrs'
net.c: In function 'net_open_eth':
net.c:1303: error: dereferencing pointer to incomplete type
net.c:1304: error: dereferencing pointer to incomplete type
net.c:1305: error: dereferencing pointer to incomplete type
net.c:1307: error: dereferencing pointer to incomplete type
net.c:1314: error: dereferencing pointer to incomplete type
net.c:1315: error: dereferencing pointer to incomplete type
net.c:1318: error: dereferencing pointer to incomplete type
make[3]: *** [net.lo] Error 1
make[3]: Leaving directory `/home/sai/Desktop/capitol_dvlp/coova_chilli/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/sai/Desktop/capitol_dvlp/coova_chilli/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sai/Desktop/capitol_dvlp/coova_chilli'
make: *** [all] Error 2
prasad at Desktop:~/Desktop/capitol_dvlp/coova_chilli$


So, anyone can help me to sort out the issue at earliest possible.

Thanks,
Prasad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.coova.org/pipermail/chilli/attachments/20130723/94bbc002/attachment.html>


More information about the Chilli mailing list