I'm building for OpenWRT (trunk) for the IXP4xx target.

Attached goes the output for the compile attempt. Maybe I'm missing
something very basic...


On 11 July 2014 17:13, Luigi Rizzo <[email protected]> wrote:

>
>
>
> On Fri, Jul 11, 2014 at 6:07 PM, Carlos Ferreira <[email protected]>
> wrote:
>
>> Luigi one question. Does netmap requires a processor with 64 bits? I'm
>> having some trouble in compiling netmap, using the same Makefile I used
>> previously, but for an Intel IXP435 CPU (Gateworks Cambria).
>>
>
> ​it used to build and work on 32 bit archs but we have not tried that
> there i a while.
> Hopefully it is just a matter of casts in printfs.
>
> which OS and netmap versions are you using ?
> can you send me an error log ?
>
> cheers
> luigi
> ​
>
>>
>>


-- 

Carlos Miguel Ferreira
Researcher at Telecommunications Institute
Aveiro - Portugal
Work E-mail - [email protected]
Skype & GTalk -> [email protected]
LinkedIn -> http://www.linkedin.com/in/carlosmferreira
make ./package/netmap/compile V=99
Collecting package info: done
make[1]: Entering directory '/home/openwrt/Desktop/OpenWRT-Cambria/openwrt'
make[2]: Entering directory 
'/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/package/netmap'
++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++
MAKE              = make
PKG_NAME           = netmap
PKG_VERSION        = HEAD
PKG_BUILD_DIR      = 
/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/netmap
PKG_SOURCE_PROTO   = git
PKG_SOURCE_URL     = https://code.google.com/p/netmap/
PKG_SOURCE         = netmap.tar.gz
PKG_SOURCE_VERSION = HEAD
PKG_SOURCE_SUBDIR  = netmap
MAKE_OPTS          = -C 
/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/linux-ixp4xx_generic/linux-3.10.28
 
PATH=/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/staging_dir/toolchain-armeb_xscale_gcc-4.8-linaro_uClibc-0.9.33.2/bin:/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/staging_dir/host/bin:/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/staging_dir/toolchain-armeb_xscale_gcc-4.8-linaro_uClibc-0.9.33.2/bin:/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/staging_dir/host/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
 DOMULTI=1
EXTRA_CFLAGS       = 
-I/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/netmap/LINUX
 
-I/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/netmap/LINUX/../sys
 
-I/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/netmap/LINUX/../sys/dev
 -DCONFIG_NETMAP -Wno-unused-but-set-variable 
EXTRA_KCONFIG      = 
LINUX_KMOD_SUFFIX  = ko
LINUX_DIR          = 
/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/linux-ixp4xx_generic/linux-3.10.28
LINUX_KARCH        = arm
TARGET_CROSS       = armeb-openwrt-linux-uclibcgnueabi-
PWD                = /home/openwrt/Desktop/OpenWRT-Cambria/openwrt
++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++
mkdir -p 
/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/netmap
tar  
--directory="/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2"
 -zxf /home/openwrt/Desktop/OpenWRT-Cambria/openwrt/dl/netmap.tar.gz
