News:

Latest versions:
Server plugin: 0.5.1
MVP dongle: 0.5.2
Raspberry Pi client: 0.5.2
Windows client: 0.5.2-1

Main Menu

Compile Dongle fails

Started by TEDDYXXL, December 09, 2012, 12:58:43

Previous topic - Next topic

TEDDYXXL

Hi !


Compile fails:

creating cache ./config.cache
checking host system type... powerpc-405-linux-gnu
checking sysdep dirs... sysdeps/powerpc/elf sysdeps/unix/sysv/linux/powerpc sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/powe
rpc sysdeps/unix sysdeps/posix sysdeps/powerpc/fpu sysdeps/powerpc sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/powerpc/soft-fp sysdeps/ieee754 sysdeps/generic/elf sysdeps/ge
neric
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for pwd... /usr/bin/pwd
checking build system type... i686-pc-linux-gnu
checking for powerpc-405-linux-gnu-gcc... gcc
checking version of gcc... 4.7.2, bad
checking for gnumake... no
checking for gmake... gmake
checking version of gmake... 3.82, ok
configure: error:
*** These critical programs are missing or too old:gcc
*** Check the INSTALL file for required versions.

Which version of gcc is required ?


Dirk

Chris

Hi,

The script is only tested on Debian Squeeze, you are probably running it on something newer. FYI, Squeeze is gcc 4.4.5. There is a patch in the cross compiler build system if I remember correctly which allows newer versions of gcc - you might be able to modify that to include gcc 4.7.2, and see if it works. You might run into other problems to solve as well though :) Good luck!

Chris

TEDDYXXL


Next error:


gcc -M wcfuncs.c -DBOOTSTRAP_GCC -Wall -Winline -Wstrict-prototypes -Wwrite-strings -mnew-mnemonics      -I../include -I. -I/privat/tv/dvb/tools/vompdev/crosstool/crosstool-0.43/build/powerpc-405-linux-gnu/gcc-3.4.5-glibc-2.2.5/build-glibc-headers/wctype -I.. -I../libio  -I/privat/tv/dvb/tools/vompdev/crosstool/crosstool-0.43/build/powerpc-405-linux-gnu/gcc-3.4.5-glibc-2.2.5/build-glibc-headers -I../sysdeps/powerpc/elf -I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/powerpc -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/powerpc/fpu -I../sysdeps/powerpc -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/powerpc/soft-fp -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic  -nostdinc -isystem /usr/lib/gcc/i586-suse-linux/4.7/include -isystem /privat/tv/dvb/tools/vompdev/crosstool/gcc-3.4.5-glibc-2.2.5/powerpc-405-linux-gnu/powerpc-405-linux-gnu/include  -include ../include/libc-symbols.h      | sed -e 's,wcfuncs\.o,/privat/tv/dvb/tools/vompdev/crosstool/crosstool-0.43/build/powerpc-405-linux-gnu/gcc-3.4.5-glibc-2.2.5/build-glibc-headers/wctype/wcfuncs.o /privat/tv/dvb/tools/vompdev/crosstool/crosstool-0.43/build/powerpc-405-linux-gnu/gcc-3.4.5-glibc-2.2.5/build-glibc-headers/wctype/wcfuncs.os /privat/tv/dvb/tools/vompdev/crosstool/crosstool-0.43/build/powerpc-405-linux-gnu/gcc-3.4.5-glibc-2.2.5/build-glibc-headers/wctype/wcfuncs.op /privat/tv/dvb/tools/vompdev/crosstool/crosstool-0.43/build/powerpc-405-linux-gnu/gcc-3.4.5-glibc-2.2.5/build-glibc-headers/wctype/wcfuncs.og /privat/tv/dvb/tools/vompdev/crosstool/crosstool-0.43/build/powerpc-405-linux-gnu/gcc-3.4.5-glibc-2.2.5/build-glibc-headers/wctype/wcfuncs.ob /privat/tv/dvb/tools/vompdev/crosstool/crosstool-0.43/build/powerpc-405-linux-gnu/gcc-3.4.5-glibc-2.2.5/build-glibc-headers/wctype/wcfuncs.oST /privat/tv/dvb/tools/vompdev/crosstool/crosstool-0.43/build/powerpc-405-linux-gnu/gcc-3.4.5-glibc-2.2.5/build-glibc-headers/wctype/wcfuncs.d,' -e 's@ /privat/tv/dvb/tools/vompdev/crosstool/crosstool-0\.43/build/powerpc-405-linux-gnu/gcc-3\.4\.5-glibc-2\.2\.5/build-glibc-headers/@ $(common-objpfx)@g' -e 's@^/privat/tv/dvb/tools/vompdev/crosstool/crosstool-0\.43/build/powerpc-405-linux-gnu/gcc-3\.4\.5-glibc-2\.2\.5/build-glibc-headers/@$(common-objpfx)@g' > /privat/tv/dvb/tools/vompdev/crosstool/crosstool-0.43/build/powerpc-405-linux-gnu/gcc-3.4.5-glibc-2.2.5/build-glibc-headers/wctype/wcfuncs.T
gcc: Fehler: nicht erkannte Kommandozeilenoption »-mnew-mnemonics«
mv -f /privat/tv/dvb/tools/vompdev/crosstool/crosstool-0.43/build/powerpc-405-linux-gnu/gcc-3.4.5-glibc-2.2.5/build-glibc-headers/wctype/wcfuncs.T /privat/tv/dvb/tools/vompdev/crosstool/crosstool-0.43/build/powerpc-405-linux-gnu/gcc-3.4.5-glibc-2.2.5/build-glibc-headers/wctype/wcfuncs.d
make[2]: Leaving directory `/backup/privat/tv/dvb/tools/vompdev/crosstool/crosstool-0.43/build/powerpc-405-linux-gnu/gcc-3.4.5-glibc-2.2.5/glibc-2.2.5/wctype'
make[2]: Entering directory `/backup/privat/tv/dvb/tools/vompdev/crosstool/crosstool-0.43/build/powerpc-405-linux-gnu/gcc-3.4.5-glibc-2.2.5/glibc-2.2.5/wctype'
/usr/bin/install -c -m 644 wctype.h /privat/tv/dvb/tools/vompdev/crosstool/gcc-3.4.5-glibc-2.2.5/powerpc-405-linux-gnu/powerpc-405-linux-gnu/include/wctype.h
make[2]: Leaving directory `/backup/privat/tv/dvb/tools/vompdev/crosstool/crosstool-0.43/build/powerpc-405-linux-gnu/gcc-3.4.5-glibc-2.2.5/glibc-2.2.5/wctype'
make  -C manual install-headers
make[2]: Entering directory `/backup/privat/tv/dvb/tools/vompdev/crosstool/crosstool-0.43/build/powerpc-405-linux-gnu/gcc-3.4.5-glibc-2.2.5/glibc-2.2.5/manual'
Makefile:250: *** Implizite und normale Regel vermischt.  Schluss.
make[2]: Leaving directory `/backup/privat/tv/dvb/tools/vompdev/crosstool/crosstool-0.43/build/powerpc-405-linux-gnu/gcc-3.4.5-glibc-2.2.5/glibc-2.2.5/manual'
make[1]: *** [manual/install-headers] Fehler 2
make[1]: Leaving directory `/backup/privat/tv/dvb/tools/vompdev/crosstool/crosstool-0.43/build/powerpc-405-linux-gnu/gcc-3.4.5-glibc-2.2.5/glibc-2.2.5'
make: *** [install-headers] Fehler 2

