name collision? trace() in RTEMS and ncurses

OUTWATER vac4050 at cae597.rsc.raytheon.com
Thu Jun 1 19:49:02 UTC 2000


all - 
I think this is a symbol collision - has anyone else seen or dealt with this?
If not, which package should change the name of trace() - RTEMS or ncurses?

The collision only happens when the debug version of the curses libraries are 
linked in.

BTW, I'm running RTEMS-beta3 and using rtems-packages-19991215


/home/vac4050/usr/local/rtems/bin/m68k-rtems-gcc --pipe 
-B/home/vac4050/usr/local/rtems//gen68360/lib/ -specs bsp_specs -qrtems -g -Wall 
-ansi -fasm  -O4 -fomit-frame-pointer       -mcpu32       -L 
/home/vac4050/usr/local/rtems//gen68360/lib    -o o-optimize/test.exe  
o-optimize/init.o   /home/vac4050/usr/local/rtems//gen68360/lib/no-dpmem.rel 
/home/vac4050/usr/local/rtems//gen68360/lib/no-msg.rel 
/home/vac4050/usr/local/rtems//gen68360/lib/no-mp.rel 
/home/vac4050/usr/local/rtems//gen68360/lib/no-part.rel 
/home/vac4050/usr/local/rtems//gen68360/lib/no-signal.rel -lm -lncurses_g    
/home/vac4050/usr/local/rtems//gen68360/lib/librtemsall.a(uemf.o): In function 
`trace':
uemf.o(.text+0x4): multiple definition of `trace'
/home/vac4050/usr/local/rtems//gen68360/lib/libncurses_g.a(lib_trace.o):/home/va
c4050/projects/ant/rtems-packages-19991215/ncurses-5.0/obj_g/../ncurses/./trace/
lib_trace.c:58: first defined here
/home/vac4050/usr/local/rtems/m68k-rtems/bin/ld: Warning: size of symbol `trace' 
changed from 150 to 4 in uemf.o
collect2: ld returned 1 exit status

Keith



More information about the users mailing list