ralphy;670500 Wrote:
> Change line 70 in makefile.linux26-mipsel to this
>
> >
Code:
--------------------
> > cd lib/vorbis/$(OS)/build/$(LIBVORBIS) && CC="$(CC)" CFLAGS="$(CFLAGS)"
CPPFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" OGG_CFLAGS="-I`pwd`/../../include"
OGG_LIBS="`pwd`/../../lib/libogg.a" ./configure --enable-shared=no
--host=i686-pc-linux-gnu --build=mipsel-linux-gnu --target=mipsel-linux-gnu
--------------------
> >
thank you for the reply, I tried your suggestion, unfortunately it
seems doesn't make any difference, here the output below:
Code:
--------------------
cd lib/vorbis/lnx26/build && tar --bzip -xf
../../../../sources/libvorbis-1.3.2.tar.bz2
cd lib/vorbis/lnx26/build/libvorbis-1.3.2 && CC="mipsel-linux-gnu-gcc"
CFLAGS="-DRENICE -DSLIMPROTO_DEBUG -DDAEMONIZE -DUSE_SIGNALS_FOR_RESTART -Wall
-O2 -march=mips32 -msoft-float -static" CPPFLAGS="-DRENICE -DSLIMPROTO_DEBUG
-DDAEMONIZE -DUSE_SIGNALS_FOR_RESTART -Wall -O2 -march=mips32 -msoft-float
-static" LDFLAGS="-s -static" OGG_CFLAGS="-I`pwd`/../../include"
OGG_LIBS="`pwd`/../../lib/libogg.a" ./configure --enable-shared=no
--host=i686-pc-linux-gnu --build=mipsel-linux-gnu --target=mipsel-linux-gnu
checking build system type... mipsel-unknown-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... mipsel-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
configure: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to [email protected].
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i686-pc-linux-gnu-gcc... mipsel-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mipsel-linux-gnu-gcc accepts -g... yes
checking for mipsel-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of mipsel-linux-gnu-gcc... gcc3
checking how to run the C preprocessor... mipsel-linux-gnu-gcc -E
checking for inline... inline
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by mipsel-linux-gnu-gcc... /usr/mipsel-linux-gnu/bin/ld
checking if the linker (/usr/mipsel-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... no
checking for i686-pc-linux-gnu-dumpbin... no
checking for i686-pc-linux-gnu-link... no
checking for dumpbin... no
checking for link... link -dump -symbols
checking the name lister (link -dump -symbols) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 805306365
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/mipsel-linux-gnu/bin/ld option to reload object files... -r
checking for i686-pc-linux-gnu-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-strip... strip
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking command to parse link -dump -symbols output from
mipsel-linux-gnu-gcc object... failed
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if mipsel-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for mipsel-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if mipsel-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if mipsel-linux-gnu-gcc static flag -static works... no
checking if mipsel-linux-gnu-gcc supports -c -o file.o... yes
checking if mipsel-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the mipsel-linux-gnu-gcc linker
(/usr/mipsel-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking whether mipsel-linux-gnu-gcc and cc understand -c and -o together...
yes
checking GCC version... 4.4.5
checking if mipsel-linux-gnu-gcc accepts -Wdeclaration-after-statement... no
checking for memory.h... (cached) yes
checking for cos in -lm... no
checking for pthread_create in -lpthread... no
checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... no
checking for Ogg... cross compiling; assumed OK...
yes
checking for oggpack_writealign... no
configure: error: Ogg >= 1.0 required !
make: *** [lib/vorbis/lnx26/lib/libvorbis.a] Error 1
--------------------
--
routerunner
------------------------------------------------------------------------
routerunner's Profile: http://forums.slimdevices.com/member.php?userid=51210
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss