Skip to contentSkip to conversation

Xterm: undefined reference to __longjmp_chk

Buildroot Massimiliano Marretta 1 participant 3 messages Oct 7, 2010 – Oct 8, 2010

lore
Share & tools
lore
#0 lore raw

Hi,

I'm using the buildroot 2010.08 version with crosstool-ng toolchain. The target is an x86 i686.
I receive this error wit xterm compilation:

charproc.o: In function `VTReset':
charproc.c:(.text+0x2623): undefined reference to __longjmp_chk' main.o: In function hungtty':
main.c:(.text+0x867): undefined reference to __longjmp_chk' misc.o: In function end_vt_mode':
misc.c:(.text+0x3a3): undefined reference to __longjmp_chk' misc.o: In function end_tek_mode':
misc.c:(.text+0x3c7): undefined reference to __longjmp_chk' Tekproc.o: In function Tinput':
Tekproc.c:(.text+0x1336): undefined reference to `__longjmp_chk'
collect2: ld returned 1 exit status
make[1]: *** [xterm] Error 1
make[1]: Leaving directory `/srv/source/buildroot-2010.08/output/build/xterm-259'
make: *** [/srv/source/buildroot-2010.08/output/build/xterm-259/.stamp_built] Error 2

Signature · 7 lines
Massimiliano Marretta
Via Zuccola 11
41015 Nonantola (Mo) - Italy
tel: +39 347 5340305
skype: mmarretta
/mailto:max at marretta.com/
/web:www.marretta.com/ <http://www.marretta.com>
#1 lore raw

I resolved the problem by add to the makefile.in the CPPFLAGS
-U_FORTIFY_SOURCE.
There is possibility to add this flag by xterm.mk or is necessary to create a patch ?

Quoted 25 lines · Massimiliano Marretta

Hi,

I'm using the buildroot 2010.08 version with crosstool-ng toolchain. The target is an x86 i686.
I receive this error wit xterm compilation:

charproc.o: In function `VTReset':
charproc.c:(.text+0x2623): undefined reference to __longjmp_chk' main.o: In function hungtty':
main.c:(.text+0x867): undefined reference to __longjmp_chk' misc.o: In function end_vt_mode':
misc.c:(.text+0x3a3): undefined reference to __longjmp_chk' misc.o: In function end_tek_mode':
misc.c:(.text+0x3c7): undefined reference to __longjmp_chk' Tekproc.o: In function Tinput':
Tekproc.c:(.text+0x1336): undefined reference to `__longjmp_chk'
collect2: ld returned 1 exit status
make[1]: *** [xterm] Error 1
make[1]: Leaving directory `/srv/source/buildroot-2010.08/output/build/xterm-259'
make: *** [/srv/source/buildroot-2010.08/output/build/xterm-259/.stamp_built] Error 2

Signature · 11 lines
Massimiliano Marretta
Via Zuccola 11
41015 Nonantola (Mo) - Italy
tel: +39 347 5340305
skype: mmarretta
/mailto:max at marretta.com/
/web:www.marretta.com/ <http://www.marretta.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20101008/ecb527ad/attachment.html>
#2 lore raw
In reply to Massimiliano Marretta

I resolved the problem by add to the makefile.in the CPPFLAGS
-U_FORTIFY_SOURCE.
There is possibility to add this flag by xterm.mk or is necessary to create a patch ?

Quoted 25 lines · Massimiliano Marretta

Hi,

I'm using the buildroot 2010.08 version with crosstool-ng toolchain. The target is an x86 i686.
I receive this error wit xterm compilation:

charproc.o: In function `VTReset':
charproc.c:(.text+0x2623): undefined reference to __longjmp_chk' main.o: In function hungtty':
main.c:(.text+0x867): undefined reference to __longjmp_chk' misc.o: In function end_vt_mode':
misc.c:(.text+0x3a3): undefined reference to __longjmp_chk' misc.o: In function end_tek_mode':
misc.c:(.text+0x3c7): undefined reference to __longjmp_chk' Tekproc.o: In function Tinput':
Tekproc.c:(.text+0x1336): undefined reference to `__longjmp_chk'
collect2: ld returned 1 exit status
make[1]: *** [xterm] Error 1
make[1]: Leaving directory `/srv/source/buildroot-2010.08/output/build/xterm-259'
make: *** [/srv/source/buildroot-2010.08/output/build/xterm-259/.stamp_built] Error 2

Signature · 7 lines
Massimiliano Marretta
Via Zuccola 11
41015 Nonantola (Mo) - Italy
tel: +39 347 5340305
skype: mmarretta
/mailto:max at marretta.com/
/web:www.marretta.com/ <http://www.marretta.com>