Hallo,

I'm now porting uClinux with 2.6.22-kernel on our WAGO 750-860(with NET+ARM 
50). I can debug the kernel
and already reached the login-string without any errors. But after creating a 
vendor-folder, I got following error
by running make:

ERROR: reloc type R_ARM_PC24 unsupported in this context
3702 bad relocs
collect2: ld returned 1 exit status
make[4]: *** [boa] Fehler 1
make[4]: Leaving directory `/home/u01295/uClinux-dist/user/boa/src'
make[3]: *** [all] Fehler 2
make[3]: Leaving directory `/home/u01295/uClinux-dist/user/boa'
make[2]: *** [boa] Fehler 2
make[2]: Leaving directory `/home/u01295/uClinux-dist/user'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/home/u01295/uClinux-dist/user'
make: *** [subdirs] Fehler 1

I've atached the whole makefile-output. How can I fix that?

Regards
Michael <<makeoutput.txt>> 


_____________________________________________________________________________________________________________
Diese E-Mail einschließlich ihrer Anhänge ist vertraulich und daher allein für 
den Gebrauch durch den vorgesehenen Empfänger bestimmt. Dritten ist das Lesen, 
Verteilen oder Weiterleiten dieser E-Mail sowie jedwedes Vertrauen auf deren 
Inhalt untersagt. Wir bitten, eine fehlgeleitete E-Mail unverzüglich 
vollständig zu löschen und uns eine Nachricht zukommen zu lassen.

This email may contain material that is confidential and/or privileged for the 
sole use of the intended recipient. Any review, reliance or distribution by 
others or forwarding without express permission is strictly prohibited. If you 
are not the intended recipient, please contact the sender and delete all 
copies. 

WAGO Kontakttechnik GmbH (nach Schweizer Recht) & Co. KG; Rechtsform: 
Kommanditgesellschaft; Sitz: Minden; Registergericht: Bad Oeynhausen, HRA 6218; 
Persönlich haftender Gesellschafter: WAGO Kontakttechnik Beteiligungs GmbH; 
Sitz: Fribourg (Schweiz); Handelsregisteramt CH-217-3533291-9; 
Geschäftsführung: Dipl.-Wirtsch. Ing. (FH) Sven Michael Hohorst; Dipl. 
Betriebsw. Axel Christian Börner.
make -C tools/ucfront
make[1]: Entering directory `/home/u01295/uClinux-dist/tools/ucfront'
make[1]: FÌr das Ziel »all« ist nichts zu tun.
make[1]: Leaving directory `/home/u01295/uClinux-dist/tools/ucfront'
ln -sf /home/u01295/uClinux-dist/tools/ucfront/ucfront tools/ucfront-gcc
ln -sf /home/u01295/uClinux-dist/tools/ucfront/ucfront tools/ucfront-g++
ln -sf /home/u01295/uClinux-dist/tools/ucfront/ucfront-ld tools/ucfront-ld
make ARCH=arm CROSS_COMPILE=arm-linux- -j1 -C linux-2.6.x  || exit 1
make[1]: Entering directory `/home/u01295/uClinux-dist/linux-2.6.x'
  CHK     include/linux/version.h
make[2]: »include/asm-arm/mach-types.h« ist bereits aktualisiert.
  CHK     include/linux/utsrelease.h
  CALL    scripts/checksyscalls.sh
<stdin>:91:1: warning: "__IGNORE_sync_file_range" redefined
In file included from <stdin>:2:
include/asm/unistd.h:444:1: warning: this is the location of the previous 
definition
<stdin>:1097:2: warning: #warning syscall fadvise64 not implemented
<stdin>:1265:2: warning: #warning syscall migrate_pages not implemented
<stdin>:1321:2: warning: #warning syscall pselect6 not implemented
<stdin>:1325:2: warning: #warning syscall ppoll not implemented
<stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented
  CHK     include/linux/compile.h
  MODPOST vmlinux
