You are not logged in.
I'm building a PKGBUILD for tomatousb. They supply a list of ubuntu packages needed as deps. I'd like to know how to easily cross reference these to Arch's packages. Several, I can't find.
libncurses5, libncurses5-dev, libstdc++6-4.4-dev, zlib1g-dev.
libncurses5
libncurses5-dev
m4
bison
gawk
flex
libstdc++6-4.4-dev
g++-4.4
g++
git
gitk
zlib1g-devOffline
ncurses, gcc-libs, zlib
Give what you have. To someone, it may be better than you dare to think.
Offline
Thanks, wonder. What about libstdc++6-4.4-dev?
Offline
that is in gcc
Give what you have. To someone, it may be better than you dare to think.
Offline
OK... I must be doing something wrong or missing another dep; I keep getting errors when building.
Offline
what error?
Give what you have. To someone, it may be better than you dare to think.
Offline
Here is my draft PKGBUILD.
Here is the error that occurs at the make step:
make[3]: Entering directory `/dev/shm/tomatousb/src/tomato-build/release/src/router'
rm -rf /dev/shm/tomatousb/src/tomato-build/release/src-rt/router/mipsel-uclibc/target
make -C /dev/shm/tomatousb/src/tomato-build/release/src-rt/lzma-loader CROSS_COMPILE=mipsel-uclibc- LD=mipsel-uclibc-ld
rm -rf /dev/shm/tomatousb/src/tomato-build/release/src-rt/router/mipsel-uclibc/install
rm -f /dev/shm/tomatousb/src/tomato-build/release/src-rt/router/mipsel-uclibc/linux.trx /dev/shm/tomatousb/src/tomato-build/release/src-rt/router/mipsel-uclibc/vmlinuz /dev/shm/tomatousb/src/tomato-build/release/src-rt/router/mipsel-uclibc/target.image
rm -rf /dev/shm/tomatousb/src/tomato-build/release/src-rt/router/mipsel-uclibc/extras
make[4]: Entering directory `/dev/shm/tomatousb/src/tomato-build/release/src/lzma-loader'
cd igmpproxy && CFLAGS="-O2 -Wall -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32 -ffunction-sections -fdata-sections" \
LDFLAGS="-ffunction-sections -fdata-sections -Wl,--gc-sections" \
./configure --host=mipsel-linux --build=x86_64-unknown-linux-gnu --prefix=/usr
mipsel-uclibc-gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -ffunction-sections -pipe -Wa,--trap -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -DLOADADDR=0x80001000 -D_LZMA_IN_CB -I/dev/shm/tomatousb/src/tomato-build/release/src-rt/include -I/dev/shm/tomatousb/src/tomato-build/release/src-rt/lzma/C/Compress/Lzma -D__ASSEMBLY__ -DBZ_TEXT_START=0x80500000 -c -o head.o head.S
make[4]: mipsel-uclibc-gcc: Command not found
make[4]: *** [head.o] Error 127
make[4]: Leaving directory `/dev/shm/tomatousb/src/tomato-build/release/src/lzma-loader'
make[3]: *** [lzma-loader] Error 2
make[3]: *** Waiting for unfinished jobs....
\033[41;1m iptables \033[0m
make -C iptables BINDIR=/usr/sbin LIBDIR=/usr/lib KERNEL_DIR=/dev/shm/tomatousb/src/tomato-build/release/src-rt/linux/linux-2.6 COPT_FLAGS="-Os -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32 -U CONFIG_NVRAM_SIZE"
/dev/shm/tomatousb/src/tomato-build/release/src/router/busybox/scripts/gcc-version.sh: line 11: mipsel-uclibc-gcc: command not found
make[4]: Entering directory `/dev/shm/tomatousb/src/tomato-build/release/src/router/busybox'
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for mipsel-linux-strip... mipsel-uclibc-strip -R .note -R .comment
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for mipsel-linux-gcc... mipsel-uclibc-gcc
checking for C compiler default output file name...
configure: error: in `/dev/shm/tomatousb/src/tomato-build/release/src/router/igmpproxy':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[3]: *** [igmpproxy/src/Makefile] Error 77
SPLIT include/autoconf.h -> include/config/*
HOSTCC applets/applet_tables
HOSTCC applets/usage
GEN include/bbconfigopts.h
GEN include/usage_compressed.h
GEN include/applet_tables.h
HOSTCC applets/usage_pod
make[4]: Entering directory `/dev/shm/tomatousb/src/tomato-build/release/src/router/iptables'
mipsel-uclibc-gcc -Os -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32 -mips32 -U CONFIG_NVRAM_SIZE -Wall -Wunused -I/dev/shm/tomatousb/src/tomato-build/release/src-rt/linux/linux-2.6/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\" -fPIC -fPIC -c -o libiptc/libip4tc.o libiptc/libip4tc.c
make[4]: mipsel-uclibc-gcc: Command not found
make[4]: *** [libiptc/libip4tc.o] Error 127
make[4]: Leaving directory `/dev/shm/tomatousb/src/tomato-build/release/src/router/iptables'
make[3]: *** [iptables] Error 2
CC applets/applets.o
/bin/sh: mipsel-uclibc-gcc: command not found
make[5]: *** [applets/applets.o] Error 127
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [applets_dir] Error 2
make[4]: Leaving directory `/dev/shm/tomatousb/src/tomato-build/release/src/router/busybox'
make[3]: *** [busybox] Error 2
make[3]: Leaving directory `/dev/shm/tomatousb/src/tomato-build/release/src/router'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/dev/shm/tomatousb/src/tomato-build/release/src-rt'
make[1]: *** [bin] Error 2
make[1]: Leaving directory `/dev/shm/tomatousb/src/tomato-build/release/src-rt'
make: *** [m] Error 2
==> ERROR: A failure occurred in build().
Aborting...Offline
I believe that you will need uclibc from aur (to cross compile). Homepage
Edit: You may also be able to use their prebuilt uclib toolchain under tools/brcm.
Last edited by Stebalien (2011-04-13 21:00:04)
Offline