telnetd - printk for sparc/leon

Jerry Needell jerry.needell at
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    
librtemscpu.a(printk.o): In function `vprintk':
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  

 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