telnetd - printk for sparc/leon

Jerry Needell jerry.needell at unh.edu
Thu Dec 11 15:15:17 UTC 2003


I am trying to use the telnetd daemon with the sparc/leon1 bsp  
(4.6.0pre5) but get the following error:

[needell at needell telnet]$ make
sparc-rtems-gcc --pipe  
-B/home/needell/leon/rtems/install/sparc-rtems/leon1/lib/ -specs  
bsp_specs -qrtems   -g -Wall  -O4 -g       -mcpu=cypress -msoft-float    
    -c   -o o-optimize/init.o init.c
In file included from init.c:49:
../networkconfig.h:70: warning: initialization from incompatible  
pointer type
sparc-rtems-gcc --pipe  
-B/home/needell/leon/rtems/install/sparc-rtems/leon1/lib/ -specs  
bsp_specs -qrtems   -g -Wall  -O4 -g       -mcpu=cypress -msoft-float    
        -o o-optimize/telnet.exe  o-optimize/init.o    
/home/needell/leon/rtems/install/sparc-rtems/leon1/lib/no-dpmem.rel  
/home/needell/leon/rtems/install/sparc-rtems/leon1/lib/no-msg.rel  
/home/needell/leon/rtems/install/sparc-rtems/leon1/lib/no-mp.rel  
/home/needell/leon/rtems/install/sparc-rtems/leon1/lib/no-part.rel  
/home/needell/leon/rtems/install/sparc-rtems/leon1/lib/no-signal.rel  
/home/needell/leon/rtems/install/sparc-rtems/leon1/lib/no-timer.rel  
/home/needell/leon/rtems/install/sparc-rtems/leon1/lib/no-rtmon.rel
/home/needell/leon/rtems/install/sparc-rtems/leon1/lib/ 
librtemscpu.a(printk.o): In function `vprintk':
/home/needell/leon/rtems/build/b-rtems/sparc-rtems/c/leon1/exec/ 
libcsupport/../../../../../../rtems-4.6.0pre5/cpukit/libcsupport/src/ 
printk.c:142: undefined reference to `BSP_output_char'
..... many more of the same

I cannot find BSP_output_char defined for the sparc bsp. Any  
suggestions as to what I am missing or doing wrong woulde be  
appreciated.

 From reading previous posting and the source code, it seemed like I  
should be able to run the telnetd daemon by simply calling
main_telnetd().   This is my real goal, if anyone can tell me how to  
start it, that would be appreciated too.

- thanks - Jerry




More information about the users mailing list