Compiling XPDP1 make error
I am unable to solve this issue regarding XGC250
bash-4.1$ make gcc -o ../xpdp1 fft.o field.o move.o gather.o pdp1.o start.o load.o prest.o padjus.o initwin.o maxwellv.o mccdiaginit.o xsect.o argonmcc.o heliummcc.o neonmcc.o oxygenmcc.o mcc.o -L/usr/local/lib -L/usr/X11R6/lib -L/usr/local/lib -lXGC250 -L/usr/lib -ltk -ltcl -lXpm -lX11 -lm -ldl /usr/bin/ld: cannot find -lXGC250 collect2: ld returned 1 exit status make: *** [../xpdp1] Error 1 |
Welcome to LQ.
-lXGC250 means libXGC250.a , from "xgrafix" >>> xgrafix-2.70.5.tar.gz http://ptsg.egr.msu.edu/pub/codes/xg...-2.70.5.tar.gz Build example http://hareesh098.blogspot.dk/2015/0...ubuntu-12.html ... provides /usr/local/lib/libXGC250.a - |
That's what I originally thought. It did the same with -lm and -ldl.
After fixing those with the appropriate paths (i.e. -L/home/name/xgrafix/lib/libXGC250.a), a tremendous amount of errors throughout the code appeared that were unrecognized statements. |
Re #3.
How old is your "XPDP1" ? This command will show the time stamps in XPDP1* : $ ls -laR ? May be XPDP1 requires an older version of libXGC250.a ? Any questions ? Then please specify your OS : Name and version. - |
The example OS, mentioned in post #2 : Ubuntu 12.04 - 64
>>> No xpdp1 issues. See the below text ..... Code:
$ tar xvf xpdp1.tar.gz - |
Ref. your thread about Xoopic software from PTSG
http://www.linuxquestions.org/questi...es-4175553882/ PTSG http://ptsg.egr.msu.edu/ No issues with xpdp1, RHEL/CentOS 6.7 : $ cd xpdp1/src/ $ make .. and the new executable 'xpdp1' will replace/overwrite the stock 'xpdp1' executable. $ ./xpdp1 : OK. - |
Thanks! this solved the xpdp1 issue I was haivng
|
All times are GMT -5. The time now is 08:09 AM. |