Did you first build EPICS base, which according to your output should be located in:
../../../../base-3.14.10/include
How did you define EPICS_BASE in your IOC-tree configure/RELEASE file? It looks to me like you defined it with a relative path? Try defining it with an absolute path.
What is your EPICS_HOST_ARCH environment variable, linux-x86?
Does the file ../../../../base-3.14.10/lib/linux-x86/librecIoc.a exist? That's where it should be located according to the output I see.
Normally you edit the CONFIG_SITE in EPICS base configure/ directory to set global settings for all EPICS applications at your site.
Mark
________________________________
From: [email protected] on behalf of Florian Feldbauer
Sent: Thu 9/30/2010 7:04 AM
To: [email protected]
Subject: Cross compiling EPICS for cris v10
Hello,
I'm triing to cross compile EPICS for a cris v10 architecture but having
some problems.
We are using here EPICS base 3.14.10 and synApps 5.4.1 (StreamDevice and
Asyn).
According to the README.cris in the EPICS bsae documentations one has to
edit the CONFIG_SITE files. Which one? The ones in the EPICS base
directory, or the ones in the directory of my IOC-tree?
I've tried the second option and ending up with the error message
make[3]: Entering directory
`/usr/Epics/slowCtrl_etrax/slowCtrlApp/src/O.linux-cris_v10'
/usr/local/cris//bin/cris-axis-linux-gnu-gcc -c
-D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500
-D_cris_ -mlinux -DUNIX -D_BSD_SOURCE -Dlinux -D_REENTRANT -ansi -O3
-Wall -mno-mul-bug-workaround -march=v10 -g -mlinux -fPIC -I.
-I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include
-I../../../../base-3.14.10/include/os/Linux
-I../../../../base-3.14.10/include
-I../../../../synApps/synApps_5_4_1/support/sscan/2-6-4/include
-I../../../../synApps/synApps_5_4_1/support/calc/2-7/include
-I/usr/Epics/synApps/synApps_5_4_1/support/asyn/4-10/include
-I/usr/Epics/synApps/synApps_5_4_1/support/stream/2-4/include
-isystem /usr/local/devboard-R2_20//target/cris-axis-linux-gnu/include
-isystem /usr/local/devboard-R2_20//target/cris-axis-linux-gnu/usr/include
../xxxRecord.c
/usr/local/cris//bin/cris-axis-linux-gnu-gcc -c
-D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500
-D_cris_ -mlinux -DUNIX -D_BSD_SOURCE -Dlinux -D_REENTRANT -ansi -O3
-Wall -mno-mul-bug-workaround -march=v10 -g -mlinux -fPIC -I.
-I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include
-I../../../../base-3.14.10/include/os/Linux
-I../../../../base-3.14.10/include
-I../../../../synApps/synApps_5_4_1/support/sscan/2-6-4/include
-I../../../../synApps/synApps_5_4_1/support/calc/2-7/include
-I/usr/Epics/synApps/synApps_5_4_1/support/asyn/4-10/include
-I/usr/Epics/synApps/synApps_5_4_1/support/stream/2-4/include
-isystem /usr/local/devboard-R2_20//target/cris-axis-linux-gnu/include
-isystem /usr/local/devboard-R2_20//target/cris-axis-linux-gnu/usr/include
../devXxxSoft.c
/usr/local/cris//bin/cris-axis-linux-gnu-gcc -c
-D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500
-D_cris_ -mlinux -DUNIX -D_BSD_SOURCE -Dlinux -D_REENTRANT -ansi -O3
-Wall -mno-mul-bug-workaround -march=v10 -g -mlinux -fPIC -I.
-I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include
-I../../../../base-3.14.10/include/os/Linux
-I../../../../base-3.14.10/include
-I../../../../synApps/synApps_5_4_1/support/sscan/2-6-4/include
-I../../../../synApps/synApps_5_4_1/support/calc/2-7/include
-I/usr/Epics/synApps/synApps_5_4_1/support/asyn/4-10/include
-I/usr/Epics/synApps/synApps_5_4_1/support/stream/2-4/include
-isystem /usr/local/devboard-R2_20//target/cris-axis-linux-gnu/include
-isystem /usr/local/devboard-R2_20//target/cris-axis-linux-gnu/usr/include
../dbSubExample.c
/usr/local/cris//bin/cris-axis-linux-gnu-gcc -c
-D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500
-D_cris_ -mlinux -DUNIX -D_BSD_SOURCE -Dlinux -D_REENTRANT -ansi -O3
-Wall -mno-mul-bug-workaround -march=v10 -g -mlinux -fPIC -I.
-I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include
-I../../../../base-3.14.10/include/os/Linux
-I../../../../base-3.14.10/include
-I../../../../synApps/synApps_5_4_1/support/sscan/2-6-4/include
-I../../../../synApps/synApps_5_4_1/support/calc/2-7/include
-I/usr/Epics/synApps/synApps_5_4_1/support/asyn/4-10/include
-I/usr/Epics/synApps/synApps_5_4_1/support/stream/2-4/include
-isystem /usr/local/devboard-R2_20//target/cris-axis-linux-gnu/include
-isystem /usr/local/devboard-R2_20//target/cris-axis-linux-gnu/usr/include
../slowCtrlHello.c
/usr/local/cris//bin/cris-axis-linux-gnu-gcc -c
-D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500
-D_cris_ -mlinux -DUNIX -D_BSD_SOURCE -Dlinux -D_REENTRANT -ansi -O3
-Wall -mno-mul-bug-workaround -march=v10 -g -mlinux -fPIC -I.
-I../O.Common -I. -I.. -I../../../include/os/Linux -I../../../include
-I../../../../base-3.14.10/include/os/Linux
-I../../../../base-3.14.10/include
-I../../../../synApps/synApps_5_4_1/support/sscan/2-6-4/include
-I../../../../synApps/synApps_5_4_1/support/calc/2-7/include
-I/usr/Epics/synApps/synApps_5_4_1/support/asyn/4-10/include
-I/usr/Epics/synApps/synApps_5_4_1/support/stream/2-4/include
-isystem /usr/local/devboard-R2_20//target/cris-axis-linux-gnu/include
-isystem /usr/local/devboard-R2_20//target/cris-axis-linux-gnu/usr/include
../initTrace.c
make[3]: *** No rule to make target
`../../../lib/linux-cris_v10/librecIoc.a', needed by
`libslowCtrlSupport.a'. Stop.
make[3]: Leaving directory
`/usr/Epics/slowCtrl_etrax/slowCtrlApp/src/O.linux-cris_v10'
make[2]: *** [install.linux-cris_v10] Error 2
make[2]: Leaving directory `/usr/Epics/slowCtrl_etrax/slowCtrlApp/src'
make[1]: *** [src.install] Error 2
make[1]: Leaving directory `/usr/Epics/slowCtrl_etrax/slowCtrlApp'
make: *** [slowCtrlApp.install] Error 2
Can anyone tell me, what I did wrong?
Best regards,
Florian
-------------------------------------
| Florian Feldbauer |
| Ph.D. student |
| |
| Institut für Experimentalphysik I |
| Ruhr-Universität Bochum |
| Universitätsstr. 150 |
| D-44780 Bochum |
| |
| Office: NB 2/173 |
| Phone: (+49)234 / 32-23538 |
| Fax: (+49)234 / 32-14170 |
| Web: http://www.ep1.rub.de <http://www.ep1.rub.de/> |
-------------------------------------
- Replies:
- RE: Cross compiling EPICS for cris v10 Florian Feldbauer
- References:
- Cross compiling EPICS for cris v10 Florian Feldbauer
- Navigate by Date:
- Prev:
Cross compiling EPICS for cris v10 Florian Feldbauer
- Next:
RE: Cross compiling EPICS for cris v10 Florian Feldbauer
- 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:
Cross compiling EPICS for cris v10 Florian Feldbauer
- Next:
RE: Cross compiling EPICS for cris v10 Florian Feldbauer
- 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
|