Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - build startup x86 failed: (6 Items)
   
build startup x86 failed  
I am seeing the following error when I try to build a x86 starup on windows host.

C:/QNX630/host/win32/x86/usr/bin/ldbootstrap -Bstatic -u_start  -M -od:/head_svn/hardware/startup/boards/ids02/x86/o/
startup-ids02    apic_intr.o    a
pic_smp.o    callout_interrupt_fpga.o    callout_reboot.o    init_hbfpga.o    init_intrinfo_hbfpga.o    init_poulsbo.o  
  init_smp.o    main.o    pci_
supp.o    scan_for_wc.o  -L. -Ld:/head_svn/hardware/startup/lib/x86/a.64 -Ld:/head_svn/stage/x86/lib -Ld:/head_svn/stage
/x86/usr/lib -LC:/QNX630/targe
t/qnx6/x86/lib -LC:/QNX630/target/qnx6/x86/usr/lib -LC:/QNX630/target/qnx6/x86/lib -LC:/QNX630/target/qnx6/x86/usr/lib -
Ld:/head_svn/stage/x86/lib -Ld
:/head_svn/stage/x86/usr/lib -LC:/QNX630/target/qnx6/x86/lib -LC:/QNX630/target/qnx6/x86/usr/lib   -lstartup-64    -llzo
    -lucl       -LC:/QNX630/ta
rget/qnx6/x86/lib -lc C:/QNX630/host/win32/x86/usr/lib/gcc-lib/ntox86/2.95.3/libgcc.a
cannot find library "ucl" (No such file or directory)
ldbootstrap: cannot find library "ucl" (No such file or directory)
cannot find library "c" (No such file or directory)
ldbootstrap: cannot find library "c" (No such file or directory)
ldbootstrap: file common_options.c: undefined symbol "strchr"
ldbootstrap: file uncompress_ucl.c: undefined symbol "ucl_nrv2b_decompress_8"
ldbootstrap: file hwi_add_device.c: undefined symbol "hwi_find_item"
ldbootstrap: file strings.c: undefined symbol "strcpy"
ldbootstrap: file hwi_default.c: undefined symbol "hwi_tag2off"
ldbootstrap: file as_find.c: undefined symbol "strcmp"
ldbootstrap: file hwi_alloc.c: undefined symbol "hwi_off2tag"
ldbootstrap: file init_smp.c: undefined symbol "memset"



If I copy these missing library into my stage directory, it works fine.
I was able to build x86 startup couple of moth ago. this seems only happens when I recently reinstalled my Momentic (6.
30, and SP3). Building for other platform (eg armle is fine). 

Anyone ever seen this?


Re: build startup x86 failed  
> Anyone ever seen this?

 PR# 58452, I think.

Regards,

Ryan Mansfield
Re: build startup x86 failed  
Yes, that's it.
Thanks.
Re: build startup x86 failed  
This problem still applies to the released version of QNX 6.4.0 used on WinXP.

Any news on the PR# 58452?

D:\bsp\src\hardware\startup\boards\kontron_nanoSP\x86\o>C:/Programme/QNX640/host/win32/x86/usr/bin/ldbootstrap -Bstatic 
-u_start  -M -oD:/bsp/src/hardware/startup/boards/kontron_nanoSP/x86/o/startup-kontron_nanoSP    config_wc_mtrr.o    
init_poulsbo.o    main.o    pci_supp.o    scan_for_wc.o   -L. -LD:/bsp/src/hardware/startup/lib/x86/a.64 -LD:/bsp/src/
hardware/startup/boards/../../../../install/x86/lib  -LC:/Programme/QNX640/target/qnx6/x86/lib  -lstartup-64 -llzo -lucl
 -lc c:/programme/qnx640/host/win32/x86/usr/bin/../lib/gcc/i386-pc-nto-qnx6
.4.0/4.2.4/libgcc.a
cannot find library "lzo" (No such file or directory)
ldbootstrap: cannot find library "lzo" (No such file or directory)
cannot find library "ucl" (No such file or directory)
ldbootstrap: cannot find library "ucl" (No such file or directory)
cannot find library "c" (No such file or directory)
ldbootstrap: cannot find library "c" (No such file or directory)
ldbootstrap: file common_options.c: undefined symbol "strchr"
ldbootstrap: file uncompress_ucl.c: undefined symbol "ucl_nrv2b_decompress_8"
ldbootstrap: file hwi_add_device.c: undefined symbol "hwi_find_item"
ldbootstrap: file hwi_default.c: undefined symbol "hwi_tag2off"
ldbootstrap: file syspage_memory.c: undefined symbol "memset"
ldbootstrap: file strings.c: undefined symbol "strcpy"
ldbootstrap: file strings.c: undefined symbol "strcmp"
ldbootstrap: file strings.c: undefined symbol "strlen"
ldbootstrap: file hwi_alloc.c: undefined symbol "hwi_off2tag"

ldbootstrap: There are 0 unresolved references

Re: build startup x86 failed  
Try to install your source code to C driver that is the same logical drive of qnx installation.
Re: build startup x86 failed  
yes, that is the trick.
Thanks.