Experimental Physics and
| |||||||||||||||
|
Hello everybody, I am trying to cross compile and link an application based on stream device and asyn with patched base 3.14.10 on a linux-x86_64 system with the linux-cris_v10 as target. Stream and Asyn have been compiled for the host and target architectures. When building the application the final linking for the target failes with this command (which I just split up for better reading, and paths shortened <..>): resulting in this output:cris-g++ -o streamHadcon -Wl,-Bstatic -static-libgcc -Wl,--strip-all -L<IOC_TOP>/lib/linux-cris_v10 -L<EPICS_HOME>/base/lib/linux-cris_v10 -L<EPICS_HOME>/modules/soft/StreamDevice/lib/linux-cris_v10 -L<EPICS_HOME>/modules/soft/asyn/asyn-4.11a/lib/linux-cris_v10 -Wl,-rpath,<IOC_TOP>/lib/linux-cris_v10 -Wl,-rpath,<EPICS_HOME>/base/lib/linux-cris_v10 -Wl,-rpath,<EPICS_HOME>/modules/soft/StreamDevice/lib/linux-cris_v10 -Wl,-rpath,<EPICS_HOME>/modules/soft/asyn/asyn-4.11a/lib/linux-cris_v10 -L<AXIS_TOP>/target/cris-axis-linux-gnu/lib -L<AXIS_TOP>/target/cris-axis-linux-gnu/usr/lib streamHadcon_registerRecordDeviceDriver.o streamHadconMain.o -lstreamHadconSupport -lrecIoc -lsoftDevIoc -lmiscIoc -lrsrvIoc -ldbtoolsIoc -lasIoc -ldbIoc -lregistryIoc -ldbStaticIoc -lca -lCom -lstream -lasyn -lpthread -lm -lrt <EPICS_ASYN>/lib/linux-cris_v10/libasyn.a(devAsynInt32.o): In function `getIoIntInfo':Notes: - But 'epicsRingBytesCreate' is defined in libasyn.a(devAsynInt32.o), (cris-)nm gives consistent results - Unfortunately in addition I do not fully get the meaning of the error - It does compile for linux-x86_64 - base itself needed an independent patch for _64 architecture in base CONFIG.linux-x86_64.linux-cris(_v10/32) copy linux-x86 (to be committed soon) Since I did the port of EPICS to cris, has anybody else seen such a response or something similar when cross building an application? Any help appreciated, Thanks, Peter -- Dr. rer. nat. Peter W. Zumbruch EE - department / Controls group / GSI E-Mail: P.Zumbruch_at_gsi.de Tel: +49-(6159)-71-1435 / Fax: +49-(6159)-71-2986 GSI Helmholtzzentrum für Schwerionenforschung GmbH Planckstraße 1 / D-64291 Darmstadt / www.gsi.de Gesellschaft mit beschränkter Haftung Sitz der Gesellschaft: Darmstadt Handelsregister: Amtsgericht Darmstadt, HRB 1528 Geschäftsführung: Professor Dr. Dr. h.c. Horst Stöcker, Christiane Neumann, Dr. Hartmut Eickhoff Vorsitzende des Aufsichtsrates: Dr. Beatrix Vierkorn-Rudolph, Stellvertreter: Ministerialdirigent Dr. Rolf Bernhardt
| ||||||||||||||
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |