Andrew,
Yes - Indeed I am trying to cross compile to the Arcturus uC5282 on a Windows XP machine. I use mingw32 as that was recommended on the RTEMS website. I don’t want to be a pioneer per se, but have Windows machine, and more Windows experience that Unix at this point. If I am heading down the wrong path, I will certainly consider switching to a Unix machine.
The .rel arguments were initially not found, so I copied them from
C:\opt\rtems4.10-build\m68k-rtems4.10\uC5282 to
C:\MinGW\msys\1.0\lib.
I copied four files: no-mp.rel, no-part.rel, no-rtmon.rel, and no-signal.rel.
Manually copying files is a crude solution. I have since found how to correctly specify the path.
I modified CONFIG.Common.RTEMS. Below is a snippet of that file:
********************************************************************
#OP_SYS_LDFLAGS += $(CPU_CFLAGS) -u Init \
# $(PROJECT_RELEASE)/lib/no-dpmem.rel \
# $(PROJECT_RELEASE)/lib/no-mp.rel \
# $(PROJECT_RELEASE)/lib/no-part.rel \
# $(PROJECT_RELEASE)/lib/no-signal.rel \
# $(PROJECT_RELEASE)/lib/no-rtmon.rel
#THIS WORKS!
YF_PROJECT_RELEASE=/c/opt/rtems4.10-build/m68k-rtems4.10/uC5282
OP_SYS_LDFLAGS += $(CPU_CFLAGS) -u Init \
$(YF_PROJECT_RELEASE)/lib/no-dpmem.rel \
$(YF_PROJECT_RELEASE)/lib/no-mp.rel \
$(YF_PROJECT_RELEASE)/lib/no-part.rel \
$(YF_PROJECT_RELEASE)/lib/no-signal.rel \
$(YF_PROJECT_RELEASE)/lib/no-rtmon.rel
********************************************************************
That worked.
Since the compiler is looking for librtemscpu.a I (ahem) copied that file from:
C:\opt\rtems4.10-build\m68k-rtems4.10\uC5282\lib\librtemscpu.a to
C:\EPICS\lib\RTEMS-uC5282
also with libnfs.a
The correct solution would be to modify the -L option - I haven't figured out where that is set.
Below are CONFIG.Common.RTEMS, and CONFIG_SITE.Common.RTEMS
File CONFIG.Common.RTEMS
************************************************************************
#
# This file contains definitions for RTEMS builds
#
# Revision-Id: [email protected]
# Author: W. Eric Norum
# University of Saskatchewan
# [email protected]
#
# Contains definitions common to all RTEMS targets
#
# This file is maintained by the build community.
# Sites may override definitions in os/CONFIG_SITE.Common.RTEMS
#-------------------------------------------------------
#
#-------------------------------------------------------
# RTEMS tools are similar to UNIX tools
-include $(CONFIG)/os/CONFIG.Common.UnixCommon
GNU_TARGET_INCLUDE_DIR =
unexport GCC_EXEC_PREFIX
#--------------------------------------------------
# Get RTEMS_BASE definition
-include $(CONFIG)/os/CONFIG_SITE.Common.RTEMS
ifneq ($(CONFIG),$(TOP)/configure)
-include $(TOP)/configure/CONFIG_SITE.Common.RTEMS
endif
#-------------------------------------------------------
# Pick up the RTEMS tool/path definitions from the RTEMS BSP directory.
include $(RTEMS_BASE)/$(RTEMS_TARGET_CPU)-rtems$(RTEMS_VERSION)/$(subst RTEMS-,,$(T_A))/Makefile.inc
include $(RTEMS_CUSTOM)
include $(CONFIG.CC)
#-------------------------------------------------------
# RTEMS cross-development tools
CC = $(RTEMS_TOOLS)/bin/$(CC_FOR_TARGET) $(GCCSPECS) -fasm
CCC = $(RTEMS_TOOLS)/bin/$(CXX)
CPP = $(RTEMS_TOOLS)/bin/$(CC_FOR_TARGET) -x c -E
AR = $(RTEMS_TOOLS)/bin/$(AR_FOR_TARGET)
LD = $(RTEMS_TOOLS)/bin/$(LD_FOR_TARGET) -r
# WAS RANLIB := $(RTEMS_TOOLS)/bin/$(RANLIB)
#RANLIB := $(RANLIB)
RANLIB := /c/opt/rtems-4.10/bin/m68k-rtems4.10-ranlib.exe **** I made this change ****
#-------------------------------------------------------
# Build types
VALID_BUILDS = Ioc
#--------------------------------------------------
# The RTEMS Makefiles redefine several macros, so we have to go
# through the following contortions to get the EPICS flags back.
CFLAGS = $(CROSS_CFLAGS) $(OPT_CFLAGS) $(DEBUG_CFLAGS)\
$(WARN_CFLAGS) $(TARGET_CFLAGS) $(USR_CFLAGS) $(ARCH_DEP_CFLAGS)\
$(CODE_CFLAGS) $(STATIC_CFLAGS) $(OP_SYS_CFLAGS) $(LIBRARY_SRC_CFLAGS)\
$(HDEPENDS_CFLAGS)
CXXFLAGS = $(CROSS_CXXFLAGS) $(OPT_CXXFLAGS)\
$(DEBUG_CXXFLAGS) $(WARN_CXXFLAGS) $(TARGET_CXXFLAGS) $(USR_CXXFLAGS)\
$(ARCH_DEP_CXXFLAGS) $(CODE_CXXFLAGS) $(STATIC_CXXCFLAGS) $(OP_SYS_CXXFLAGS)\
$(LIBRARY_SRC_CFLAGS) $(HDEPENDS_CFLAGS)
LDFLAGS = $(OPT_LDFLAGS) $(TARGET_LDFLAGS) $(USR_LDFLAGS) \
$(ARCH_DEP_LDFLAGS) $(DEBUG_LDFLAGS) $(OP_SYS_LDFLAGS) $(CROSS_LDFLAGS)\
$(RUNTIME_LDFLAGS) $(CODE_LDFLAGS)
LDLIBS = \
$(POSIX_LDLIBS) $(ARCH_DEP_LDLIBS) $(DEBUG_LDLIBS) $(OP_SYS_LDLIBS)
CPPFLAGS += $(CROSS_CPPFLAGS) $(POSIX_CPPFLAGS)\
$(BASE_CPPFLAGS) $(TARGET_CPPFLAGS) $(USR_CPPFLAGS) $(ARCH_DEP_CPPFLAGS)\
$(OP_SYS_CPPFLAGS) $(OP_SYS_INCLUDE_CPPFLAGS) $(CODE_CPPFLAGS)
#--------------------------------------------------
# Although RTEMS uses gcc, it wants to use gcc its own way
CROSS_CPPFLAGS =
CROSS_LDFLAGS =
SHRLIB_CFLAGS =
OPT_CFLAGS_YES = $(CFLAGS_OPTIMIZE_V)
OPT_CXXFLAGS_YES = $(CFLAGS_OPTIMIZE_V)
OPT_CFLAGS_NO = $(CFLAGS_DEBUG_V)
OPT_CXXFLAGS_NO = $(CFLAGS_DEBUG_V)
#--------------------------------------------------
# operating system class (include/os/<os_class>)
OS_CLASS = RTEMS
#--------------------------------------------------
# Operating system flags
OP_SYS_LDLIBS += -lrtemsCom -lc -lrtemscpu -lCom -lnfs -lm
# YF Modifed
# Build fails
#OP_SYS_LDFLAGS += $(CPU_CFLAGS) -u Init \
# $(PROJECT_RELEASE)/lib/no-dpmem.rel \
# $(PROJECT_RELEASE)/lib/no-mp.rel \
# $(PROJECT_RELEASE)/lib/no-part.rel \
# $(PROJECT_RELEASE)/lib/no-signal.rel \
# $(PROJECT_RELEASE)/lib/no-rtmon.rel
#THIS WORKS!
YF_PROJECT_RELEASE=/c/opt/rtems4.10-build/m68k-rtems4.10/uC5282 **** I made this change ****
OP_SYS_LDFLAGS += $(CPU_CFLAGS) -u Init \
$(YF_PROJECT_RELEASE)/lib/no-dpmem.rel \
$(YF_PROJECT_RELEASE)/lib/no-mp.rel \
$(YF_PROJECT_RELEASE)/lib/no-part.rel \
$(YF_PROJECT_RELEASE)/lib/no-signal.rel \
$(YF_PROJECT_RELEASE)/lib/no-rtmon.rel
#--------------------------------------------------
# RTEMS has neither shared libraries nor dynamic loading
STATIC_BUILD=YES
SHARED_LIBRARIES=NO
CODE_CFLAGS =
CODE_CXXFLAGS =
#--------------------------------------------------
# Override the usual RTEMS verbosity from ar
ARFLAGS = rc
#--------------------------------------------------
# Command-line input support
LDLIBS_LIBTECLA = -ltecla_r -lncurses
LDLIBS_READLINE = -lreadline -lncurses
#--------------------------------------------------
# Allow site overrides
-include $(CONFIG)/os/CONFIG_SITE.$(EPICS_HOST_ARCH).RTEMS
************************************************************************
File: CONFIG_SITE.Common.RTEMS
************************************************************************
#
# Site-specific information for all RTEMS targets
#
#-------------------------------------------------------
# Where to find RTEMS
#
##RTEMS_VERSION=4.9.2
##RTEMS_BASE=/usr/local/rtems/rtems-$(RTEMS_VERSION)
RTEMS_VERSION=4.10 **** I made this change ***
RTEMS_BASE=/c/opt/rtems-$(RTEMS_VERSION) **** I made this change ***
# Cross-compile toolchain in $(RTEMS_TOOLS)/bin
#
RTEMS_TOOLS=$(RTEMS_BASE)
# If you're using neither BOOTP/DHCP nor FLASH to pick up your IOC
# network configuration you must uncomment and specify your Internet
# Domain Name here
#
#OP_SYS_CFLAGS += -DRTEMS_NETWORK_CONFIG_DNS_DOMAINNAME=<domainname>
#
# Specify your desired command-line-input library
#
COMMANDLINE_LIBRARY = EPICS
***************************************************************************
Lastly, after copying the .a libraries , I now get many undefined reference errors.
Here is the result of typing "make &>output.txt":
***************************************************************************
make -C ./configure install
make[1]: Entering directory `/c/epics/configure'
make -C O.win32-x86-mingw -f ../Makefile TOP=../.. T_A=win32-x86-mingw install
make[2]: Entering directory `/c/epics/configure/O.win32-x86-mingw'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/c/epics/configure/O.win32-x86-mingw'
make -C O.RTEMS-uC5282 -f ../Makefile TOP=../.. T_A=RTEMS-uC5282 install
make[2]: Entering directory `/c/epics/configure/O.RTEMS-uC5282'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/c/epics/configure/O.RTEMS-uC5282'
make[1]: Leaving directory `/c/epics/configure'
make -C ./src install
make[1]: Entering directory `/c/epics/src'
make -C ./tools install
make[2]: Entering directory `/c/epics/src/tools'
make -C O.win32-x86-mingw -f ../Makefile TOP=../../.. T_A=win32-x86-mingw install
make[3]: Entering directory `/c/epics/src/tools/O.win32-x86-mingw'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/tools/O.win32-x86-mingw'
make -C O.RTEMS-uC5282 -f ../Makefile TOP=../../.. T_A=RTEMS-uC5282 install
make[3]: Entering directory `/c/epics/src/tools/O.RTEMS-uC5282'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/tools/O.RTEMS-uC5282'
make[2]: Leaving directory `/c/epics/src/tools'
make -C ./makeBaseApp install
make[2]: Entering directory `/c/epics/src/makeBaseApp'
make -C O.win32-x86-mingw -f ../Makefile TOP=../../.. T_A=win32-x86-mingw install
make[3]: Entering directory `/c/epics/src/makeBaseApp/O.win32-x86-mingw'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/makeBaseApp/O.win32-x86-mingw'
make -C O.RTEMS-uC5282 -f ../Makefile TOP=../../.. T_A=RTEMS-uC5282 install
make[3]: Entering directory `/c/epics/src/makeBaseApp/O.RTEMS-uC5282'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/makeBaseApp/O.RTEMS-uC5282'
make[2]: Leaving directory `/c/epics/src/makeBaseApp'
make -C ./makeBaseExt install
make[2]: Entering directory `/c/epics/src/makeBaseExt'
make -C O.win32-x86-mingw -f ../Makefile TOP=../../.. T_A=win32-x86-mingw install
make[3]: Entering directory `/c/epics/src/makeBaseExt/O.win32-x86-mingw'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/makeBaseExt/O.win32-x86-mingw'
make -C O.RTEMS-uC5282 -f ../Makefile TOP=../../.. T_A=RTEMS-uC5282 install
make[3]: Entering directory `/c/epics/src/makeBaseExt/O.RTEMS-uC5282'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/makeBaseExt/O.RTEMS-uC5282'
make[2]: Leaving directory `/c/epics/src/makeBaseExt'
make -C ./libCom install
make[2]: Entering directory `/c/epics/src/libCom'
make -C O.win32-x86-mingw -f ../Makefile TOP=../../.. T_A=win32-x86-mingw install
make[3]: Entering directory `/c/epics/src/libCom/O.win32-x86-mingw'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/libCom/O.win32-x86-mingw'
make -C O.RTEMS-uC5282 -f ../Makefile TOP=../../.. T_A=RTEMS-uC5282 install
make[3]: Entering directory `/c/epics/src/libCom/O.RTEMS-uC5282'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/libCom/O.RTEMS-uC5282'
make[2]: Leaving directory `/c/epics/src/libCom'
make -C ./toolsComm install
make[2]: Entering directory `/c/epics/src/toolsComm'
make -C ./antelope install
make[3]: Entering directory `/c/epics/src/toolsComm/antelope'
make -C O.win32-x86-mingw -f ../Makefile TOP=../../../.. T_A=win32-x86-mingw install
make[4]: Entering directory `/c/epics/src/toolsComm/antelope/O.win32-x86-mingw'
make[4]: Nothing to be done for `install'.
make[4]: Leaving directory `/c/epics/src/toolsComm/antelope/O.win32-x86-mingw'
make -C O.RTEMS-uC5282 -f ../Makefile TOP=../../../.. T_A=RTEMS-uC5282 install
make[4]: Entering directory `/c/epics/src/toolsComm/antelope/O.RTEMS-uC5282'
make[4]: Nothing to be done for `install'.
make[4]: Leaving directory `/c/epics/src/toolsComm/antelope/O.RTEMS-uC5282'
make[3]: Leaving directory `/c/epics/src/toolsComm/antelope'
make -C ./flex install
make[3]: Entering directory `/c/epics/src/toolsComm/flex'
make -C O.win32-x86-mingw -f ../Makefile TOP=../../../.. T_A=win32-x86-mingw install
make[4]: Entering directory `/c/epics/src/toolsComm/flex/O.win32-x86-mingw'
make[4]: Nothing to be done for `install'.
make[4]: Leaving directory `/c/epics/src/toolsComm/flex/O.win32-x86-mingw'
make -C O.RTEMS-uC5282 -f ../Makefile TOP=../../../.. T_A=RTEMS-uC5282 install
make[4]: Entering directory `/c/epics/src/toolsComm/flex/O.RTEMS-uC5282'
make[4]: Nothing to be done for `install'.
make[4]: Leaving directory `/c/epics/src/toolsComm/flex/O.RTEMS-uC5282'
make[3]: Leaving directory `/c/epics/src/toolsComm/flex'
make[2]: Leaving directory `/c/epics/src/toolsComm'
make -C ./ca install
make[2]: Entering directory `/c/epics/src/ca'
make -C O.win32-x86-mingw -f ../Makefile TOP=../../.. T_A=win32-x86-mingw install
make[3]: Entering directory `/c/epics/src/ca/O.win32-x86-mingw'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/ca/O.win32-x86-mingw'
make -C O.RTEMS-uC5282 -f ../Makefile TOP=../../.. T_A=RTEMS-uC5282 install
make[3]: Entering directory `/c/epics/src/ca/O.RTEMS-uC5282'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/ca/O.RTEMS-uC5282'
make[2]: Leaving directory `/c/epics/src/ca'
make -C ./dbStatic install
make[2]: Entering directory `/c/epics/src/dbStatic'
make -C O.win32-x86-mingw -f ../Makefile TOP=../../.. T_A=win32-x86-mingw install
make[3]: Entering directory `/c/epics/src/dbStatic/O.win32-x86-mingw'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/dbStatic/O.win32-x86-mingw'
make -C O.RTEMS-uC5282 -f ../Makefile TOP=../../.. T_A=RTEMS-uC5282 install
make[3]: Entering directory `/c/epics/src/dbStatic/O.RTEMS-uC5282'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/dbStatic/O.RTEMS-uC5282'
make[2]: Leaving directory `/c/epics/src/dbStatic'
make -C ./registry install
make[2]: Entering directory `/c/epics/src/registry'
make -C O.win32-x86-mingw -f ../Makefile TOP=../../.. T_A=win32-x86-mingw install
make[3]: Entering directory `/c/epics/src/registry/O.win32-x86-mingw'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/registry/O.win32-x86-mingw'
make -C O.RTEMS-uC5282 -f ../Makefile TOP=../../.. T_A=RTEMS-uC5282 install
make[3]: Entering directory `/c/epics/src/registry/O.RTEMS-uC5282'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/registry/O.RTEMS-uC5282'
make[2]: Leaving directory `/c/epics/src/registry'
make -C ./bpt install
make[2]: Entering directory `/c/epics/src/bpt'
make -C O.win32-x86-mingw -f ../Makefile TOP=../../.. T_A=win32-x86-mingw install
make[3]: Entering directory `/c/epics/src/bpt/O.win32-x86-mingw'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/bpt/O.win32-x86-mingw'
make -C O.RTEMS-uC5282 -f ../Makefile TOP=../../.. T_A=RTEMS-uC5282 install
make[3]: Entering directory `/c/epics/src/bpt/O.RTEMS-uC5282'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/bpt/O.RTEMS-uC5282'
make[2]: Leaving directory `/c/epics/src/bpt'
make -C ./db install
make[2]: Entering directory `/c/epics/src/db'
make -C O.win32-x86-mingw -f ../Makefile TOP=../../.. T_A=win32-x86-mingw install
make[3]: Entering directory `/c/epics/src/db/O.win32-x86-mingw'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/db/O.win32-x86-mingw'
make -C O.RTEMS-uC5282 -f ../Makefile TOP=../../.. T_A=RTEMS-uC5282 install
make[3]: Entering directory `/c/epics/src/db/O.RTEMS-uC5282'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/db/O.RTEMS-uC5282'
make[2]: Leaving directory `/c/epics/src/db'
make -C ./as install
make[2]: Entering directory `/c/epics/src/as'
make -C O.win32-x86-mingw -f ../Makefile TOP=../../.. T_A=win32-x86-mingw install
make[3]: Entering directory `/c/epics/src/as/O.win32-x86-mingw'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/as/O.win32-x86-mingw'
make -C O.RTEMS-uC5282 -f ../Makefile TOP=../../.. T_A=RTEMS-uC5282 install
make[3]: Entering directory `/c/epics/src/as/O.RTEMS-uC5282'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/as/O.RTEMS-uC5282'
make[2]: Leaving directory `/c/epics/src/as'
make -C ./util install
make[2]: Entering directory `/c/epics/src/util'
make -C O.win32-x86-mingw -f ../Makefile TOP=../../.. T_A=win32-x86-mingw install
make[3]: Entering directory `/c/epics/src/util/O.win32-x86-mingw'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/util/O.win32-x86-mingw'
make -C O.RTEMS-uC5282 -f ../Makefile TOP=../../.. T_A=RTEMS-uC5282 install
make[3]: Entering directory `/c/epics/src/util/O.RTEMS-uC5282'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/util/O.RTEMS-uC5282'
make[2]: Leaving directory `/c/epics/src/util'
make -C ./dbtools install
make[2]: Entering directory `/c/epics/src/dbtools'
make -C O.win32-x86-mingw -f ../Makefile TOP=../../.. T_A=win32-x86-mingw install
make[3]: Entering directory `/c/epics/src/dbtools/O.win32-x86-mingw'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/dbtools/O.win32-x86-mingw'
make -C O.RTEMS-uC5282 -f ../Makefile TOP=../../.. T_A=RTEMS-uC5282 install
make[3]: Entering directory `/c/epics/src/dbtools/O.RTEMS-uC5282'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/dbtools/O.RTEMS-uC5282'
make[2]: Leaving directory `/c/epics/src/dbtools'
make -C ./catools install
make[2]: Entering directory `/c/epics/src/catools'
make -C O.win32-x86-mingw -f ../Makefile TOP=../../.. T_A=win32-x86-mingw install
make[3]: Entering directory `/c/epics/src/catools/O.win32-x86-mingw'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/catools/O.win32-x86-mingw'
make -C O.RTEMS-uC5282 -f ../Makefile TOP=../../.. T_A=RTEMS-uC5282 install
make[3]: Entering directory `/c/epics/src/catools/O.RTEMS-uC5282'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/catools/O.RTEMS-uC5282'
make[2]: Leaving directory `/c/epics/src/catools'
make -C ./rsrv install
make[2]: Entering directory `/c/epics/src/rsrv'
make -C O.win32-x86-mingw -f ../Makefile TOP=../../.. T_A=win32-x86-mingw install
make[3]: Entering directory `/c/epics/src/rsrv/O.win32-x86-mingw'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/rsrv/O.win32-x86-mingw'
make -C O.RTEMS-uC5282 -f ../Makefile TOP=../../.. T_A=RTEMS-uC5282 install
make[3]: Entering directory `/c/epics/src/rsrv/O.RTEMS-uC5282'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/rsrv/O.RTEMS-uC5282'
make[2]: Leaving directory `/c/epics/src/rsrv'
make -C ./rec install
make[2]: Entering directory `/c/epics/src/rec'
make -C O.win32-x86-mingw -f ../Makefile TOP=../../.. T_A=win32-x86-mingw install
make[3]: Entering directory `/c/epics/src/rec/O.win32-x86-mingw'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/rec/O.win32-x86-mingw'
make -C O.RTEMS-uC5282 -f ../Makefile TOP=../../.. T_A=RTEMS-uC5282 install
make[3]: Entering directory `/c/epics/src/rec/O.RTEMS-uC5282'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/rec/O.RTEMS-uC5282'
make[2]: Leaving directory `/c/epics/src/rec'
make -C ./misc install
make[2]: Entering directory `/c/epics/src/misc'
make -C O.win32-x86-mingw -f ../Makefile TOP=../../.. T_A=win32-x86-mingw install
make[3]: Entering directory `/c/epics/src/misc/O.win32-x86-mingw'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/misc/O.win32-x86-mingw'
make -C O.RTEMS-uC5282 -f ../Makefile TOP=../../.. T_A=RTEMS-uC5282 install
make[3]: Entering directory `/c/epics/src/misc/O.RTEMS-uC5282'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/misc/O.RTEMS-uC5282'
make[2]: Leaving directory `/c/epics/src/misc'
make -C ./dev install
make[2]: Entering directory `/c/epics/src/dev'
make -C ./softDev install
make[3]: Entering directory `/c/epics/src/dev/softDev'
make -C O.win32-x86-mingw -f ../Makefile TOP=../../../.. T_A=win32-x86-mingw install
make[4]: Entering directory `/c/epics/src/dev/softDev/O.win32-x86-mingw'
make[4]: Nothing to be done for `install'.
make[4]: Leaving directory `/c/epics/src/dev/softDev/O.win32-x86-mingw'
make -C O.RTEMS-uC5282 -f ../Makefile TOP=../../../.. T_A=RTEMS-uC5282 install
make[4]: Entering directory `/c/epics/src/dev/softDev/O.RTEMS-uC5282'
make[4]: Nothing to be done for `install'.
make[4]: Leaving directory `/c/epics/src/dev/softDev/O.RTEMS-uC5282'
make[3]: Leaving directory `/c/epics/src/dev/softDev'
make -C ./testDev install
make[3]: Entering directory `/c/epics/src/dev/testDev'
make -C O.win32-x86-mingw -f ../Makefile TOP=../../../.. T_A=win32-x86-mingw install
make[4]: Entering directory `/c/epics/src/dev/testDev/O.win32-x86-mingw'
make[4]: Nothing to be done for `install'.
make[4]: Leaving directory `/c/epics/src/dev/testDev/O.win32-x86-mingw'
make -C O.RTEMS-uC5282 -f ../Makefile TOP=../../../.. T_A=RTEMS-uC5282 install
make[4]: Entering directory `/c/epics/src/dev/testDev/O.RTEMS-uC5282'
make[4]: Nothing to be done for `install'.
make[4]: Leaving directory `/c/epics/src/dev/testDev/O.RTEMS-uC5282'
make[3]: Leaving directory `/c/epics/src/dev/testDev'
make[2]: Leaving directory `/c/epics/src/dev'
make -C ./vxWorks install
make[2]: Entering directory `/c/epics/src/vxWorks'
make -C O.win32-x86-mingw -f ../Makefile TOP=../../.. T_A=win32-x86-mingw install
make[3]: Entering directory `/c/epics/src/vxWorks/O.win32-x86-mingw'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/vxWorks/O.win32-x86-mingw'
make -C O.RTEMS-uC5282 -f ../Makefile TOP=../../.. T_A=RTEMS-uC5282 install
make[3]: Entering directory `/c/epics/src/vxWorks/O.RTEMS-uC5282'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/vxWorks/O.RTEMS-uC5282'
make[2]: Leaving directory `/c/epics/src/vxWorks'
make -C ./RTEMS install
make[2]: Entering directory `/c/epics/src/RTEMS'
make -C ./base install
make[3]: Entering directory `/c/epics/src/RTEMS/base'
make -C O.win32-x86-mingw -f ../Makefile TOP=../../../.. T_A=win32-x86-mingw install
make[4]: Entering directory `/c/epics/src/RTEMS/base/O.win32-x86-mingw'
make[4]: Nothing to be done for `install'.
make[4]: Leaving directory `/c/epics/src/RTEMS/base/O.win32-x86-mingw'
make -C O.RTEMS-uC5282 -f ../Makefile TOP=../../../.. T_A=RTEMS-uC5282 install
make[4]: Entering directory `/c/epics/src/RTEMS/base/O.RTEMS-uC5282'
make[4]: Nothing to be done for `install'.
make[4]: Leaving directory `/c/epics/src/RTEMS/base/O.RTEMS-uC5282'
make[3]: Leaving directory `/c/epics/src/RTEMS/base'
make[2]: Leaving directory `/c/epics/src/RTEMS'
make -C libCom/test install
make[2]: Entering directory `/c/epics/src/libCom/test'
make -C O.win32-x86-mingw -f ../Makefile TOP=../../../.. T_A=win32-x86-mingw install
make[3]: Entering directory `/c/epics/src/libCom/test/O.win32-x86-mingw'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/c/epics/src/libCom/test/O.win32-x86-mingw'
make -C O.RTEMS-uC5282 -f ../Makefile TOP=../../../.. T_A=RTEMS-uC5282 install
make[3]: Entering directory `/c/epics/src/libCom/test/O.RTEMS-uC5282'
/c/opt/rtems-4.10/bin/m68k-rtems4.10-g++ -o rtemsTestHarness -static -L/c/epics/lib/RTEMS-uC5282 -mcpu=5282 -u Init /c/opt/rtems4.10-build/m68k-rtems4.10/uC5282/lib/no-dpmem.rel /c/opt/rtems4.10-build/m68k-rtems4.10/uC5282/lib/no-mp.rel /c/opt/rtems4.10-build/m68k-rtems4.10/uC5282/lib/no-part.rel /c/opt/rtems4.10-build/m68k-rtems4.10/uC5282/lib/no-signal.rel /c/opt/rtems4.10-build/m68k-rtems4.10/uC5282/lib/no-rtmon.rel rtemsTestHarness.o epicsCalcTest.o epicsAlgorithmTest.o epicsMathTest.o epicsEllTest.o epicsErrlogTest.o epicsStdioTest.o epicsStringTest.o epicsTimeTest.o epicsThreadTest.o epicsThreadOnceTest.o epicsThreadPriorityTest.o epicsThreadPrivateTest.o epicsExitTest.o epicsTimerTest.o ringPointerTest.o ringBytesTest.o epicsEventTest.o epicsMutexTest.o epicsExceptionTest.o macEnvExpandTest.o macLibTest.o taskwdTest.o blockingSockTest.o epicsMessageQueueTest.o epicsRunLibComTests.o epicsThreadPerform.o epicsMaxThreads.o buckTest.o cvtFastPerform.o !
-lCom -lm -lrtemsCom -lc -lrtemscpu -lCom -lnfs -lm
c:/epics/lib/RTEMS-uC5282\librtemscpu.a(libcsupport_a-getpid.o): In function `_getpid_r':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libcsupport/../../../../../../rtems-4.10.2/c/src/../../cpukit/libcsupport/src/getpid.c:43: multiple definition of `_getpid_r'
c:/opt/rtems-4.10/bin/../lib/gcc/m68k-rtems4.10/4.4.7/../../../../m68k-rtems4.10/lib/m5208/crt0.o:/builddir/build/BUILD/rtems-4.10-m68k-rtems4.10-gcc-4.4.7/build/m68k-rtems4.10/m5208/newlib/libc/sys/rtems/../../../../../../../gcc-4.4.7/newlib/libc/sys/rtems/crt0.c:95: first defined here
c:/opt/rtems-4.10/bin/../lib/gcc/m68k-rtems4.10/4.4.7/../../../../m68k-rtems4.10/bin/ld.exe: warning: cannot find entry symbol _start; defaulting to 80000074
c:/epics/lib/RTEMS-uC5282\librtemsCom.a(rtems_config.o):(.data+0x3a): undefined reference to `bsp_boot_cmdline'
c:/epics/lib/RTEMS-uC5282\librtemsCom.a(rtems_config.o):(.data+0x3e): undefined reference to `console_initialize'
c:/epics/lib/RTEMS-uC5282\librtemsCom.a(rtems_config.o):(.data+0x42): undefined reference to `console_open'
c:/epics/lib/RTEMS-uC5282\librtemsCom.a(rtems_config.o):(.data+0x46): undefined reference to `console_close'
c:/epics/lib/RTEMS-uC5282\librtemsCom.a(rtems_config.o):(.data+0x4a): undefined reference to `console_read'
c:/epics/lib/RTEMS-uC5282\librtemsCom.a(rtems_config.o):(.data+0x4e): undefined reference to `console_write'
c:/epics/lib/RTEMS-uC5282\librtemsCom.a(rtems_config.o):(.data+0x52): undefined reference to `console_control'
c:/epics/lib/RTEMS-uC5282\librtemsCom.a(rtems_config.o):(.data+0x56): undefined reference to `Clock_initialize'
c:/epics/lib/RTEMS-uC5282\librtemsCom.a(rtems_config.o):(.data+0x6e): undefined reference to `rtc_initialize'
c:/epics/lib/RTEMS-uC5282\librtemsCom.a(rtems_config.o):(.data+0x72): undefined reference to `rtc_open'
c:/epics/lib/RTEMS-uC5282\librtemsCom.a(rtems_config.o):(.data+0x76): undefined reference to `rtc_close'
c:/epics/lib/RTEMS-uC5282\librtemsCom.a(rtems_config.o):(.data+0x7a): undefined reference to `rtc_read'
c:/epics/lib/RTEMS-uC5282\librtemsCom.a(rtems_config.o):(.data+0x7e): undefined reference to `rtc_write'
c:/epics/lib/RTEMS-uC5282\librtemsCom.a(rtems_config.o):(.data+0x82): undefined reference to `rtc_control'
c:/epics/lib/RTEMS-uC5282\librtemsCom.a(rtems_config.o):(.data+0xee): undefined reference to `bsp_idle_thread'
c:/epics/lib/RTEMS-uC5282\librtemsCom.a(rtems_netconfig.o):(.data+0x54): undefined reference to `rtems_fec_driver_attach'
c:/epics/lib/RTEMS-uC5282\librtemscpu.a(libscorecpu_a-cpu.o): In function `_CPU_ISR_install_raw_handler':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\score\cpu\m68k/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/score/cpu/m68k/cpu.c:100: undefined reference to `_VBR'
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\score\cpu\m68k/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/score/cpu/m68k/cpu.c:101: undefined reference to `_VBR'
c:/epics/lib/RTEMS-uC5282\librtemscpu.a(libcsupport_a-vprintk.o): In function `vprintk':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libcsupport/../../../../../../rtems-4.10.2/c/src/../../cpukit/libcsupport/src/vprintk.c:60: undefined reference to `BSP_output_char'
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libcsupport/../../../../../../rtems-4.10.2/c/src/../../cpukit/libcsupport/src/vprintk.c:137: undefined reference to `BSP_output_char'
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libcsupport/../../../../../../rtems-4.10.2/c/src/../../cpukit/libcsupport/src/vprintk.c:85: undefined reference to `BSP_output_char'
c:/epics/lib/RTEMS-uC5282\librtemscpu.a(libcsupport_a-vprintk.o): In function `printNum':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libcsupport/../../../../../../rtems-4.10.2/c/src/../../cpukit/libcsupport/src/vprintk.c:186: undefined reference to `BSP_output_char'
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libcsupport/../../../../../../rtems-4.10.2/c/src/../../cpukit/libcsupport/src/vprintk.c:189: undefined reference to `BSP_output_char'
c:/epics/lib/RTEMS-uC5282\librtemscpu.a(libcsupport_a-vprintk.o):c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libcsupport/../../../../../../rtems-4.10.2/c/src/../../cpukit/libcsupport/src/vprintk.c:189: more undefined references to `BSP_output_char' follow
c:/epics/lib/RTEMS-uC5282\librtemscpu.a(libscore_a-threadhandler.o): In function `_Thread_Handler':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\score/../../../../../../rtems-4.10.2/c/src/../../cpukit/score/src/threadhandler.c:140: undefined reference to `_init'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-nfs.o): In function `nfs_do_evalpath':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/nfs.c:1619: undefined reference to `rtems_filesystem_null_handlers'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-nfs.o): In function `nfscall':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/nfs.c:1130: undefined reference to `clnt_sperrno'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-nfs.o): In function `nfs_do_readlink':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/nfs.c:2281: undefined reference to `xdr_free'
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/nfs.c:2287: undefined reference to `xdr_free'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-nfs.o): In function `xdr_strbuf':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/nfs.c:220: undefined reference to `xdr_string'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-nfs.o): In function `xdr_readlinkres_strbuf':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/nfs.c:240: undefined reference to `xdr_string'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-nfs.o): In function `xdr_dir_info':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/nfs.c:346: undefined reference to `xdr_pointer'
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/nfs.c:350: undefined reference to `xdr_bool'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-nfs.o): In function `xdr_dir_info_entry':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/nfs.c:281: undefined reference to `xdr_u_int'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-nfs.o): In function `mntcall':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/nfs.c:1309: undefined reference to `xdr_void'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-nfs.o): In function `nfs_fsunmount_me':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/nfs.c:2101: undefined reference to `clnt_sperrno'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-nfs.o): In function `resolve_path':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/nfs.c:3376: undefined reference to `rtems_libio_set_private_env'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-nfs.o): In function `nfsCleanup':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/nfs.c:1064: undefined reference to `rtems_io_unregister_driver'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-nfs.o): In function `nfsInit':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/nfs.c:970: undefined reference to `rtems_io_register_driver'
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/nfs.c:991: undefined reference to `xdr_sizeof'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-nfs.o): In function `rtems_nfs_initialize':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/nfs.c:1971: undefined reference to `xdr_void'
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/nfs.c:1971: undefined reference to `xdr_void'
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/nfs.c:1960: undefined reference to `clnt_sperrno'
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/nfs.c:2003: undefined reference to `clnt_sperrno'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-nfs_prot_xdr.o): In function `xdr_statfsokres':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/proto/nfs_prot_xdr.c:594: undefined reference to `xdr_u_int'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-nfs_prot_xdr.o): In function `xdr_nfstime':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/proto/nfs_prot_xdr.c:42: undefined reference to `xdr_u_int'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-nfs_prot_xdr.o): In function `xdr_sattr':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/proto/nfs_prot_xdr.c:232: undefined reference to `xdr_u_int'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-nfs_prot_xdr.o): In function `xdr_dirlist':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/proto/nfs_prot_xdr.c:521: undefined reference to `xdr_pointer'
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/proto/nfs_prot_xdr.c:523: undefined reference to `xdr_bool'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-nfs_prot_xdr.o): In function `xdr_nfscookie':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/proto/nfs_prot_xdr.c:487: undefined reference to `xdr_opaque'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-nfs_prot_xdr.o): In function `xdr_nfs_fh':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/proto/nfs_prot_xdr.c:34: undefined reference to `xdr_opaque'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-nfs_prot_xdr.o): In function `xdr_readdirargs':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/proto/nfs_prot_xdr.c:499: undefined reference to `xdr_u_int'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-nfs_prot_xdr.o): In function `xdr_readargs':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/proto/nfs_prot_xdr.c:346: undefined reference to `xdr_u_int'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-nfs_prot_xdr.o): In function `xdr_writeargs':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/proto/nfs_prot_xdr.c:431: undefined reference to `xdr_u_int'
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/proto/nfs_prot_xdr.c:437: undefined reference to `xdr_bytes'
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/proto/nfs_prot_xdr.c:437: undefined reference to `xdr_bytes'
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/proto/nfs_prot_xdr.c:437: undefined reference to `xdr_bytes'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-nfs_prot_xdr.o): In function `xdr_nfspath':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/proto/nfs_prot_xdr.c:258: undefined reference to `xdr_string'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-nfs_prot_xdr.o): In function `xdr_filename':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/proto/nfs_prot_xdr.c:250: undefined reference to `xdr_string'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-nfs_prot_xdr.o): In function `xdr_entry':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/proto/nfs_prot_xdr.c:507: undefined reference to `xdr_u_int'
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/proto/nfs_prot_xdr.c:513: undefined reference to `xdr_pointer'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-nfs_prot_xdr.o): In function `xdr_ftype':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/proto/nfs_prot_xdr.c:26: undefined reference to `xdr_enum'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-nfs_prot_xdr.o): In function `xdr_fattr':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/proto/nfs_prot_xdr.c:149: undefined reference to `xdr_u_int'
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/proto/nfs_prot_xdr.c:105: undefined reference to `xdr_u_int'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-nfs_prot_xdr.o): In function `xdr_readokres':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/proto/nfs_prot_xdr.c:360: undefined reference to `xdr_bytes'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-nfs_prot_xdr.o): In function `xdr_nfsstat':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/proto/nfs_prot_xdr.c:18: undefined reference to `xdr_enum'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-mount_prot_xdr.o): In function `xdr_exports':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/proto/mount_prot_xdr.c:89: undefined reference to `xdr_pointer'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-mount_prot_xdr.o): In function `xdr_groups':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/proto/mount_prot_xdr.c:71: undefined reference to `xdr_pointer'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-mount_prot_xdr.o): In function `xdr_mountlist':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/proto/mount_prot_xdr.c:51: undefined reference to `xdr_pointer'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-mount_prot_xdr.o): In function `xdr_name':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/proto/mount_prot_xdr.c:43: undefined reference to `xdr_string'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-mount_prot_xdr.o): In function `xdr_dirpath':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/proto/mount_prot_xdr.c:35: undefined reference to `xdr_string'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-mount_prot_xdr.o): In function `xdr_fhandle':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/proto/mount_prot_xdr.c:11: undefined reference to `xdr_opaque'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-mount_prot_xdr.o): In function `xdr_fhstatus':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/proto/mount_prot_xdr.c:19: undefined reference to `xdr_u_int'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-rpcio.o): In function `rpcUdpInit':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:949: undefined reference to `bindresvport'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-rpcio.o): In function `rpcUdpRcv':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:874: undefined reference to `xdr_replymsg'
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:870: undefined reference to `_null_auth'
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:870: undefined reference to `_null_auth'
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:870: undefined reference to `_null_auth'
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:876: undefined reference to `_seterr_reply'
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:885: undefined reference to `xdr_opaque_auth'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-rpcio.o): In function `rpcUdpXactCreate':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:687: undefined reference to `xdrmem_create'
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:689: undefined reference to `xdr_callhdr'
c:/epics/lib/RTEMS-uC5282\libnfs.a(libnfs_a-rpcio.o): In function `rpcUdpServerCreate':
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:517: undefined reference to `getgroups'
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:533: undefined reference to `authunix_create'
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:552: undefined reference to `xdr_u_short'
c:\opt\rtems4.10-build\m68k-rtems4.10\c\uC5282\cpukit\libfs\src\nfsclient/../../../../../../../../rtems-4.10.2/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:552: undefined reference to `xdr_pmap'
collect2: ld returned 1 exit status
make[3]: *** [rtemsTestHarness] Error 1
make[3]: Leaving directory `/c/epics/src/libCom/test/O.RTEMS-uC5282'
make[2]: *** [install.RTEMS-uC5282] Error 2
make[2]: Leaving directory `/c/epics/src/libCom/test'
make[1]: *** [libCom/test.install] Error 2
make[1]: Leaving directory `/c/epics/src'
make: *** [src.install] Error 2
*****************************************************************************************************
Thanks,
- Yoram Fisher -
> I am attempting to build EPICS 3.14.12.2 on a Windows XP machine using
> mingw32. EPICS_HOST_ARCH = win32-x86-mingw
>
> I type"make" at the top level directory (c:\epics). Make is GNU Make
> version 3.81 I get an error: /bin/ld.exe: cannot find -lrtemscpu
I see that you're trying to cross-compile for the RTEMS-uC5282 target on your
win32-x86-mingw host. I have to admit I've not heard of anyone doing that
before, although there's no fundamental reason that it won't work. It might
need a little tweaking of the configuration files though since you're a
pioneer in this AFAIK.
> The closest matching file I have on my machine is librtemscpu.a.
That's actually the file it's looking for, the -lrtemscpu option tells the
compiler to link the code with a library called librtemscpu.a which it will
find by looking through the paths given it in -L options or through its built-
in search path. Let's look at the command line you posted:
> /c/opt/rtems-4.10/bin/m68k-rtems4.10-g++ -o rtemsTestHarness -static
> -L/c/epics/lib/RTEMS-uC5282 -mcpu=5282 -u Init /lib/no-dpmem.rel
> /lib/no-mp.rel /lib/no-part.rel /lib/no-signal.rel /lib/no-rtmon.rel
> rtemsTestHarness.o epicsCalcTest.o epicsAlgorithmTest.o
> epicsMathTest.o epicsEllTest.o epicsErrlog Test.o epicsStdioTest.o
> epicsStringTest.o epicsTimeTest.o epicsThreadTest.o epic sThreadOnceTest.o
> epicsThreadPriorityTest.o epicsThreadPrivateTest.o epicsExitTe st.o
> epicsTimerTest.o ringPointerTest.o ringBytesTest.o epicsEventTest.o
> epicsMu texTest.o epicsExceptionTest.o macEnvExpandTest.o macLibTest.o
> taskwdTest.o bloc kingSockTest.o epicsMessageQueueTest.o
> epicsRunLibComTests.o epicsThreadPerform. o epicsMaxThreads.o buckTest.o
> cvtFastPerform.o -lCom -lm -lrtemsCom -l c -lrtemscpu -lCom -lnfs
> -lm
> c:/opt/rtems-4.10/bin/../lib/gcc/m68k-rtems4.10/4.4.7/../../../../m68k-rtem
> s4.10/bin/ld.exe: cannot find -lrtemscpu
When I build that same file on my Linux system those .rel arguments starting
at the end of the second line above all begin with the full path to my RTEMS
installation. I'm not sure if that's relevant, but it looks a little fishy to
me (unless you really have several files called no-*.rel in your /lib
directory).
You might want to post the contents of the CONFIG*RTEMS-uc5282 files you had
to create in the base/configure/os directory to get the build to go as far as
you have, I suspect there's something missing there and with that information
we should be able to help you fix this.
- Andrew
--
Never interrupt your enemy when he is making a mistake.
-- Napoleon Bonaparte
- Replies:
- Re: EPICS Compile error: cannot find -lrtemscpu on Windows using mingw Eric Norum
- References:
- EPICS Compile error: cannot find -lrtemscpu on Windows using mingw Yoram Fisher
- Re: EPICS Compile error: cannot find -lrtemscpu on Windows using mingw Andrew Johnson
- Navigate by Date:
- Prev:
RE: a MEDM replacement Mezger Anton Christian
- Next:
Re: EPICS Compile error: cannot find -lrtemscpu on Windows using mingw Eric Norum
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: EPICS Compile error: cannot find -lrtemscpu on Windows using mingw Andrew Johnson
- Next:
Re: EPICS Compile error: cannot find -lrtemscpu on Windows using mingw Eric Norum
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|