Open seniskenis opened 9 years ago
Hmmmm, I'm not sure as to if the Raspberry Pi has a 64 bit CPU, Or if there is a 64 bit version of Raspbian. However, This is an issue that I will look into, I will submit a solution soon, Thank you for your post!
git pull and try compiling now, It should work.
Thanks for fast response, no raspberry pi is 32bit armv61 and I doubt that any openwrt supported routers have 64bit cpu's (I guessed that what this project is targeted at...). Now when trying to compile I'm getting another error:
pi@raspberrypi ~/netsukuku $ scons
Configuring... Checking for C library gmp... yes Checking for C header file gmp.h... yes Checking for C header file zlib.h... yes Checking for C library pthread... yes Checking for C library crypto... yes Checking for C header file openssl/pem.h... yes Generating conf/netsukuku.conf from conf/ntk_scons.conf.in
scons: warning: Two different environments were specified for target xmalloc.o,
but they appear to have the same action: $CC -o $TARGET -c $CFLAGS $CCFLAGS $_CCCOMCOM $SOURCES
File "/home/pi/netsukuku/src/SConscript", line 158, in
scons: warning: Two different environments were specified for target log.o,
but they appear to have the same action: $CC -o $TARGET -c $CFLAGS $CCFLAGS $_CCCOMCOM $SOURCES
File "/home/pi/netsukuku/src/SConscript", line 158, in
scons: warning: Two different environments were specified for target misc.o,
but they appear to have the same action: $CC -o $TARGET -c $CFLAGS $CCFLAGS $_CCCOMCOM $SOURCES
File "/home/pi/netsukuku/src/SConscript", line 158, in
scons: warning: Two different environments were specified for target buffer.o,
but they appear to have the same action: $CC -o $TARGET -c $CFLAGS $CCFLAGS $_CCCOMCOM $SOURCES
File "/home/pi/netsukuku/src/SConscript", line 158, in
scons: warning: Two different environments were specified for target endianness.o,
but they appear to have the same action: $CC -o $TARGET -c $CFLAGS $CCFLAGS $_CCCOMCOM $SOURCES
File "/home/pi/netsukuku/src/SConscript", line 158, in
scons: warning: Two different environments were specified for target andns_lib.o,
but they appear to have the same action: $CC -o $TARGET -c $CFLAGS $CCFLAGS $_CCCOMCOM $SOURCES
File "/home/pi/netsukuku/src/SConscript", line 159, in
scons: warning: Two different environments were specified for target andns_net.o,
but they appear to have the same action: $CC -o $TARGET -c $CFLAGS $CCFLAGS $_CCCOMCOM $SOURCES
File "/home/pi/netsukuku/src/SConscript", line 159, in
scons: warning: Two different environments were specified for target crypto.o,
but they appear to have the same action: $CC -o $TARGET -c $CFLAGS $CCFLAGS $_CCCOMCOM $SOURCES
File "/home/pi/netsukuku/src/SConscript", line 159, in
scons: warning: Two different environments were specified for target snsd_cache.o,
but they appear to have the same action: $CC -o $TARGET -c $CFLAGS $CCFLAGS $_CCCOMCOM $SOURCES
File "/home/pi/netsukuku/src/SConscript", line 159, in
scons: warning: Two different environments were specified for target inet.o,
but they appear to have the same action: $CC -o $TARGET -c $CFLAGS $CCFLAGS $_CCCOMCOM $SOURCES
File "/home/pi/netsukuku/src/SConscript", line 159, in
scons: warning: Two different environments were specified for target ll_map.o,
but they appear to have the same action: $CC -o $TARGET -c $CFLAGS $CCFLAGS $_CCCOMCOM $SOURCES
File "/home/pi/netsukuku/src/SConscript", line 159, in
scons: warning: Two different environments were specified for target libnetlink.o,
but they appear to have the same action: $CC -o $TARGET -c $CFLAGS $CCFLAGS $_CCCOMCOM $SOURCES
File "/home/pi/netsukuku/src/SConscript", line 159, in
scons: warning: Two different environments were specified for target err_errno.o,
but they appear to have the same action: $CC -o $TARGET -c $CFLAGS $CCFLAGS $_CCCOMCOM $SOURCES
File "/home/pi/netsukuku/src/SConscript", line 159, in
scons: warning: Two different environments were specified for target xmalloc.o,
but they appear to have the same action: $CC -o $TARGET -c $CFLAGS $CCFLAGS $_CCCOMCOM $SOURCES
File "/home/pi/netsukuku/src/SConscript", line 159, in
scons: warning: Two different environments were specified for target log.o,
but they appear to have the same action: $CC -o $TARGET -c $CFLAGS $CCFLAGS $_CCCOMCOM $SOURCES
File "/home/pi/netsukuku/src/SConscript", line 159, in
scons: warning: Two different environments were specified for target misc.o,
but they appear to have the same action: $CC -o $TARGET -c $CFLAGS $CCFLAGS $_CCCOMCOM $SOURCES
File "/home/pi/netsukuku/src/SConscript", line 159, in
scons: warning: Two different environments were specified for target buffer.o,
but they appear to have the same action: $CC -o $TARGET -c $CFLAGS $CCFLAGS $_CCCOMCOM $SOURCES
File "/home/pi/netsukuku/src/SConscript", line 159, in
scons: warning: Two different environments were specified for target endianness.o,
but they appear to have the same action: $CC -o $TARGET -c $CFLAGS $CCFLAGS $_CCCOMCOM $SOURCES
File "/home/pi/netsukuku/src/SConscript", line 159, in
Ah, Yeah that is interesting, I'll just comment that function for now.
done
You're welcome, and yeah, sorry for the late response.
Hi, I'm trying to compile Netsukuku on a Raspberry Pi 2 (32-bit ARM Cortex-A7). As of todays codebase, I get the following error when running scons
gcc -o src/accept.o -c -g -Wall -Isrc src/accept.c In file included from src/accept.c:32:0: src/inet.h:217:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘inet_sendfile64’
Thanks in advance.
Sorry about that! Try git pull and compiling now, It should work now.
Graziegraziegraziearigatougozaimasu!
Lol, You're welcome, I assume it is working now?
When trying to compile on Raspbian this error occurs:
In file included from src/accept.c:32:0: src/inet.h:212:48: error: unknown type name ‘off64_t’
gcc (Debian 4.6.3-14+rpi1) 4.6.3.
is where a way to enable 64 bit interfaces on ARMv6?