anyone using EPICS baseR3.14.1 on rtems target?

till strauman at slac.stanford.edu
Wed Jan 22 23:04:56 UTC 2003


It seems to me that these are libtecla build errors rather
than porting errors. It seems that tecla was not built against
the proper newlib/rtems headers.

-- Till

On Thursday, January 23, 2003, at 06:44 , M.C.Shao wrote:

> hi,all
> When I use baseR3.14.1 on i386-rtems target, I have serious 
> problems.The following is the configuration of my building environment:
> ----------------------
> Host:    Linux(Red Hat 8.0)
> Target:    i386-rtems
> RTEMS version:     ss-20021118
> addon-packages version:     ss-20030120, avl-1.4.0, ncurses5.3, 
> readline4.3 and libtecla1.4.1 included.
> cross-gcc version:     gcc-3.2.1, gcc-3.2.1-rtems-20021209.diff
> gcc-newlib version:     newlib1.10.0, newlib-1.10.0-rtems-20021127.diff
> binutils version:     binutils-2.13.1
> -------------------
>  
> First I build baseR3.14.1 successfully. Next, when I compile the 
> example application created by "makeBaseApp.pl", the errors rise 
> up(sorry,I have to paste all of them here.):
>  
> --------------------
> make[3]: Entering directory 
> `/usr/local/epics/exampleApp/testApp/src/O.RTEMS-pc386'
> /opt/rtems/bin/i386-rtems-g++ -B/opt/rtems/i386-rtems/pc386/lib/ -specs 
> bsp_specs -qrtems   -o example         
> -L/usr/local/epics/base/lib/RTEMS-pc386/    -u Init 
> /opt/rtems/i386-rtems/pc386/lib/no-dpmem.rel 
> /opt/rtems/i386-rtems/pc386/lib/no-mp.rel 
> /opt/rtems/i386-rtems/pc386/lib/no-part.rel 
> /opt/rtems/i386-rtems/pc386/lib/no-signal.rel 
> /opt/rtems/i386-rtems/pc386/lib/no-rtmon.rel -Wl,-Ttext,0x100000    
> xxxRecord.o devXxxSoft.o dbSubExample.o 
> example_registerRecordDeviceDriver.o exampleMain.o    -lrecIoc 
> -lsoftDevIoc -ltestDevIoc -liocsh -lmiscIoc -lrsrvIoc -ldbtoolsIoc 
> -lasIoc -ldbIoc -lregistryIoc -ldbStaticIoc -lca -lCom         
> -ltecla_r -lncurses -lm -lrtemsCom -lrtemscpu -lCom -lm
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_tputs_putchar':
> getline.o(.text+0x1d): undefined reference to `_IO_putc'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `new_GetLine':
> getline.o(.text+0x43): undefined reference to `stderr'
> getline.o(.text+0x6d): undefined reference to `stderr'
> getline.o(.text+0x45a): undefined reference to `stderr'
> getline.o(.text+0x48d): undefined reference to `stderr'
> getline.o(.text+0x4c3): undefined reference to `stderr'
> getline.o(.text+0x5b1): undefined reference to `stdout'
> getline.o(.text+0x5b9): undefined reference to `stdin'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_bind_control_char':
> getline.o(.text+0x757): undefined reference to `__ctype_b_loc'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_get_line':
> getline.o(.text+0x7c2): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_override_signal_handlers':
> getline.o(.text+0x9e5): undefined reference to `__errno_location'
> getline.o(.text+0xa03): undefined reference to `__errno_location'
> getline.o(.text+0xa21): undefined reference to `__errno_location'
> getline.o(.text+0xa3c): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_restore_signal_handlers':
> getline.o(.text+0xb27): undefined reference to `__errno_location'
> getline.o(.text+0xb45): undefined reference to `__errno_location'
> getline.o(.text+0xb60): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_signal_handler':
> getline.o(.text+0xba6): undefined reference to `siglongjmp'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_raw_terminal_mode':
> getline.o(.text+0xbde): undefined reference to `__errno_location'
> getline.o(.text+0xc20): undefined reference to `stderr'
> getline.o(.text+0xc74): undefined reference to `__errno_location'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_restore_terminal_attributes':
> getline.o(.text+0xcd4): undefined reference to `__errno_location'
> getline.o(.text+0xcf4): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_get_input_line':
> getline.o(.text+0xff0): undefined reference to `__ctype_b_loc'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_read_character':
> getline.o(.text+0x13b5): undefined reference to `__errno_location'
> getline.o(.text+0x13d0): undefined reference to `stderr'
> getline.o(.text+0x13fd): undefined reference to `__sigsetjmp'
> getline.o(.text+0x1443): undefined reference to `__errno_location'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_check_caught_signal':
> getline.o(.text+0x1689): undefined reference to `__errno_location'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_control_strings':
> getline.o(.text+0x1a07): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_displayed_char_width':
> getline.o(.text+0x1d84): undefined reference to `__ctype_b_loc'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_output_raw_string':
> getline.o(.text+0x1e98): undefined reference to `__errno_location'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_output_control_sequence':
> getline.o(.text+0x1ee1): undefined reference to `__errno_location'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_output_char':
> getline.o(.text+0x2178): undefined reference to `__ctype_toupper_loc'
> getline.o(.text+0x2190): undefined reference to `__ctype_b_loc'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_upcase_word':
> getline.o(.text+0x2ada): undefined reference to `__ctype_b_loc'
> getline.o(.text+0x2b1d): undefined reference to `__ctype_toupper_loc'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_downcase_word':
> getline.o(.text+0x2bbc): undefined reference to `__ctype_b_loc'
> getline.o(.text+0x2bff): undefined reference to `__ctype_tolower_loc'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_capitalize_word':
> getline.o(.text+0x2d14): undefined reference to `__ctype_b_loc'
> getline.o(.text+0x2d3c): undefined reference to `__ctype_toupper_loc'
> getline.o(.text+0x2d43): undefined reference to `__ctype_b_loc'
> getline.o(.text+0x2d6b): undefined reference to `__ctype_tolower_loc'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_complete_word':
> getline.o(.text+0x3b14): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_expand_filename':
> getline.o(.text+0x3cfb): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_is_word_char':
> getline.o(.text+0x3fb7): undefined reference to `__ctype_b_loc'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_customize_completion':
> getline.o(.text+0x4017): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_change_terminal':
> getline.o(.text+0x4070): undefined reference to `stderr'
> getline.o(.text+0x41c6): undefined reference to `__errno_location'
> getline.o(.text+0x41e1): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `_gl_read_config_file':
> getline.o(.text+0x471f): undefined reference to `stderr'
> getline.o(.text+0x4771): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `_gl_read_config_string':
> getline.o(.text+0x483b): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `_gl_parse_config_line':
> getline.o(.text+0x4a22): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o)(.text+0x4b3b): 
> more undefined references to `stderr' follow
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_digit_argument':
> getline.o(.text+0x50b6): undefined reference to `__ctype_b_loc'
> getline.o(.text+0x5121): undefined reference to `__strtol_internal'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_flush_output':
> getline.o(.text+0x51e7): undefined reference to `__errno_location'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_change_editor':
> getline.o(.text+0x52b0): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_change_case':
> getline.o(.text+0x5405): undefined reference to `__ctype_b_loc'
> getline.o(.text+0x5442): undefined reference to `__ctype_toupper_loc'
> getline.o(.text+0x5449): undefined reference to `__ctype_b_loc'
> getline.o(.text+0x5471): undefined reference to `__ctype_tolower_loc'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_interpret_char':
> getline.o(.text+0x68d7): undefined reference to `__ctype_b_loc'
> getline.o(.text+0x6921): undefined reference to `__ctype_b_loc'
> getline.o(.text+0x695b): undefined reference to `__ctype_b_loc'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_configure_getline':
> getline.o(.text+0x6b3a): undefined reference to `stderr'
> getline.o(.text+0x6bc8): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_save_history':
> getline.o(.text+0x6ceb): undefined reference to `stderr'
> getline.o(.text+0x6d31): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_load_history':
> getline.o(.text+0x6d89): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o)(.text+0x6dcf): 
> more undefined references to `stderr' follow
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_event_handler':
> getline.o(.text+0x70c2): undefined reference to `stdout'
> getline.o(.text+0x70df): undefined reference to `__errno_location'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_call_fd_handler':
> getline.o(.text+0x7250): undefined reference to `__errno_location'
> getline.o(.text+0x7277): undefined reference to `__errno_location'
> getline.o(.text+0x72dc): undefined reference to `__errno_location'
> getline.o(.text+0x733a): undefined reference to `__errno_location'
> getline.o(.text+0x7381): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_group_history':
> getline.o(.text+0x73c1): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_show_history':
> getline.o(.text+0x7458): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_terminal_size':
> getline.o(.text+0x7508): undefined reference to `__strtol_internal'
> getline.o(.text+0x755a): undefined reference to `__strtol_internal'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_trap_signal':
> getline.o(.text+0x7c67): undefined reference to `stderr'
> getline.o(.text+0x7cff): undefined reference to `__errno_location'
> getline.o(.text+0x7d1a): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_ignore_signal':
> getline.o(.text+0x7d81): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(getline.o): In function 
> `gl_line_ended':
> getline.o(.text+0x7dff): undefined reference to `__ctype_b_loc'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(keytab.o): In function 
> `_new_KeyTab':
> keytab.o(.text+0x26): undefined reference to `stderr'
> keytab.o(.text+0x8d): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(keytab.o): In function 
> `_kt_extend_table':
> keytab.o(.text+0x185): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(keytab.o): In function 
> `_kt_set_keybinding':
> keytab.o(.text+0x1db): undefined reference to `stderr'
> keytab.o(.text+0x21c): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(keytab.o)(.text+0x269): 
> more undefined references to `stderr' follow
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(keytab.o): In function 
> `_kt_set_keyfn':
> keytab.o(.text+0x28e): undefined reference to `__ctype_b_loc'
> keytab.o(.text+0x2ce): undefined reference to `stderr'
> keytab.o(.text+0x3e2): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(keytab.o): In function 
> `_kt_lookup_keybinding':
> keytab.o(.text+0x4ff): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(keytab.o): In function 
> `_kt_parse_keybinding_string':
> keytab.o(.text+0x699): undefined reference to `__ctype_toupper_loc'
> keytab.o(.text+0x728): undefined reference to `__ctype_toupper_loc'
> keytab.o(.text+0x753): undefined reference to `__ctype_b_loc'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(keytab.o): In function 
> `_kt_set_action':
> keytab.o(.text+0x891): undefined reference to `stderr'
> keytab.o(.text+0x8f2): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(keytab.o): In function 
> `.L213':
> keytab.o(.text+0xae8): undefined reference to `__strtol_internal'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(keytab.o): In function 
> `_kt_add_bindings':
> keytab.o(.text+0xbaa): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(freelist.o): In function 
> `_new_FreeList':
> freelist.o(.text+0x53): undefined reference to `stderr'
> freelist.o(.text+0xad): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(freelist.o): In function 
> `_del_FreeList':
> freelist.o(.text+0x18c): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(strngmem.o): In function 
> `_new_StringMem':
> strngmem.o(.text+0x57): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(strngmem.o)(.text+0xf9): 
> more undefined references to `stderr' follow
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(hash.o): In function 
> `_new_HashNode':
> hash.o(.text+0x5cd): undefined reference to `__ctype_tolower_loc'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(hash.o): In function 
> `_find_HashBucket':
> hash.o(.text+0x6e7): undefined reference to `__ctype_tolower_loc'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(hash.o): In function 
> `_ht_lower_strcmp':
> hash.o(.text+0x7b4): undefined reference to `__ctype_tolower_loc'
> hash.o(.text+0x7d4): undefined reference to `__ctype_tolower_loc'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(history.o): In function 
> `_new_GlHistory':
> history.o(.text+0x2a): undefined reference to `stderr'
> history.o(.text+0xbf): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(history.o): In function 
> `_glh_add_history':
> history.o(.text+0x230): undefined reference to `__ctype_b_loc'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(history.o): In function 
> `_glh_find_backwards':
> history.o(.text+0x4c5): undefined reference to `stderr'
> history.o(.text+0x50f): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(history.o): In function 
> `_glh_find_forwards':
> history.o(.text+0x606): undefined reference to `stderr'
> history.o(.text+0x64b): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(history.o): In function 
> `_glh_cancel_search':
> history.o(.text+0x70a): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(history.o)(.text+0x77a): 
> more undefined references to `stderr' follow
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(history.o): In function 
> `_glh_save_history':
> history.o(.text+0xb8c): undefined reference to `__errno_location'
> history.o(.text+0xc6b): undefined reference to `__errno_location'
> history.o(.text+0xc89): undefined reference to `stderr'
> history.o(.text+0xc9a): undefined reference to `__errno_location'
> history.o(.text+0xcb8): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(history.o): In function 
> `_glh_load_history':
> history.o(.text+0xd0f): undefined reference to `stderr'
> history.o(.text+0xe63): undefined reference to `__strtoul_internal'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(history.o): In function 
> `_glh_cant_load_history':
> history.o(.text+0xf51): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(history.o): In function 
> `_glh_set_group':
> history.o(.text+0xf93): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(history.o): In function 
> `_glh_show_history':
> history.o(.text+0x1191): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(pathutil.o): In function 
> `_new_PathName':
> pathutil.o(.text+0x26): undefined reference to `stderr'
> pathutil.o(.text+0x77): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(pathutil.o)(.text+0x100): 
> more undefined references to `stderr' follow
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(pathutil.o): In function 
> `_pu_pathname_dim':
> pathutil.o(.text+0x458): undefined reference to `__errno_location'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(pathutil.o): In function 
> `_pu_path_is_dir':
> pathutil.o(.text+0x4ab): undefined reference to `__xstat'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(pathutil.o): In function 
> `_pu_path_is_file':
> pathutil.o(.text+0x4f3): undefined reference to `__xstat'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(pathutil.o): In function 
> `_pu_path_is_exe':
> pathutil.o(.text+0x53e): undefined reference to `__xstat'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(pathutil.o): In function 
> `_pu_start_of_path':
> pathutil.o(.text+0x5b5): undefined reference to `stderr'
> pathutil.o(.text+0x5d8): undefined reference to `__ctype_b_loc'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(pathutil.o): In function 
> `_pu_end_of_path':
> pathutil.o(.text+0x64f): undefined reference to `stderr'
> pathutil.o(.text+0x689): undefined reference to `__ctype_b_loc'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(pathutil.o): In function 
> `_pu_file_exists':
> pathutil.o(.text+0x6df): undefined reference to `__xstat'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(expand.o): In function 
> `new_ExpandFile':
> expand.o(.text+0x29): undefined reference to `stderr'
> expand.o(.text+0x115): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(expand.o): In function 
> `ef_expand_file':
> expand.o(.text+0x250): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(expand.o): In function 
> `ef_list_expansions':
> expand.o(.text+0xee9): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(stringrp.o): In function 
> `_new_StringGroup':
> stringrp.o(.text+0x1e): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(stringrp.o)(.text+0x45): 
> more undefined references to `stderr' follow
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(direader.o): In function 
> `_dr_path_is_dir':
> direader.o(.text+0x301): undefined reference to `__xstat'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(homedir.o): In function 
> `_new_HomeDir':
> homedir.o(.text+0x2a): undefined reference to `stderr'
> homedir.o(.text+0x58): undefined reference to `__errno_location'
> homedir.o(.text+0xba): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(homedir.o): In function 
> `_hd_lookup_home_dir':
> homedir.o(.text+0x162): undefined reference to `stderr'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(homedir.o): In function 
> `hd_getpwd':
> homedir.o(.text+0x37e): undefined reference to `__xstat'
> homedir.o(.text+0x397): undefined reference to `__xstat'
> /opt/rtems/i386-rtems/pc386/lib/libtecla_r.a(cplfile.o): In function 
> `_new_CompleteFile':
> cplfile.o(.text+0x29): undefined reference to `stderr'
> collect2: ld returned 1 exit status
> make[3]: *** [example] Error 1
> make[3]: Leaving directory 
> `/usr/local/epics/exampleApp/testApp/src/O.RTEMS-pc386'
> make[2]: *** [install.RTEMS-pc386] Error 2
> make[2]: Leaving directory `/usr/local/epics/exampleApp/testApp/src'
> make[1]: *** [src.install] Error 2
> make[1]: Leaving directory `/usr/local/epics/exampleApp/testApp'
> make: *** [testApp.install] Error 2
> ---------------------
> I really don't know how to handle this. Anyone using EPICS base 3.14.1 
> on rtems target had the same problems?
> All these errors are related to TECLA command line library. Are these 
> TECLA porting errors?
> Thanks for any suggestions!
> best regards,
>  
> ShaoMingchao
>  
>  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 20823 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20030123/8479e368/attachment.bin>


More information about the users mailing list