Re: can't run bridgeporttask


Hi John , Will

Thanks for the quick response.
Some history : ..
First off all I did install RH6.0.(kernel 2.2.5) But ... it was impossible
for me to downgrade it to a kernel 2.0.36 as gcc (version egcs-2.91.66) will
not compile a kernel 2.0...(I have read omewhere it is a known problem)
Next step was to install RH5.0. with gcc 2.7.3. Compiling the RTL patched
kernel gives no problem. However compiling EMC gives linker errors
(unknown references in rcslib.a) in all dir's except RS274NGC. A detailed
log file is atached.
As you (John) said the rcslib was compiled with egcs..someversion.. So I
installed egcs-2.91.66 and did he whole thing all over again. I still have
the same problem but know it gives a linker error "undifined reference to
__eh_pc" in rcslib.

As I am a newbee in linux I think the only solution will be  getting  a
RH5.2 some where.

When I am able to make EMC running I finaly can start developping an ISA
card with some
DAC's , IO's and quadrature encoder-counters on it to, drive my DC-motors.


Luc

../../../rcslib/plat/linux_2_0_36/lib/librcs.a(rcs_prnt.o): In function `set_rcs_print_list_sizing(int, LIST_SIZING_MODE)':
rcs_prnt.o(.text+0xb9): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(rcs_prnt.o): In function `rcs_fputs':
rcs_prnt.o(.text+0x875): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(inetfile.o): In function `inet_file_open':
inetfile.o(.text+0x2d9): undefined reference to `__throw'
inetfile.o(.text+0x2f1): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(cms.o): In function `CMS::open(void)':
cms.o(.text+0x1845): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(cms.o)(.text+0x185d): more undefined references to `__throw' follow
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(cms.o): In function `CMS type_info function':
cms.o(.text+0x2bbb): undefined reference to `__rtti_user'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(cmsdiag.o): In function `CMS::internal_retrieve_diag_info(PHYSMEM_HANDLE *, void *)':
cmsdiag.o(.text+0x865): undefined reference to `__throw'
cmsdiag.o(.text+0x87d): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(cmsdiag.o): In function `CMS_DIAGNOSTICS_INFO type_info function':
cmsdiag.o(.text+0x90d): undefined reference to `__rtti_si'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(cmsdiag.o): In function `CMS_DIAG_HEADER type_info function':
cmsdiag.o(.gnu.linkonce.t.__tf15CMS_DIAG_HEADER+0x17): undefined reference to `__rtti_user'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(cms_aup.o): In function `CMS_ASCII_UPDATER::CMS_ASCII_UPDATER(CMS *)':
cms_aup.o(.text+0xdb): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(cms_aup.o): In function `CMS_ASCII_UPDATER type_info function':
cms_aup.o(.text+0x136d): undefined reference to `__rtti_si'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(nml.o): In function `NML::operator new(unsigned int)':
nml.o(.text+0x101): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(nml.o): In function `create_NML(NML **, int (*)(long, void *, CMS *), char *, void *, void *)':
nml.o(.text+0x395): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(nml.o): In function `NML::reconstruct(int (*)(long, void *, CMS *), char *, void *, void *, int, int)':
nml.o(.text+0x649): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(nml.o): In function `NML::add_to_channel_list(void)':
nml.o(.text+0xbe5): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(nml.o): In function `NML::register_with_server(void)':
nml.o(.text+0xc59): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(nml.o)(.text+0xf05): more undefined references to `__throw' follow
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(nml.o): In function `NML type_info function':
nml.o(.text+0x301b): undefined reference to `__rtti_class'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(nml.o): In function `CMS_USER type_info function':
nml.o(.gnu.linkonce.t.__tf8CMS_USER+0x17): undefined reference to `__rtti_user'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(nml_srv.o): In function `NML_SERVER::NML_SERVER(NML *, int)':
nml_srv.o(.text+0x165): undefined reference to `__throw'
nml_srv.o(.text+0x17d): undefined reference to `__throw'
nml_srv.o(.text+0x195): undefined reference to `__throw'
nml_srv.o(.text+0x1af): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(nml_srv.o): In function `NML_SERVER::add_to_nml_server_list(void)':
nml_srv.o(.text+0x219): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(nml_srv.o)(.text+0x639): more undefined references to `__throw' follow
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(nml_srv.o): In function `NML_SERVER type_info function':
nml_srv.o(.text+0xe7d): undefined reference to `__rtti_si'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(nml_srv.o): In function `NML_SERVER_LOCAL_PORT type_info function':
nml_srv.o(.text+0xeab): undefined reference to `__rtti_class'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(physmem.o): In function `PHYSMEM_HANDLE type_info function':
physmem.o(.text+0x3d7): undefined reference to `__rtti_user'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(cms_dup.o): In function `CMS_DISPLAY_ASCII_UPDATER::CMS_DISPLAY_ASCII_UPDATER(CMS *)':
cms_dup.o(.text+0xeb): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(cms_dup.o): In function `CMS_DISPLAY_ASCII_UPDATER type_info function':
cms_dup.o(.text+0x12b9): undefined reference to `__rtti_si'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(cmd_msg.o): In function `RCS_CMD_CHANNEL::RCS_CMD_CHANNEL(int, int (*)(long, void *, CMS *), char *, void *, void *, int)':
cmd_msg.o(.text+0x141): undefined reference to `__throw'
cmd_msg.o(.text+0x15b): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(cmd_msg.o): In function `RCS_CMD_CHANNEL type_info function':
cmd_msg.o(.text+0x1d7): undefined reference to `__rtti_class'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(stat_msg.o): In function `RCS_STAT_CHANNEL::RCS_STAT_CHANNEL(int, int (*)(long, void *, CMS *), char *, void *, void *, int)':
stat_msg.o(.text+0x1a9): undefined reference to `__throw'
stat_msg.o(.text+0x1c3): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(stat_msg.o): In function `RCS_STAT_CHANNEL type_info function':
stat_msg.o(.text+0x23f): undefined reference to `__rtti_class'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(linklist.o): In function `RCS_LINKED_LIST::RCS_LINKED_LIST(void)':
linklist.o(.text+0xc9): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(linklist.o): In function `RCS_LINKED_LIST::store_at_head(void *, unsigned int, int)':
linklist.o(.text+0x431): undefined reference to `__throw'
linklist.o(.text+0x449): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(linklist.o): In function `RCS_LINKED_LIST::store_at_tail(void *, unsigned int, int)':
linklist.o(.text+0x5c9): undefined reference to `__throw'
linklist.o(.text+0x5e1): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(linklist.o)(.text+0x805): more undefined references to `__throw' follow
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(cms_xup.o): In function `CMS_XDR_UPDATER type_info function':
cms_xup.o(.text+0xfdd): undefined reference to `__rtti_si'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(cms_in.o): In function `CMS::internal_access(void *, long, void *)':
cms_in.o(.text+0x8d): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(cms_up.o): In function `CMS_UPDATER type_info function':
cms_up.o(.text+0x1e7): undefined reference to `__rtti_user'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(cms_cfg.o): In function `load_nml_config_file(char const *)':
cms_cfg.o(.text+0x241): undefined reference to `__throw'
cms_cfg.o(.text+0x259): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(cms_cfg.o): In function `cms_create(CMS **, char *, char *, char *, char *, int, int)':
cms_cfg.o(.text+0x146d): undefined reference to `__throw'
cms_cfg.o(.text+0x1485): undefined reference to `__throw'
cms_cfg.o(.text+0x149d): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(cms_cfg.o)(.text+0x14b5): more undefined references to `__throw' follow
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(shmem.o): In function `SHMEM type_info function':
shmem.o(.text+0xf75): undefined reference to `__rtti_si'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(cms_srv.o): In function `CMS_SERVER_REMOTE_PORT::add_connected_user(int)':
cms_srv.o(.text+0x351): undefined reference to `__throw'
cms_srv.o(.text+0x369): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(cms_srv.o): In function `CMS_SERVER_REMOTE_PORT::get_connected_user(int)':
cms_srv.o(.text+0x3f9): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(cms_srv.o): In function `CMS_SERVER::read_passwd_file(void)':
cms_srv.o(.text+0x839): undefined reference to `__throw'
cms_srv.o(.text+0x851): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(cms_srv.o)(.text+0xd3d): more undefined references to `__throw' follow
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(cms_srv.o): In function `CMS_SERVER type_info function':
cms_srv.o(.text+0x1abb): undefined reference to `__rtti_user'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(cms_srv.o): In function `CMS_SERVER_REMOTE_PORT type_info function':
cms_srv.o(.text+0x1adf): undefined reference to `__rtti_user'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(cms_srv.o): In function `CMS_SERVER_LOCAL_PORT type_info function':
cms_srv.o(.text+0x1b0f): undefined reference to `__rtti_class'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(phantom.o): In function `PHANTOMMEM type_info function':
phantom.o(.text+0xe1): undefined reference to `__rtti_si'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(tcp_srv.o): In function `CMS_SERVER_REMOTE_TCP_PORT::CMS_SERVER_REMOTE_TCP_PORT(CMS_SERVER *)':
tcp_srv.o(.text+0x261): undefined reference to `__throw'
tcp_srv.o(.text+0x27b): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(tcp_srv.o): In function `CMS_SERVER_REMOTE_TCP_PORT::run(void)':
tcp_srv.o(.text+0xc61): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(tcp_srv.o): In function `CMS_SERVER_REMOTE_TCP_PORT::switch_function(CLIENT_TCP_PORT *, CMS_SERVER *, long, long, long)':
tcp_srv.o(.text+0x28d1): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(tcp_srv.o): In function `CMS_SERVER_REMOTE_TCP_PORT::add_subscription_client(int, int, int, CLIENT_TCP_PORT *)':
tcp_srv.o(.text+0x2ab9): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(tcp_srv.o)(.text+0x2ad1): more undefined references to `__throw' follow
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(tcp_srv.o): In function `CMS_SERVER_REMOTE_TCP_PORT type_info function':
tcp_srv.o(.text+0x32a1): undefined reference to `__rtti_si'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(tcpmem.o): In function `TCPMEM::TCPMEM(char *, char *)':
tcpmem.o(.text+0x3c3): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(tcpmem.o): In function `TCPMEM::get_diagnostics_info(void)':
tcpmem.o(.text+0xc85): undefined reference to `__throw'
tcpmem.o(.text+0xc9d): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(tcpmem.o): In function `TCPMEM type_info function':
tcpmem.o(.text+0x379d): undefined reference to `__rtti_si'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(udp_srv.o): In function `CMS_SERVER_REMOTE_UDP_PORT::CMS_SERVER_REMOTE_UDP_PORT(CMS_SERVER *)':
udp_srv.o(.text+0x1e5): undefined reference to `__throw'
udp_srv.o(.text+0x1ff): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(udp_srv.o): In function `CMS_SERVER_REMOTE_UDP_PORT::accept_local_port_cms(CMS *)':
udp_srv.o(.text+0x769): undefined reference to `__throw'
udp_srv.o(.text+0x781): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(udp_srv.o): In function `CMS_SERVER_REMOTE_UDP_PORT::get_client_port(sockaddr_in *)':
udp_srv.o(.text+0xbad): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(udp_srv.o)(.text+0xbc5): more undefined references to `__throw' follow
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(udp_srv.o): In function `CMS_SERVER_REMOTE_UDP_PORT type_info function':
udp_srv.o(.text+0x2261): undefined reference to `__rtti_si'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(udpmem.o): In function `UDPMEM::UDPMEM(char *, char *)':
udpmem.o(.text+0x7f7): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(udpmem.o): In function `UDPMEM type_info function':
udpmem.o(.text+0x1f8d): undefined reference to `__rtti_si'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(locmem.o): In function `LOCMEM::LOCMEM(char *, char *, int, int)':
locmem.o(.text+0x205): undefined reference to `__throw'
locmem.o(.text+0x21f): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(locmem.o): In function `LOCMEM type_info function':
locmem.o(.text+0x2e9): undefined reference to `__rtti_si'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(stcpsvr.o): In function `CMS_SERVER_REMOTE_STCP_PORT::CMS_SERVER_REMOTE_STCP_PORT(CMS_SERVER *)':
stcpsvr.o(.text+0xe9): undefined reference to `__throw'
stcpsvr.o(.text+0x103): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(stcpsvr.o): In function `CMS_SERVER_REMOTE_STCP_PORT type_info function':
stcpsvr.o(.text+0x116d): undefined reference to `__rtti_si'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(stcpmem.o): In function `STCPMEM::STCPMEM(char *, char *)':
stcpmem.o(.text+0x50f): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(stcpmem.o): In function `STCPMEM type_info function':
stcpmem.o(.text+0xf39): undefined reference to `__rtti_si'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(rpcmem.o): In function `RPCMEM::RPCMEM(char *, char *)':
rpcmem.o(.text+0x7b): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(rpcmem.o): In function `RPCMEM type_info function':
rpcmem.o(.text+0xb7d): undefined reference to `__rtti_si'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(rpc_srv.o): In function `CMS_SERVER_REMOTE_RPC_PORT type_info function':
rpc_srv.o(.text+0x451): undefined reference to `__rtti_si'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(filemem.o): In function `FILEMEM::FILEMEM(char *, char *, int, int)':
filemem.o(.text+0x49d): undefined reference to `__throw'
filemem.o(.text+0x4b5): undefined reference to `__throw'
filemem.o(.text+0x4cf): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(filemem.o): In function `FILEMEM type_info function':
filemem.o(.text+0xff5): undefined reference to `__rtti_si'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(ttymem.o): In function `TTYMEM::TTYMEM(char *, char *)':
ttymem.o(.text+0x1df): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(ttymem.o): In function `TTYMEM type_info function':
ttymem.o(.text+0xd8d): undefined reference to `__rtti_si'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(tty_srv.o): In function `CMS_SERVER_REMOTE_TTY_PORT::CMS_SERVER_REMOTE_TTY_PORT(CMS_SERVER *)':
tty_srv.o(.text+0x53): undefined reference to `__throw'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(tty_srv.o): In function `CMS_SERVER_REMOTE_TTY_PORT type_info function':
tty_srv.o(.text+0x85d): undefined reference to `__rtti_si'
../../../rcslib/plat/linux_2_0_36/lib/librcs.a(ttyintf.o): In function `addHandle(char const *, int)':
ttyintf.o(.text+0xd5): undefined reference to `__throw'
make: *** [../../../emc/plat/linux_2_0_36/bin/bridgeporttask] Error 1
test; \
g++ -D__CPLUSPLUS__ -g  -DLINUX -Dlinux_2_0_36 -DPLATNAME=\"linux_2_0_36\" -D__RT__  \
../../../emc/plat/linux_2_0_36/lib/emcmotglb.o ../../../emc/plat/linux_2_0_36/lib/emctask.o ../../../emc/plat/linux_2_0_36/lib/emccanon.o ../../../emc/plat/linux_2_0_36/lib/emctaskmain.o ../../../emc/plat/linux_2_0_36/lib/rs274ngc.o ../../../emc/plat/linux_2_0_36/lib/usrmotintf.o ../../../emc/plat/linux_2_0_36/lib/emcmotlog.o ../../../emc/plat/linux_2_0_36/lib/emcmotutil.o ../../../emc/plat/linux_2_0_36/lib/bridgeporttaskintf.o ../../../emc/plat/linux_2_0_36/lib/libemc.a \
../../../rcslib/plat/linux_2_0_36/lib/librcs.a \
../../../rcslib/plat/linux_2_0_36/lib/libpm.a \
 -o ../../../emc/plat/linux_2_0_36/bin/bridgeporttask


Date Index | Thread Index | Back to archive index | Back to Mailing List Page

Problems or questions? Contact