Hello,
I am trying to compil the svn version for my ar7 router (D-Link DSL-G664T) but it fails:
/usr/src/CVS/trunk/openwrt/staging_dir_mipsel/bin/mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/src/CVS/trunk/openwrt/staging_dir_mipsel/usr/include -I../../src/include -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wp,-MD,.deps/text2atm.pp -c text2atm.c -fPIC -DPIC -o .libs/text2atm.lo
In file included from ../../src/include/atm.h:11,
from text2atm.c:15:
/usr/src/CVS/trunk/openwrt/staging_dir_mipsel/lib/gcc/mipsel-linux-uclibc/3.4.4/../../../../mipsel-linux-uclibc/sys-include/linux/atm.h:211: error: parse error before "uint32_t"
/usr/src/CVS/trunk/openwrt/staging_dir_mipsel/lib/gcc/mipsel-linux-uclibc/3.4.4/../../../../mipsel-linux-uclibc/sys-include/linux/atm.h:213: error: parse error before '}' token
/usr/src/CVS/trunk/openwrt/staging_dir_mipsel/lib/gcc/mipsel-linux-uclibc/3.4.4/../../../../mipsel-linux-uclibc/sys-include/linux/atm.h:217: error: parameter `addr' has incomplete type
In file included from text2atm.c:16:
../../src/include/atmsap.h:43: error: parse error before "uint8_t"
../../src/include/atmsap.h:43: warning: function declaration isn't a prototype
text2atm.c: In function `do_try_nsap':
text2atm.c:97: error: dereferencing pointer to incomplete type
text2atm.c:98: error: dereferencing pointer to incomplete type
text2atm.c:99: error: dereferencing pointer to incomplete type
text2atm.c:104: error: dereferencing pointer to incomplete type
text2atm.c:105: error: dereferencing pointer to incomplete type
text2atm.c:109: error: dereferencing pointer to incomplete type
text2atm.c:119: error: dereferencing pointer to incomplete type
text2atm.c:120: error: dereferencing pointer to incomplete type
text2atm.c:132: error: dereferencing pointer to incomplete type
text2atm.c:143: error: dereferencing pointer to incomplete type
text2atm.c: In function `try_nsap':
text2atm.c:155: error: dereferencing pointer to incomplete type
text2atm.c:156: error: dereferencing pointer to incomplete type
text2atm.c: In function `try_e164':
text2atm.c:169: error: dereferencing pointer to incomplete type
text2atm.c:178: error: dereferencing pointer to incomplete type
text2atm.c:179: error: dereferencing pointer to incomplete type
text2atm.c:188: error: dereferencing pointer to incomplete type
text2atm.c: In function `text2atm':
text2atm.c:237: error: invalid application of `sizeof' to incomplete type `sockaddr_atmsvc'
make[8]: *** [text2atm.lo] Error 1
make[8]: Leaving directory `/usr/src/CVS/trunk/openwrt/build_mipsel/linux-atm-2.4.1/src/lib'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory `/usr/src/CVS/trunk/openwrt/build_mipsel/linux-atm-2.4.1/src'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/usr/src/CVS/trunk/openwrt/build_mipsel/linux-atm-2.4.1'
make[5]: *** [all-recursive-am] Error 2
make[5]: Leaving directory `/usr/src/CVS/trunk/openwrt/build_mipsel/linux-atm-2.4.1'
make[4]: *** [/usr/src/CVS/trunk/openwrt/build_mipsel/linux-atm-2.4.1/.built] Error 2
make[4]: Leaving directory `/usr/src/CVS/trunk/openwrt/package/linux-atm'
make[3]: *** [compile] Error 2
make[3]: Leaving directory `/usr/src/CVS/trunk/openwrt/package/linux-atm'
make[2]: *** [linux-atm-compile] Error 2
make[2]: Leaving directory `/usr/src/CVS/trunk/openwrt/package'
make[1]: *** [package/compile] Error 2
make[1]: Leaving directory `/usr/src/CVS/trunk/openwrt'
make: *** [world] Error 2
Any idea on how to fix it ?