wwebers / dwr923-dlink Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
Follow you steps give the following error when run make GPL
Output example:
make GPL
for i in dnsmasq iproute iptables-1.4.7 nbtscan ppp pppoe traceroute havp iputils iptaccount ipset-4.2 igmpproxy ;
do
make -C /home/ubuntu/dlink/OG3611_GPL-SRC.v1.4.17.37_20140305/v3_sop/../common/comps/gpl/$i KERNEL_DIR=/home/ubuntu/dlink/OG3611_GPL-SRC.v1.4.17.37_20140305/v3_sop/kernel/linux-2.6.31 CC=arm-linux-gcc LD=arm-linux-ld AR=arm-linux-ar linux;
done;
make[1]: Entering directory '/home/ubuntu/dlink/OG3611_GPL-SRC.v1.4.17.37_20140305/common/comps/gpl/dnsmasq'
make clean
make[2]: Entering directory '/home/ubuntu/dlink/OG3611_GPL-SRC.v1.4.17.37_20140305/common/comps/gpl/dnsmasq'
make -C src/dnsmasq CROSS=arm-linux- COPTS="-DNO_DHCP -DNO_TFTP" clean
make[3]: Entering directory '/home/ubuntu/dlink/OG3611_GPL-SRC.v1.4.17.37_20140305/common/comps/gpl/dnsmasq/src/dnsmasq'
rm -f *~ src/.mo contrib//*~ /~ src/.pot
rm -f src/.o src/dnsmasq.a src/dnsmasq core /core
make[3]: Leaving directory '/home/ubuntu/dlink/OG3611_GPL-SRC.v1.4.17.37_20140305/common/comps/gpl/dnsmasq/src/dnsmasq'
make[2]: Leaving directory '/home/ubuntu/dlink/OG3611_GPL-SRC.v1.4.17.37_20140305/common/comps/gpl/dnsmasq'
cd src/dnsmasq
make linuxinstall CC=arm-linux-gcc CROSS=arm-linux- OS_VER=
TGT_CPU=arm TGT_TOOL=arm-linux-
make[2]: Entering directory '/home/ubuntu/dlink/OG3611_GPL-SRC.v1.4.17.37_20140305/common/comps/gpl/dnsmasq'
make -C src/dnsmasq CROSS=arm-linux- CC=arm-linux-gcc COPTS="-DNO_DHCP -DNO_TFTP" all
make[3]: Entering directory '/home/ubuntu/dlink/OG3611_GPL-SRC.v1.4.17.37_20140305/common/comps/gpl/dnsmasq/src/dnsmasq'
cd src && make
DBUS_MINOR=" echo -DNO_DHCP -DNO_TFTP | ../bld/pkg-wrapper pkg-config --modversion dbus-1 | nawk -F . -- '{ if ($(NF-1)) print \"-DDBUS_MINOR=\"$(NF-1) }'
"
DBUS_CFLAGS="echo -DNO_DHCP -DNO_TFTP | ../bld/pkg-wrapper pkg-config --cflags dbus-1
"
DBUS_LIBS=" echo -DNO_DHCP -DNO_TFTP | ../bld/pkg-wrapper pkg-config --libs dbus-1
"
SUNOS_LIBS=" if uname | grep SunOS 2>&1 >/dev/null; then echo -lsocket -lnsl -lposix4; fi
"
SUNOS_VER=" if uname | grep SunOS 2>&1 >/dev/null; then uname -r | nawk -F . -- '{ print \"-DSUNOS_VER=\"$2 }'; fi
"
-f ../bld/Makefile dnsmasq
make[4]: Entering directory '/home/ubuntu/dlink/OG3611_GPL-SRC.v1.4.17.37_20140305/common/comps/gpl/dnsmasq/src/dnsmasq/src'
arm-linux-gcc -Wall -W -fPIC -O2 -DNO_DHCP -DNO_TFTP -c cache.c
In file included from cache.c:17:
dnsmasq.h:28:25: error: features.h: No such file or directory
dnsmasq.h:32:24: error: sys/types.h: No such file or directory
dnsmasq.h:33:24: error: netinet/in.h: No such file or directory
dnsmasq.h:39:28: error: arpa/nameser.h: No such file or directory
dnsmasq.h:43:20: error: getopt.h: No such file or directory
dnsmasq.h:56:23: error: arpa/inet.h: No such file or directory
dnsmasq.h:57:22: error: sys/stat.h: No such file or directory
dnsmasq.h:58:24: error: sys/socket.h: No such file or directory
dnsmasq.h:59:23: error: sys/ioctl.h: No such file or directory
dnsmasq.h:63:24: error: sys/select.h: No such file or directory
dnsmasq.h:64:22: error: sys/wait.h: No such file or directory
dnsmasq.h:65:22: error: sys/time.h: No such file or directory
dnsmasq.h:66:20: error: sys/un.h: No such file or directory
In file included from /home/ubuntu/dlink/cnstools/arm-linux-le-uclibc-gcc-4.3.3-2010.05/usr/bin/../lib/gcc/arm-unknown-linux-uclibcgnueabi/4.3.3/include-fixed/syslimits.h:7,
from /home/ubuntu/dlink/cnstools/arm-linux-le-uclibc-gcc-4.3.3-2010.05/usr/bin/../lib/gcc/arm-unknown-linux-uclibcgnueabi/4.3.3/include-fixed/limits.h:11,
from dnsmasq.h:67,
from cache.c:17:
/home/ubuntu/dlink/cnstools/arm-linux-le-uclibc-gcc-4.3.3-2010.05/usr/bin/../lib/gcc/arm-unknown-linux-uclibcgnueabi/4.3.3/include-fixed/limits.h:122:61: error: limits.h: No such file or directory
In file included from cache.c:17:
dnsmasq.h:68:20: error: net/if.h: No such file or directory
dnsmasq.h:69:20: error: unistd.h: No such file or directory
dnsmasq.h:70:19: error: stdio.h: No such file or directory
dnsmasq.h:71:20: error: string.h: No such file or directory
dnsmasq.h:72:20: error: stdlib.h: No such file or directory
dnsmasq.h:73:19: error: fcntl.h: No such file or directory
dnsmasq.h:74:19: error: ctype.h: No such file or directory
dnsmasq.h:75:20: error: signal.h: No such file or directory
dnsmasq.h:77:18: error: time.h: No such file or directory
dnsmasq.h:78:19: error: errno.h: No such file or directory
dnsmasq.h:79:17: error: pwd.h: No such file or directory
dnsmasq.h:80:17: error: grp.h: No such file or directory
dnsmasq.h:85:28: error: net/ethernet.h: No such file or directory
dnsmasq.h:87:24: error: net/if_arp.h: No such file or directory
dnsmasq.h:88:30: error: netinet/in_systm.h: No such file or directory
dnsmasq.h:89:24: error: netinet/ip.h: No such file or directory
dnsmasq.h:90:29: error: netinet/ip_icmp.h: No such file or directory
dnsmasq.h:91:21: error: sys/uio.h: No such file or directory
dnsmasq.h:92:20: error: syslog.h: No such file or directory
dnsmasq.h:93:20: error: dirent.h: No such file or directory
dnsmasq.h:99:30: error: linux/capability.h: No such file or directory
In file included from cache.c:17:
dnsmasq.h:102: error: expected ‘)’ before ‘header’
dnsmasq.h:103: error: expected ‘)’ before ‘header’
dnsmasq.h:108:23: error: sys/prctl.h: No such file or directory
dnsmasq.h:190: error: field ‘addr4’ has incomplete type
dnsmasq.h:198: error: field ‘addr’ has incomplete type
dnsmasq.h:204: error: field ‘in’ has incomplete type
dnsmasq.h:204: error: field ‘out’ has incomplete type
dnsmasq.h:204: error: field ‘mask’ has incomplete type
dnsmasq.h:239: error: ‘MAXDNAME’ undeclared here (not in a function)
dnsmasq.h:245: error: expected specifier-qualifier-list before ‘time_t’
dnsmasq.h:283: error: field ‘sa’ has incomplete type
dnsmasq.h:284: error: field ‘in’ has incomplete type
dnsmasq.h:317: error: ‘IF_NAMESIZE’ undeclared here (not in a function)
dnsmasq.h:338: error: field ‘netmask’ has incomplete type
dnsmasq.h:361: error: expected specifier-qualifier-list before ‘time_t’
dnsmasq.h:384: error: expected specifier-qualifier-list before ‘time_t’
dnsmasq.h:405: error: expected specifier-qualifier-list before ‘time_t’
dnsmasq.h:436: error: field ‘addr’ has incomplete type
dnsmasq.h:437: error: expected specifier-qualifier-list before ‘time_t’
dnsmasq.h:471: error: field ‘next_server’ has incomplete type
dnsmasq.h:508: error: field ‘netmask’ has incomplete type
dnsmasq.h:508: error: field ‘broadcast’ has incomplete type
dnsmasq.h:509: error: field ‘local’ has incomplete type
dnsmasq.h:509: error: field ‘router’ has incomplete type
dnsmasq.h:510: error: field ‘start’ has incomplete type
dnsmasq.h:510: error: field ‘end’ has incomplete type
dnsmasq.h:530: error: field ‘ciaddr’ has incomplete type
dnsmasq.h:530: error: field ‘yiaddr’ has incomplete type
dnsmasq.h:530: error: field ‘siaddr’ has incomplete type
dnsmasq.h:530: error: field ‘giaddr’ has incomplete type
dnsmasq.h:536: error: field ‘addr’ has incomplete type
dnsmasq.h:537: error: expected specifier-qualifier-list before ‘time_t’
dnsmasq.h:543: error: expected specifier-qualifier-list before ‘off_t’
dnsmasq.h:551: error: expected specifier-qualifier-list before ‘time_t’
dnsmasq.h:619: error: expected specifier-qualifier-list before ‘pid_t’
dnsmasq.h:655: error: expected declaration specifiers or ‘...’ before ‘time_t’
dnsmasq.h:658: error: expected declaration specifiers or ‘...’ before ‘time_t’
dnsmasq.h:662: error: expected declaration specifiers or ‘...’ before ‘time_t’
dnsmasq.h:664: error: expected declaration specifiers or ‘...’ before ‘time_t’
dnsmasq.h:666: error: expected ‘)’ before ‘now’
dnsmasq.h:670: error: expected ‘)’ before ‘’ token
dnsmasq.h:672: error: expected ‘)’ before ‘’ token
dnsmasq.h:675: error: expected ‘)’ before ‘’ token
dnsmasq.h:676: error: expected ‘)’ before ‘’ token
dnsmasq.h:678: error: expected ‘)’ before ‘’ token
dnsmasq.h:680: error: expected ‘)’ before ‘’ token
dnsmasq.h:682: error: expected declaration specifiers or ‘...’ before ‘time_t’
dnsmasq.h:683: error: expected ‘)’ before ‘’ token
dnsmasq.h:684: error: expected ‘)’ before ‘’ token
dnsmasq.h:699: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘dnsmasq_time’
dnsmasq.h:708: warning: ‘struct iovec’ declared inside parameter list
dnsmasq.h:708: warning: its scope is only this definition or declaration, which is probably not what you want
dnsmasq.h:715: warning: ‘struct passwd’ declared inside parameter list
dnsmasq.h:718: error: expected ‘)’ before ‘’ token
dnsmasq.h:719: error: expected ‘)’ before ‘*’ token
dnsmasq.h:728: error: expected declaration specifiers or ‘...’ before ‘time_t’
dnsmasq.h:729: error: expected declaration specifiers or ‘...’ before ‘time_t’
dnsmasq.h:730: error: expected declaration specifiers or ‘...’ before ‘time_t’
dnsmasq.h:733: error: expected ‘)’ before ‘now’
dnsmasq.h:745: warning: ‘struct ifreq’ declared inside parameter list
dnsmasq.h:751: error: expected ‘)’ before ‘now’
dnsmasq.h:762: error: expected declaration specifiers or ‘...’ before ‘time_t’
dnsmasq.h:776: error: expected ‘)’ before ‘now’
dnsmasq.h:778: error: expected ‘)’ before ‘now’
dnsmasq.h:784: error: expected declaration specifiers or ‘...’ before ‘time_t’
dnsmasq.h:789: error: expected declaration specifiers or ‘...’ before ‘time_t’
dnsmasq.h:791: error: expected ‘)’ before ‘now’
dnsmasq.h:796: error: expected declaration specifiers or ‘...’ before ‘time_t’
dnsmasq.h:802: error: expected ‘)’ before ‘now’
dnsmasq.h:834: error: expected declaration specifiers or ‘...’ before ‘uid_t’
dnsmasq.h:834: error: expected declaration specifiers or ‘...’ before ‘gid_t’
dnsmasq.h:837: error: expected declaration specifiers or ‘...’ before ‘time_t’
cache.c: In function ‘cache_init’:
cache.c:87: error: ‘struct crec’ has no member named ‘flags’
cache.c:88: error: ‘struct crec’ has no member named ‘uid’
cache.c: In function ‘rehash’:
cache.c:130: warning: implicit declaration of function ‘free’
cache.c:130: warning: incompatible implicit declaration of built-in function ‘free’
cache.c: In function ‘cache_hash’:
cache.c:160: error: ‘struct crec’ has no member named ‘flags’
cache.c:162: error: ‘struct crec’ has no member named ‘flags’
cache.c:165: error: ‘struct crec’ has no member named ‘flags’
cache.c:166: error: ‘struct crec’ has no member named ‘flags’
cache.c: In function ‘cache_free’:
cache.c:175: error: ‘struct crec’ has no member named ‘flags’
cache.c:176: error: ‘struct crec’ has no member named ‘flags’
cache.c:177: error: ‘struct crec’ has no member named ‘uid’
cache.c:188: error: ‘struct crec’ has no member named ‘flags’
cache.c:190: error: ‘struct crec’ has no member named ‘name’
cache.c:191: error: ‘struct crec’ has no member named ‘name’
cache.c:192: error: ‘struct crec’ has no member named ‘flags’
cache.c: In function ‘cache_get_name’:
cache.c:224: error: ‘struct crec’ has no member named ‘flags’
cache.c:225: error: ‘struct crec’ has no member named ‘name’
cache.c:226: error: ‘struct crec’ has no member named ‘flags’
cache.c:227: error: ‘struct crec’ has no member named ‘name’
cache.c:229: error: ‘struct crec’ has no member named ‘name’
cache.c: In function ‘is_outdated_cname_pointer’:
cache.c:234: error: ‘struct crec’ has no member named ‘flags’
cache.c:237: error: ‘struct crec’ has no member named ‘addr’
cache.c:237: error: ‘struct crec’ has no member named ‘addr’
cache.c:237: error: ‘struct crec’ has no member named ‘addr
And going to this path: cd /home/ubuntu/dlink/OG3611_GPL-SRC.v1.4.17.37_20140305/common/comps/gpl/dnsmasq/src/dnsmasq/src I only have the following files:
ubuntu@ubuntu-xenial:~/dlink/OG3611_GPL-SRC.v1.4.17.37_20140305/common/comps/gpl/dnsmasq/src/dnsmasq/src$ ls
bpf.c cache.c config.h dbus.c dhcp.c dnsmasq.c dnsmasq.h forward.c helper.c isc.c lease.c log.c netlink.c network.c option.c rfc1035.c rfc2131.c tftp.c util.c
No files like feature.h and others.
Is something dependencies that need to be install first?
Thanks for you help.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.