Dirk

Chris

So make is complaining that implicit and normal rules are mixed, presumably conflicting. From where I am right now I can't do anything about that. What has probably happened is that you're using a newer version of Make which is stricter, or has changed default rules. If you want to take on the challenge you need to debug that makefile and patch it .... Not the easiest job.

What O/S are you trying this on?

TEDDYXXL


TEDDYXXL


After installing DebianSqueeze as a VBOX Client build of a dongle works fine but my mvp (Revision D3A) can't use this dongle with latest version

of vompserver from git.

Dongle is loading but menu doesn't appear.

11:03:24.576750 [debug]  BOOTPD - Starting bootpd
11:03:24.576782 [debug]  BOOTPD - Bootp replier started
11:03:24.576826 [info]   Main - TFTP path '/tftpboot/'
11:03:24.576837 [debug]  Tftpd - Starting TFTPd
11:03:24.576868 [debug]  Tftpd - TFTP server started with base path '/tftpboot/'
11:03:24.576905 [debug]  MVPRelay - MVPRelay replier started
11:03:24.576916 [info]   Main - MVPRelay started
11:03:24.576941 [debug]  Main - MVPServer run success
11:03:24.577182 [debug]  Tftpd - Starting wait
11:03:24.577203 [debug]  BOOTPD - Starting wait
11:03:46.257304 [debug]  BOOTPD - Wait finished
11:03:46.257354 [debug]  BOOTPD - Got request
11:03:46.257393 [debug]  Config - Opened config file: /video0/plugins/vompserver/vomp-00-0D-FE-00-48-F1.conf
11:03:46.257412 [debug]  BOOTPD - Opened config file: /video0/plugins/vompserver/vomp-00-0D-FE-00-48-F1.conf
11:03:46.257492 [debug]  Config - Config error: Key IP not found
11:03:46.257505 [WARN]   BOOTPD - No IP found for MVP. Hopefully it has one already...
11:03:46.257532 [debug]  Config - Config error: Key Override IP not found
11:03:46.257545 [debug]  BOOTPD - Will not change MVP IP if it already has one
11:03:46.257554 [debug]  BOOTPD - Leave YI=0 as MVP already has good IP
11:03:46.257625 [debug]  BOOTPD - Starting wait
11:03:46.388000 [debug]  Tftpd - Wait finished
11:03:46.388053 [debug]  TftpClient - Client handler started
11:03:46.388142 [debug]  Tftpd - Starting wait
11:03:46.388152 [debug]  TftpClient - RRQ received for vomp-dongle
11:03:46.388178 [info]   TftpClient - File: '/tftpboot/vomp-dongle'
11:03:54.027754 [debug]  TftpClient - Retransmitting buffer
11:03:57.039114 [debug]  TftpClient - Retransmitting buffer
11:03:57.691047 [info]   TftpClient - File transfer finished
11:03:57.691121 [info]   TftpClient - processMessage terminating connection

Dirk