Date: Fri, 11 Jul 2014 18:27:36 +0100 From: Carlos Ferreira <carlosmf.pt@gmail.com> To: Luigi Rizzo <rizzo@iet.unipi.it> Cc: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, Prashant Upadhyaya <praupadhyaya@gmail.com> Subject: Re: netmap Message-ID: <CAJpYY6VBYaH52rVSPeH939htE8-ZD%2BcFi_WtHYJGvD1fZz79Cg@mail.gmail.com> In-Reply-To: <CA%2BhQ2%2BhFm7k7ccmbu92CyTyQF7ef%2Be0DQSfxieWK=1CUMmCFWA@mail.gmail.com> References: <CAJpYY6Wj6NkYVdPzitswLQ2oVoX9JAv5tCnzbP6icsgJTdfm8Q@mail.gmail.com> <CA%2BhQ2%2BhHz2FKUkCRnHiGAVxZqxY5WHPPo87mVgSnSmPzovNLWw@mail.gmail.com> <CAJpYY6V6Ewc%2BXQYBi3BQbFtWgLiFKN_qmBLjAx1HyWhB9Q0vcg@mail.gmail.com> <CAJpYY6VJ9ih1ON1s1mnzrc-P7Xa_vsVS3UC49gnii0cLX%2B=TNA@mail.gmail.com> <20140614101523.GD22187@onelab2.iet.unipi.it> <CAJpYY6Usfv98OEsgXedP5MCqdJsd_rz7N4EhgRmP2NcxZ9eQ9g@mail.gmail.com> <CA%2BhQ2%2Bj4RrCxjSu79Zt9BVnKUTcRxO615msGH5_uoLrEinbcPQ@mail.gmail.com> <CAJpYY6XBg8=g7sjVbu%2B6%2BEG1-vW1dymsvD8pL-EB08B=_z=usA@mail.gmail.com> <CAPBAu3U9_VTUCPk_61maSAyxM_VHgSui8kbT65=b-jsXNzqJcA@mail.gmail.com> <CA%2BhQ2%2Bgi9SiZuM4Nvw4CjJG9sX3cNZ4KNfXSkDcFfcPvW4A22Q@mail.gmail.com> <CAJpYY6VBtynBeSQkVprz%2B6BY=TF9RcGEV9hWWKnVQzUvfpKh%2BQ@mail.gmail.com> <CAJpYY6V4ejOtJWjq0TikT%2B2ScOo=Nm=0cwezWgba_i0070_-SQ@mail.gmail.com> <CA%2BhQ2%2BhFm7k7ccmbu92CyTyQF7ef%2Be0DQSfxieWK=1CUMmCFWA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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 <rizzo@iet.unipi.it> wrote: > > > > On Fri, Jul 11, 2014 at 6:07 PM, Carlos Ferreira <carlosmf.pt@gmail.com> > 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 - cmf@av.it.pt Skype & GTalk -> carlosmf.pt@gmail.com LinkedIn -> http://www.linkedin.com/in/carlosmferreira [-- Attachment #2 --] 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]$
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJpYY6VBYaH52rVSPeH939htE8-ZD%2BcFi_WtHYJGvD1fZz79Cg>