WARNING: arch/arm/mach-netarm/built-in.o(.data+0x328): Section mismatch: 
reference to .init.text:netarm_time_init (between 'netarm_timer' and 
'netarm_timer_irq')
WARNING: drivers/built-in.o(.text+0x2e7cc): Section mismatch: reference to 
.init.data: (between 'rtc8564_cleanup' and 'rtc8564_getdate_r')
WARNING: drivers/built-in.o(.text+0x2e7d4): Section mismatch: reference to 
.init.data: (between 'rtc8564_cleanup' and 'rtc8564_getdate_r')
WARNING: drivers/built-in.o(.text+0x2eab8): Section mismatch: reference to 
.init.data: (between 'rtc8564_init' and 'rtc8564_setdate_r')
WARNING: drivers/built-in.o(.text+0x2eabc): Section mismatch: reference to 
.init.data: (between 'rtc8564_init' and 'rtc8564_setdate_r')
WARNING: drivers/built-in.o(.data+0x590): Section mismatch: reference to 
.init.text: (between 'netarm_cons' and 'nas_reg')
#hier springt er rein
  Kernel: arch/arm/boot/Image is ready
  Building modules, stage 2.
  MODPOST 0 modules
make[1]: Leaving directory `/home/u01295/uClinux-dist/linux-2.6.x'
if [ -f linux-2.6.x/vmlinux ]; then \
        ln -f linux-2.6.x/vmlinux linux-2.6.x/linux ; \
fi
. linux-2.6.x/.config; if [ "$CONFIG_MODULES" = "y" ]; then \
        [ -d linux-2.6.x/modules ] || mkdir linux-2.6.x/modules; \
        make ARCH=arm CROSS_COMPILE=arm-linux- -C linux-2.6.x modules; \
fi
make[1]: Entering directory `/home/u01295/uClinux-dist/linux-2.6.x'
  CHK     include/linux/version.h
make[2]: »include/asm-arm/mach-types.h« ist bereits aktualisiert.
  CHK     include/linux/utsrelease.h
  CALL    scripts/checksyscalls.sh
<stdin>:91:1: warning: "__IGNORE_sync_file_range" redefined
In file included from <stdin>:2:
include/asm/unistd.h:444:1: warning: this is the location of the previous 
definition
<stdin>:1097:2: warning: #warning syscall fadvise64 not implemented
<stdin>:1265:2: warning: #warning syscall migrate_pages not implemented
<stdin>:1321:2: warning: #warning syscall pselect6 not implemented
<stdin>:1325:2: warning: #warning syscall ppoll not implemented
<stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented
  Building modules, stage 2.
  MODPOST 0 modules
make[1]: Leaving directory `/home/u01295/uClinux-dist/linux-2.6.x'
for dir in  include lib include user ; do [ ! -d $dir ] || make ARCH=arm -C 
$dir || exit 1 ; done
make[1]: Entering directory `/home/u01295/uClinux-dist/include'
find . -depth -type l -a ! -name Makefile | xargs rm > /dev/null 2>&1 || exit 0
find . -depth -type d | grep -v .svn | xargs rmdir > /dev/null 2>&1 || exit 0
Making symlinks in include/
Making include/c++ symlink to compiler c++ includes
make[1]: Leaving directory `/home/u01295/uClinux-dist/include'
make[1]: Entering directory `/home/u01295/uClinux-dist/lib'
make -j1 -C ../include                 || exit $?
make[2]: Entering directory `/home/u01295/uClinux-dist/include'
find . -depth -type l -a ! -name Makefile | xargs rm > /dev/null 2>&1 || exit 0
find . -depth -type d | grep -v .svn | xargs rmdir > /dev/null 2>&1 || exit 0
Making symlinks in include/
Making include/c++ symlink to compiler c++ includes
make[2]: Leaving directory `/home/u01295/uClinux-dist/include'
[ -z "uClibc" ] ||\
        make -j1 uClibc || exit $?
