Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Linking issue: final link failed: File truncated: (1 Item)
   
Linking issue: final link failed: File truncated  
Hello,

We some times get the message final link failed: file truncated when linking. The problem goes away when we do "make 
clean" and compile again. Appreciate help in resolving the problem.

We are using QNX632 and QNX 640 in Ubuntu 10 to compile source code. Please find the sample out put.

qcc -V3.3.5,gcc_ntox86 Tl1Agent.cpp -Wp,-MD,/home/mkrishna/dawn_v1/main/pf_ne/x86/mcm/dep/sys-mcm-Tl1Agent-Tl1Agent.i -o
 /home/mkrishna/dawn_v1/main/pf_ne/x86/mcm/bin/Tl1Agent -g -DVARIANT_g -DUNIX -DQNX -DQNX_x86 -Wc,-Wall -Wc,-Wno-
parentheses -fexceptions -fsigned-char -Wno-write-strings -Y_acpp -DFD_SETSIZE=512 -Wc,-Werror -O -I. -I../../../../
src_ne/h -I../../../../src_ne -I../../../../src_ne/component -I../../../../src_ne/mcm -I../../../../src_ne/sys/mcm ../..
/../../pf_ne/x86/mcm/obj/Tl1Agent_BldInfo.o -L/home/mkrishna/dawn_v1/main/pf_ne/x86/mcm/lib -L/home/mkrishna/dawn_v1/
main/pf_ne/x86/cmn/lib -L/home/mkrishna/dawn_v1/main/pf_ne/x86/lm/lib -L/home/mkrishna/dawn_v1/main/3d/x86/63lib -Y_acpp
 -Wl,-\( -lsys -ltl1 -lutils -lmain -lTl1EventHandler -lTL1Converters -lTl1CommandHandler -ltl1Instrumented -
lAgentShared -ltl1CommonUtil -lTL1Ob -lEHCommon -lEHSub -lAlarm -lTL1RequestHandlers -lsocketplus -lone -ltwo -ldb -
lZtftp -lnddsdiag -lndds -lnddsutils -lnddscdr -lutilsip -lutilsxx -lsocket -lmalloc -lm -Wl,-\) -lzlibc
/opt/QNX632/host/linux/x86/usr/bin/i386-pc-nto-qnx6.3.0-ld: final link failed: File truncated
cc: /opt/QNX632/host/linux/x86/usr/bin/i386-pc-nto-qnx6.3.0-ld error 1
make[3]: [/home/mkrishna/dawn_v1/main/pf_ne/x86/mcm/bin/Tl1Agent] Error 1 (ignored)