[VxW] tornado 2.0.2 pc486 BSP-bootable vxworks image building problem

linux guy linuxguy at linuxmail.org
Tue Apr 1 16:40:33 PST 2003


hi,guys,I am a greenhand to tornado 2.0.2
I create one bootable vxworks image based pc486 BSP,when I build this project,I get message 
as below:
--------------------------------------------------------------------------------------------
vxrm *.o *.rpo ctdt.c symTbl.c vxWorks*
vxrm D:\tms\target\proj\pc486\prjComps.h D:\tms\target\proj\pc486\prjParams.h D:\tms\targe 
t\proj\pc486\prjConfig.c D:\tms\target\proj\pc486\linkSyms.c
vxrm D:\tms\target\proj\pc486\libs.nm D:\tms\target\proj\pc486\libs.size
wtxtcl D:\tms\host\src\hutils\configGen.tcl D:\tms\target\proj\pc486\pc486.wpj
cc386 -g -m486 -ansi -nostdinc -fvolatile -nostdlib -fno-builtin -fno-defer-pop -P -x asse 
mbler-with-cpp -ID:\tms\target\proj\pc486 -ID:\tms\target\config\pc486 -ID:\tms\target\h - 
ID:\tms\target\config\comps\src -ID:\tms\target\src\drv -DCPU=I80486 -DPRJ_BUILD  -c D:\tm 
s\target\config\pc486\sysALib.s -o sysALib.o
cc386 -g -m486 -ansi -nostdinc -DRW_MULTI_THREAD -D_REENTRANT -fvolatile -nostdlib -fno-bu 
iltin -fno-defer-pop -ID:\tms\target\proj\pc486 -ID:\tms\target\config\pc486 -ID:\tms\targ 
et\h -ID:\tms\target\config\comps\src -ID:\tms\target\src\drv -DCPU=I80486 -DPRJ_BUILD  -c 
 D:\tms\target\config\pc486\sysLib.c
cc386 -g -m486 -ansi -nostdinc -DRW_MULTI_THREAD -D_REENTRANT -fvolatile -nostdlib -fno-bu 
iltin -fno-defer-pop -ID:\tms\target\proj\pc486 -ID:\tms\target\config\pc486 -ID:\tms\targ 
et\h -ID:\tms\target\config\comps\src -ID:\tms\target\src\drv -DCPU=I80486 -DPRJ_BUILD  -c 
 D:\tms\target\proj\pc486\usrAppInit.c
cc386 -g -m486 -ansi -nostdinc -DRW_MULTI_THREAD -D_REENTRANT -fvolatile -nostdlib -fno-bu 
iltin -fno-defer-pop -ID:\tms\target\proj\pc486 -ID:\tms\target\config\pc486 -ID:\tms\targ 
et\h -ID:\tms\target\config\comps\src -ID:\tms\target\src\drv -DCPU=I80486 -DPRJ_BUILD  -c 
 D:\tms\target\proj\pc486\prjConfig.c
cc386 -g -m486 -ansi -nostdinc -DRW_MULTI_THREAD -D_REENTRANT -fvolatile -nostdlib -fno-bu 
iltin -fno-defer-pop -ID:\tms\target\proj\pc486 -ID:\tms\target\config\pc486 -ID:\tms\targ 
et\h -ID:\tms\target\config\comps\src -ID:\tms\target\src\drv -DCPU=I80486 -DPRJ_BUILD  -c 
 D:\tms\target\proj\pc486\linkSyms.c
vxrm D:\tms\target\proj\pc486\prjObjs.lst
Generating D:\tms\target\proj\pc486\prjObjs.lst... 
cc386 -g -m486 -ansi -nostdinc -DRW_MULTI_THREAD -D_REENTRANT -fvolatile -nostdlib -fno-bu 
iltin -fno-defer-pop -ID:\tms\target\proj\pc486 -ID:\tms\target\config\pc486 -ID:\tms\targ 
et\h -ID:\tms\target\config\comps\src -ID:\tms\target\src\drv -DCPU=I80486 -DPRJ_BUILD  -c 
 D:\tms\target\config\comps\src\version.c
cc386 -BD:\tms\host\x86-win32\lib\gcc-lib\  -nostdlib -r -Wl,-X \
    -Wl, at D:\tms\target\proj\pc486\prjObjs.lst  version.o  D:\tms\target\lib\libI80486gnuvx 