#cp -fpR ./* 
/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/netmap/
touch 
/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/netmap/.prepared_82fc248445e7486533e645a5023cf3ad
(cd 
/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/netmap/./;
 if [ -x ./configure ]; then /usr/bin/find 
/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/netmap/
 -name config.guess | xargs -r chmod u+w; /usr/bin/find 
/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/netmap/
 -name config.guess | xargs -r -n1 cp 
/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/scripts/config.guess; 
/usr/bin/find 
/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/netmap/
 -name config.sub | xargs -r chmod u+w; /usr/bin/find 
/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/netmap/
 -name config.sub | xargs -r -n1 cp 
/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/scripts/config.sub; 
AR=armeb-openwrt-linux-uclibcgnueabi-ar 
AS="armeb-openwrt-linux-uclibcgnueabi-gcc -c -Os -pipe -march=armv5te 
-mtune=xscale -fno-caller-saves -fhonour-copts 
-Wno-error=unused-but-set-variable -msoft-float" 
LD=armeb-openwrt-linux-uclibcgnueabi-ld NM=armeb-openwrt-linux-uclibcgnueabi-nm 
CC="armeb-openwrt-linux-uclibcgnueabi-gcc" 
GCC="armeb-openwrt-linux-uclibcgnueabi-gcc" 
CXX="armeb-openwrt-linux-uclibcgnueabi-g++" 
RANLIB=armeb-openwrt-linux-uclibcgnueabi-ranlib 
STRIP=armeb-openwrt-linux-uclibcgnueabi-strip 
OBJCOPY=armeb-openwrt-linux-uclibcgnueabi-objcopy 
OBJDUMP=armeb-openwrt-linux-uclibcgnueabi-objdump 
SIZE=armeb-openwrt-linux-uclibcgnueabi-size CFLAGS="-Os -pipe -march=armv5te 
-mtune=xscale -fno-caller-saves -fhonour-copts 
-Wno-error=unused-but-set-variable -msoft-float 
-I/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/netmap/LINUX
 
-I/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/netmap/LINUX/../sys
 
-I/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/netmap/LINUX/../sys/dev
 -DCONFIG_NETMAP -Wno-unused-but-set-variable " CXXFLAGS="-Os -pipe 
-march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts 
-Wno-error=unused-but-set-variable -msoft-float 
-I/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/netmap/LINUX
 
-I/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/netmap/LINUX/../sys
 
-I/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/netmap/LINUX/../sys/dev
 -DCONFIG_NETMAP -Wno-unused-but-set-variable " 
CPPFLAGS="-I/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/staging_dir/target-armeb_xscale_uClibc-0.9.33.2/usr/include
 
-I/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/staging_dir/target-armeb_xscale_uClibc-0.9.33.2/include
 
-I/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/staging_dir/toolchain-armeb_xscale_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include
 
-I/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/staging_dir/toolchain-armeb_xscale_gcc-4.8-linaro_uClibc-0.9.33.2/include
 " 
LDFLAGS="-L/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/staging_dir/target-armeb_xscale_uClibc-0.9.33.2/usr/lib
 
-L/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/staging_dir/target-armeb_xscale_uClibc-0.9.33.2/lib
 
-L/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/staging_dir/toolchain-armeb_xscale_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib
 
-L/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/staging_dir/toolchain-armeb_xscale_gcc-4.8-linaro_uClibc-0.9.33.2/lib
 "   ./configure --target=armeb-openwrt-linux --host=armeb-openwrt-linux 
--build=i686-pc-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr 
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib 
--sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man 
--infodir=/usr/info --disable-nls  --disable-ipv6 ; fi; )
rm -f 
/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/netmap/.configured_*
touch 
/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/netmap/.configured_
Entering Build/Compile
cd 
/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/netmap/LINUX
make -C 
/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/linux-ixp4xx_generic/linux-3.10.28
 
EXTRA_CFLAGS='-I/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/netmap/LINUX
 
-I/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/netmap/LINUX/../sys
 
-I/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/netmap/LINUX/../sys/dev
 -DCONFIG_NETMAP -Wno-unused-but-set-variable ' modules
make[3]: Entering directory 
'/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/linux-ixp4xx_generic/linux-3.10.28'
make[4]: Nothing to be done for 'all'.
make[4]: Nothing to be done for 'relocs'.
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CC      kernel/bounds.s
kernel/bounds.c:1:0: error: code model 'kernel' not supported in the 32 bit mode
 /*
 ^
kernel/bounds.c:1:0: sorry, unimplemented: 64-bit mode not compiled in
/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/linux-ixp4xx_generic/linux-3.10.28/./Kbuild:35:
 recipe for target 'kernel/bounds.s' failed
make[4]: *** [kernel/bounds.s] Error 1
Makefile:835: recipe for target 'prepare0' failed
make[3]: *** [prepare0] Error 2
make[3]: Leaving directory 
'/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/linux-ixp4xx_generic/linux-3.10.28'
Makefile:122: recipe for target 
'/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/netmap/.built'
 failed
make[2]: *** 
[/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/build_dir/target-armeb_xscale_uClibc-0.9.33.2/netmap/.built]
 Error 2
make[2]: Leaving directory 
'/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/package/netmap'
package/Makefile:162: recipe for target 'package/netmap/compile' failed
make[1]: *** [package/netmap/compile] Error 2
make[1]: Leaving directory '/home/openwrt/Desktop/OpenWRT-Cambria/openwrt'
/home/openwrt/Desktop/OpenWRT-Cambria/openwrt/include/toplevel.mk:160: recipe 
for target 'package/netmap/compile' failed
make: *** [package/netmap/compile] Error 2
[openwrt@ArchLinux32Bits openwrt]$ 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[email protected]"

Reply via email to