I did it, and commented "DIRS+=tiffSuppport" in ADApp/Makefile. The building
has ended without any errors.
Thank you very much!
Mi Qingru
SSRF
021-33933238
-----原始邮件-----
From: Mark Rivers
Sent: Wednesday, January 12, 2011 9:22 PM
To: Mi Qingru ; tech-talk epics
Subject: RE: Errors in building areaDetector
The problem is that Centos4.4 is quite old, from 2006. The versions of
libtiff and libjpeg that I distribute with areaDetector are built on a more
recent version of Linux, and won't work on that old version.
You can fix the problem by installing versions of libtiff and libjpeg on
your system that are compatible with Centos4.4. Then change the Makefile in
the marCCDApp to use the system versions of these libraries, rather than the
versions included in areaDetector. There are comments in the Makefile that
explain that.
Mark
________________________________
From: [email protected] on behalf of Mi Qingru
Sent: Wed 1/12/2011 1:01 AM
To: tech-talk epics
Subject: Errors in building areaDetector
Hi,
I builds areaDetectorR1-6 on CentOS4.4. I have built all support modules
such as asyn, sscan. The following are the errors when building
areaDetector.
/usr/bin/g++ -o
marCCDApp -Wl,-Bstatic -L/BLC/epics/modules/areaDetectorR1-6/lib/linux-x86 -L/BLC/epics/base-3-14-11/lib/linux-x86
-L/BLC/epics/modules/asyn4-13-1/lib/linux-x86 -L/BLC/epics/modules/autosave-4-7/lib/linux-x86
-L/BLC/epics/modules/busy-1-3/lib/linux-x86 -L/BLC/epics/modules/calc-2-8/lib/linux-x86
-L/BLC/epics/modules/mcaR6-12-1/lib/linux-x86 -L/BLC/epics/modules/sscan-2-6-6/lib/linux-x86
-Wl,-rpath,/BLC/epics/modules/areaDetectorR1-6/lib/linux-x86 -Wl,-rpath,/BLC/epics/base-3-14-11/lib/linux-x86
-Wl,-rpath,/BLC/epics/modules/asyn4-13-1/lib/linux-x86 -Wl,-rpath,/BLC/epics/modules/autosave-4-7/lib/linux-x86
-Wl,-rpath,/BLC/epics/modules/busy-1-3/lib/linux-x86 -Wl,-rpath,/BLC/epics/modules/calc-2-8/lib/linux-x86
-Wl,-rpath,/BLC/epics/modules/mcaR6-12-1/lib/linux-x86 -Wl,-rpath,/BLC/epics/modules/sscan-2-6-6/lib/linux-x86
-m32 marCCDApp_registerRecordDeviceDriver.o
marCCDAppMain.o -lmarCCD_AD -lNDPlugin -lADBase -lnetCDF -lcalc -lbusy -lsscan
-lautosave -lmca -lasyn -lrecIoc -lsoftDevIoc -lmiscIoc -lrsrvIoc -ldbtoolsIoc
-lasIoc -ldbIoc -lregistryIoc -ldbStaticIoc -lca -lCom -lPvAPI -lImageLib -lNeXus
-lmfhdf -ldf -lhdf5 -lmxml -ltiff -ljpeg -lz -Wl,-Bdynamic -lpthread -lreadline
-lncurses -lm -lrt -ldl -lgcc
/BLC/epics/modules/areaDetectorR1-6/lib/linux-x86/libtiff.a(tif_dirread.o)(.text+0x210c):
In function `TIFFReadDirectory':
: undefined reference to `__stack_chk_fail'
/BLC/epics/modules/areaDetectorR1-6/lib/linux-x86/libtiff.a(tif_dirwrite.o)(.text+0x1b73):
In function `_TIFFWriteDirectory':
: undefined reference to `__stack_chk_fail'
/BLC/epics/modules/areaDetectorR1-6/lib/linux-x86/libtiff.a(tif_jpeg.o)(.text+0x626):
In function `TIFFjpeg_output_message':
: undefined reference to `__stack_chk_fail'
/BLC/epics/modules/areaDetectorR1-6/lib/linux-x86/libjpeg.a(jchuff.o)(.text+0x518):
In function `jpeg_make_c_derived_tbl':
: undefined reference to `__stack_chk_fail'
/BLC/epics/modules/areaDetectorR1-6/lib/linux-x86/libjpeg.a(jchuff.o)(.text+0x9e2):
In function `jpeg_gen_optimal_table':
: undefined reference to `__stack_chk_fail'
/BLC/epics/modules/areaDetectorR1-6/lib/linux-x86/libjpeg.a(jdmarker.o)(.text+0x94f):
more undefined references to `__stack_chk_fail' follow
collect2: ld returned 1 exit status
make[3]: *** [marCCDApp] Error 1
make[3]: Leaving directory
`/BLC/epics/modules/areaDetectorR1-6/ADApp/marCCDSrc/O.linux-x86'
make[2]: *** [install.linux-x86] Error 2
make[2]: Leaving directory
`/BLC/epics/modules/areaDetectorR1-6/ADApp/marCCDSrc'
make[1]: *** [marCCDSrc.install] Error 2
make[1]: Leaving directory `/BLC/epics/modules/areaDetectorR1-6/ADApp'
make: *** [ADApp.install] Error 2
Mi Qingru
SSRF
021-33933238
- References:
- Errors in building areaDetector Mi Qingru
- RE: Errors in building areaDetector Mark Rivers
- Navigate by Date:
- Prev:
Re: Building seq-2.0.11 with base-3.14.12 jun-ichi.odagiri
- Next:
RE: large arrays native element count wrong with Channel Access inEPICS 3.14.12 Mark Rivers
- 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: Errors in building areaDetector Mark Rivers
- Next:
EPICS support for Harvard PHD Ultra syringe pump tom.cobb
- 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
|