.a -o partialImage.o
nm386 -g partialImage.o @D:\tms\target\proj\pc486\prjObjs.lst | wtxtcl D:\tms\host\src\hut 
ils\munch.tcl -asm 386 > ctdt.c
cc386 -c -fdollars-in-identifiers -g -m486 -ansi -nostdinc -DRW_MULTI_THREAD -D_REENTRANT  
-fvolatile -nostdlib -fno-builtin -fno-defer-pop -ID:\tms\target\proj\pc486 -ID:\tms\targe 
t\config\pc486 -ID:\tms\target\h -ID:\tms\target\config\comps\src -ID:\tms\target\src\drv  
-DCPU=I80486 -DPRJ_BUILD  ctdt.c -o ctdt.o
cc386 -g -m486 -ansi -nostdinc -DRW_MULTI_THREAD -D_REENTRANT -fvolatile -nostdlib -fno-bu 
iltin -fno-defer-pop -ID:\tms\target\proj\pc486 -ID:\tms\target\config\pc486 -ID:\tms\targ 
et\h -ID:\tms\target\config\comps\src -ID:\tms\target\src\drv -DCPU=I80486 -DPRJ_BUILD  -c 
 D:\tms\target\config\comps\src\dataSegPad.c
ld386 -X -N -e _sysInit -Ttext 00108000	 \
	dataSegPad.o partialImage.o ctdt.o -o vxWorks
partialImage.o: In function `usrMuxLibInit':
D:\tms\target\proj\pc486\default\D:\tms\target\config\comps\src\net\usrNetMuxCfg.c:22: und 
efined reference to `muxMaxBinds'
make: *** [vxWorks] Error 0x1

Done.
--------------------------------------------------------------------------------------------

when I exclude [network compotnets]->[basic netgwork initialization]->[network mux initiliziation]
,I can get this project build successfully.but when I build boot-ROM,I get message as below:

---------------------------------------------------
cc386 -BD:\tms\host\x86-win32\lib\gcc-lib\  -c -m486 -ansi -nostdinc -O -fvolatile -nostdl 
ib -fno-builtin -fno-defer-pop   -Wall -I\h   -I. -ID:\tms\target\config\all -ID:\tms\targ 
et\h -ID:\tms\target\src\config -ID:\tms\target\src\drv -DCPU=I80486     D:\tms\target\con 
fig\all\bootInit.c 
copy D:\tms\target\config\all\bootInit.c  bootInit_uncmp.c
ÒѸ´ÖÆ         1 ¸öÎļþ¡£
cc386 -BD:\tms\host\x86-win32\lib\gcc-lib\  -c -m486 -ansi -nostdinc -O -fvolatile -nostdl 
ib -fno-builtin -fno-defer-pop   -Wall -I\h   -I. -ID:\tms\target\config\all -ID:\tms\targ 
et\h -ID:\tms\target\src\config -ID:\tms\target\src\drv -DCPU=I80486     -DUNCOMPRESS boot 
Init_uncmp.c
cc386 -BD:\tms\host\x86-win32\lib\gcc-lib\  -m486 -ansi -nostdinc -O -fvolatile -nostdlib  
-fno-builtin -fno-defer-pop   -I\h   -I. -ID:\tms\target\config\all -ID:\tms\target\h -ID: 
\tms\target\src\config -ID:\tms\target\src\drv -DCPU=I80486    -P -x assembler-with-cpp -c 
 -o romInit.o romInit.s 
cc386 -BD:\tms\host\x86-win32\lib\gcc-lib\  -c -m486 -ansi -nostdinc -O -fvolatile -nostdl 
ib -fno-builtin -fno-defer-pop   -Wall -I\h   -I. -ID:\tms\target\config\all -ID:\tms\targ 
et\h -ID:\tms\target\src\config -ID:\tms\target\src\drv -DCPU=I80486     D:\tms\target\con 
fig\all\bootConfig.c
cc386 -BD:\tms\host\x86-win32\lib\gcc-lib\  -c -m486 -ansi -nostdinc -O -fvolatile -nostdl 
ib -fno-builtin -fno-defer-pop   -Wall -I\h   -I. -ID:\tms\target\config\all -ID:\tms\targ 
et\h -ID:\tms\target\src\config -ID:\tms\target\src\drv -DCPU=I80486     -o version.o D:\t 
ms\target\config\all\version.c
ld386 -X -N  -e _romInit -Ttext 00008000	 \
    -o bootrom_uncmp romInit.o bootInit_uncmp.o version.o bootConfig.o \
    sysALib.o sysLib.o    D:\tms\target\lib\libI80486gnuvx.a
bootConfig.o(.text+0x317): undefined reference to `muxMaxBinds'
bootConfig.o(.text+0x1861): undefined reference to `ipEtherResolvRtn'
make.exe: *** [bootrom_uncmp] Error 0x1

Done.
---------------------------------------------------------------------

then ,anybody could guess what is wrong with my configuration and give me any hint?
thx a lot!
-- 
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze


More information about the VxWexplo mailing list