Hi,
I'm installing SDDS 2.8 from source on linux 2.6.18-164.10.1.el5
All is fine until i make SDDS. It gets up to making sddssortcolumn and then says
/usr/bin/g++ -o sddssortcolumn -L/opt/epics/extensions/lib/linux-x86 -Wl,-rpath,/opt/epics/extensions/lib/linux-x86 -lmdbcommon -lmatlib -lfftpack -lrpnlib -lSDDS1 -lmdbmth -lmdblib -lnnetwork -lcsa -lz -lncurses -lpthread -lreadline -lcurses -lm -lrt -lgcc
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
is sddssortcolumn new? previously i had SDDS 2.7.
Ta
Pete
installing SDDS 2.8
Re: installing SDDS 2.8
sddssortcolumn.c is not new but it is not used a lot either. I just tested building it on RHEL5 64bit and it worked.
rose> uname -a
Linux rose.aps.anl.gov 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
rose> make
make -C O.linux-x86_64 -f ../Makefile TOP=../../../.. T_A=linux-x86_64 install
make[1]: Entering directory `/home/helios1/SOLIDAY/epics/extensions/src/SDDS/SDDSaps/O.linux-x86_64'
/usr/bin/gcc -c -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500 -D_X86_64_ -DUNIX -D_BSD_SOURCE -Dlinux -D_REENTRANT -O3 -Wall -I. -I../../include -I../../gsl -DzLib -m64 -g -I. -I../O.Common -I. -I.. -I../../../../include/os/Linux -I../../../../include -I/home/helios2/oag/epics/base3.14.11/include/os/Linux -I/home/helios2/oag/epics/base3.14.11/include -I../../../../include -I../../../../../../oag/apps/include ../sddssortcolumn.c
/usr/bin/g++ -o sddssortcolumn -L/home/helios1/SOLIDAY/epics/extensions/lib/linux-x86_64 -Wl,-rpath,/home/helios1/SOLIDAY/epics/extensions/lib/linux-x86_64 -m64 sddssortcolumn.o -lmdbcommon -lmatlib -lfftpack -lrpnlib -lSDDS1 -lmdbmth -lmdblib -lnnetwork -lcsa -ltiff -ljpeg -lz -lncurses -lpthread -lreadline -lncurses -lm -lrt -ldl -lgcc
Installing created file ../../../../bin/linux-x86_64/sddssortcolumn
make[1]: Leaving directory `/home/helios1/SOLIDAY/epics/extensions/src/SDDS/SDDSaps/O.linux-x86_64'
There were a few warning messages I just cleaned up but it compiled before that too. What is really odd about your g++ link line is that it is missing sddssortcolumn.o entirely. You can try removing all references to sddssortcolumn from the epics/extensions/src/SDDS/SDDSaps/Makefile.OAG to avoid trying to build it.
rose> uname -a
Linux rose.aps.anl.gov 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
rose> make
make -C O.linux-x86_64 -f ../Makefile TOP=../../../.. T_A=linux-x86_64 install
make[1]: Entering directory `/home/helios1/SOLIDAY/epics/extensions/src/SDDS/SDDSaps/O.linux-x86_64'
/usr/bin/gcc -c -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500 -D_X86_64_ -DUNIX -D_BSD_SOURCE -Dlinux -D_REENTRANT -O3 -Wall -I. -I../../include -I../../gsl -DzLib -m64 -g -I. -I../O.Common -I. -I.. -I../../../../include/os/Linux -I../../../../include -I/home/helios2/oag/epics/base3.14.11/include/os/Linux -I/home/helios2/oag/epics/base3.14.11/include -I../../../../include -I../../../../../../oag/apps/include ../sddssortcolumn.c
/usr/bin/g++ -o sddssortcolumn -L/home/helios1/SOLIDAY/epics/extensions/lib/linux-x86_64 -Wl,-rpath,/home/helios1/SOLIDAY/epics/extensions/lib/linux-x86_64 -m64 sddssortcolumn.o -lmdbcommon -lmatlib -lfftpack -lrpnlib -lSDDS1 -lmdbmth -lmdblib -lnnetwork -lcsa -ltiff -ljpeg -lz -lncurses -lpthread -lreadline -lncurses -lm -lrt -ldl -lgcc
Installing created file ../../../../bin/linux-x86_64/sddssortcolumn
make[1]: Leaving directory `/home/helios1/SOLIDAY/epics/extensions/src/SDDS/SDDSaps/O.linux-x86_64'
There were a few warning messages I just cleaned up but it compiled before that too. What is really odd about your g++ link line is that it is missing sddssortcolumn.o entirely. You can try removing all references to sddssortcolumn from the epics/extensions/src/SDDS/SDDSaps/Makefile.OAG to avoid trying to build it.
Re: installing SDDS 2.8
Thanks - i think i forgot to make in oag/apps/configure - would that explain why sddssortcolumn wasn't in the command line?
Anyhow - now i have installed the latest SDDS and elegant (23). But my files won't run! They hang after the twiss_output command. Here are the files
Pete
Anyhow - now i have installed the latest SDDS and elegant (23). But my files won't run! They hang after the twiss_output command. Here are the files
Pete
- Attachments
-
- test.tar.gz
- (423.49 KiB) Downloaded 3916 times
Re: installing SDDS 2.8
sddssortcolumn depends on the rules in epics/extensions/configure, so you would have to do a 'make' there. elegant depends on the rules in oag/apps/configure. It is all a little hocus pocus to me since I don't quite understand how the rules work.
I took your files and ran them on RHEL5 with elegant 23.1.0 and it completed. What I would do is to download our pre-build elegant package and try that instead of building it yourself and see if that makes a difference.
--Bob
I took your files and ran them on RHEL5 with elegant 23.1.0 and it completed. What I would do is to download our pre-build elegant package and try that instead of building it yourself and see if that makes a difference.
--Bob
Re: installing SDDS 2.8
Thanks - yes i've had a go at that. I don't see an rpm for SDDS 2.8 though - only 2.7.
I still get this problem. I've tested it on two machines from binaries and it behaves just the same. Works with version 22, but not 23 (SDDS 2.7 from binary)
I've tried changing the wake files to binary. and also tried making the .ele file as simple as i can. But still the same
Is there a way of getting some debug information?
Pete
I still get this problem. I've tested it on two machines from binaries and it behaves just the same. Works with version 22, but not 23 (SDDS 2.7 from binary)
I've tried changing the wake files to binary. and also tried making the .ele file as simple as i can. But still the same
Is there a way of getting some debug information?
Pete
Re: installing SDDS 2.8
I just tried the 32bit version and I see the same problem you see. I will look into it.
There probably will not be a binary release of SDDS 2.8 because the programs were not changed much. Just a few library calls that elegant uses.
There probably will not be a binary release of SDDS 2.8 because the programs were not changed much. Just a few library calls that elegant uses.
Re: installing SDDS 2.8
There is now a new 32bit Linux RPM file for elegant which solves this problem.
Re: installing SDDS 2.8
excellent - that works
Thanks a lot Bob
Thanks a lot Bob