make[2]: Entering directory `/home/u01295/uClinux-dist/lib'
[ ! -d "uClibc" ] || ( touch uClibc/.sgbuilt_lib && make -j1 -C uClibc ) || 
exit $?
make[3]: Entering directory `/home/u01295/uClinux-dist/uClibc'
make[4]: `conf' is up to date.
make[3]: Leaving directory `/home/u01295/uClinux-dist/uClibc'
make[2]: Leaving directory `/home/u01295/uClinux-dist/lib'
make -j1 -C ../include
make[2]: Entering directory `/home/u01295/uClinux-dist/include'
find . -depth -type l -a ! -name Makefile | xargs rm > /dev/null 2>&1 || exit 0
find . -depth -type d | grep -v .svn | xargs rmdir > /dev/null 2>&1 || exit 0
Making symlinks in include/
Making include/c++ symlink to compiler c++ includes
make[2]: Leaving directory `/home/u01295/uClinux-dist/include'
make make_links                        || exit $?
make[2]: Entering directory `/home/u01295/uClinux-dist/lib'
Making symlinks in lib/
make[2]: Leaving directory `/home/u01295/uClinux-dist/lib'
[ -z "" ] ||\
        make -j1  || exit $?
make -j1 -C ../include
make[2]: Entering directory `/home/u01295/uClinux-dist/include'
find . -depth -type l -a ! -name Makefile | xargs rm > /dev/null 2>&1 || exit 0
find . -depth -type d | grep -v .svn | xargs rmdir > /dev/null 2>&1 || exit 0
Making symlinks in include/
Making include/c++ symlink to compiler c++ includes
make[2]: Leaving directory `/home/u01295/uClinux-dist/include'
make make_links                        || exit $?
make[2]: Entering directory `/home/u01295/uClinux-dist/lib'
Making symlinks in lib/
make[2]: Leaving directory `/home/u01295/uClinux-dist/lib'
[ -z "zlib" ] ||\
        make -j1 zlib || exit $?
make[2]: Entering directory `/home/u01295/uClinux-dist/lib'
[ ! -d "zlib" ] || ( touch zlib/.sgbuilt_lib && make -j1 -C zlib ) || exit $?
make[3]: Entering directory `/home/u01295/uClinux-dist/lib/zlib'
make[3]: FÌr das Ziel »all« ist nichts zu tun.
make[3]: Leaving directory `/home/u01295/uClinux-dist/lib/zlib'
make[2]: Leaving directory `/home/u01295/uClinux-dist/lib'
make -j1 -C ../include
make[2]: Entering directory `/home/u01295/uClinux-dist/include'
find . -depth -type l -a ! -name Makefile | xargs rm > /dev/null 2>&1 || exit 0
find . -depth -type d | grep -v .svn | xargs rmdir > /dev/null 2>&1 || exit 0
Making symlinks in include/
Making include/c++ symlink to compiler c++ includes
make[2]: Leaving directory `/home/u01295/uClinux-dist/include'
make make_links                        || exit $?
make[2]: Entering directory `/home/u01295/uClinux-dist/lib'
Making symlinks in lib/
make[2]: Leaving directory `/home/u01295/uClinux-dist/lib'
[ -z "" ] ||\
        make -j1  || exit $?
make -j1 -C ../include
make[2]: Entering directory `/home/u01295/uClinux-dist/include'
find . -depth -type l -a ! -name Makefile | xargs rm > /dev/null 2>&1 || exit 0
find . -depth -type d | grep -v .svn | xargs rmdir > /dev/null 2>&1 || exit 0
Making symlinks in include/
Making include/c++ symlink to compiler c++ includes
make[2]: Leaving directory `/home/u01295/uClinux-dist/include'
make make_links                        || exit $?
make[2]: Entering directory `/home/u01295/uClinux-dist/lib'
Making symlinks in lib/
make[2]: Leaving directory `/home/u01295/uClinux-dist/lib'
[ -z "/home/u01295/uClinux-dist/prop" ] ||\
        make -j1 /home/u01295/uClinux-dist/prop || exit $?
make[2]: Entering directory `/home/u01295/uClinux-dist/lib'
[ ! -d "/home/u01295/uClinux-dist/prop" ] || ( touch 
/home/u01295/uClinux-dist/prop/.sgbuilt_lib && make -j1 -C 
/home/u01295/uClinux-dist/prop ) || exit $?
make[2]: Leaving directory `/home/u01295/uClinux-dist/lib'
make -j1 -C ../include
make[2]: Entering directory `/home/u01295/uClinux-dist/include'
find . -depth -type l -a ! -name Makefile | xargs rm > /dev/null 2>&1 || exit 0
find . -depth -type d | grep -v .svn | xargs rmdir > /dev/null 2>&1 || exit 0
Making symlinks in include/
Making include/c++ symlink to compiler c++ includes
make[2]: Leaving directory `/home/u01295/uClinux-dist/include'
make make_links                        || exit $?
make[2]: Entering directory `/home/u01295/uClinux-dist/lib'
Making symlinks in lib/
make[2]: Leaving directory `/home/u01295/uClinux-dist/lib'
make[1]: Leaving directory `/home/u01295/uClinux-dist/lib'
make[1]: Entering directory `/home/u01295/uClinux-dist/include'
find . -depth -type l -a ! -name Makefile | xargs rm > /dev/null 2>&1 || exit 0
find . -depth -type d | grep -v .svn | xargs rmdir > /dev/null 2>&1 || exit 0
Making symlinks in include/
Making include/c++ symlink to compiler c++ includes
make[1]: Leaving directory `/home/u01295/uClinux-dist/include'
make[1]: Entering directory `/home/u01295/uClinux-dist/user'
make -j1 /home/u01295/uClinux-dist/prop 
/home/u01295/uClinux-dist/vendors/WAGO/750-860/. boa busybox dhcpcd-new ftp 
ftpd games gdb inetd init msntp mtd-utils netflash ramimage sash telnetd 
tinylogin || exit $?
make[2]: Entering directory `/home/u01295/uClinux-dist/user'
[ ! -d "/home/u01295/uClinux-dist/prop" ] || ( touch 
/home/u01295/uClinux-dist/prop/.sgbuilt_user && make -j1 -C 
/home/u01295/uClinux-dist/prop ) || exit $?
make[2]: FÌr das Ziel »/home/u01295/uClinux-dist/vendors/WAGO/750-860/.« ist 
nichts zu tun.
[ ! -d "boa" ] || ( touch boa/.sgbuilt_user && make -j1 -C boa ) || exit $?
make[3]: Entering directory `/home/u01295/uClinux-dist/user/boa'
for i in src ; do make -C $i all || exit ; done
make[4]: Entering directory `/home/u01295/uClinux-dist/user/boa/src'
ucfront-gcc arm-linux-gcc  -Wl,--fatal-warnings -Wl,-elf2flt -msoft-float 
-Wl,--fatal-warnings -Wl,-elf2flt -msoft-float -o boa alias.o auth.o boa.o 
cgi.o cgi_header.o config.o get.o hash.o globals.o log.o nls.o pipe.o queue.o 
read.o request.o response.o signals.o timestamp.o util.o -lcrypt 
ERROR: reloc type R_ARM_PC24 unsupported in this context
ERROR: reloc type R_ARM_PC24 unsupported in this context
ERROR: reloc type R_ARM_PC24 unsupported in this context
[...]
ERROR: reloc type R_ARM_PC24 unsupported in this context
3702 bad relocs
collect2: ld returned 1 exit status
make[4]: *** [boa] Fehler 1
make[4]: Leaving directory `/home/u01295/uClinux-dist/user/boa/src'
make[3]: *** [all] Fehler 2
make[3]: Leaving directory `/home/u01295/uClinux-dist/user/boa'
make[2]: *** [boa] Fehler 2
make[2]: Leaving directory `/home/u01295/uClinux-dist/user'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/home/u01295/uClinux-dist/user'
make: *** [subdirs] Fehler 1
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to