LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-18-2015, 01:17 PM   #1
cgnick26
LQ Newbie
 
Registered: Sep 2015
Posts: 8

Rep: Reputation: Disabled
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
 
Old 09-19-2015, 04:42 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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


-
 
Old 09-19-2015, 08:38 AM   #3
cgnick26
LQ Newbie
 
Registered: Sep 2015
Posts: 8

Original Poster
Rep: Reputation: Disabled
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.
 
Old 09-19-2015, 11:28 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.


-
 
Old 09-19-2015, 12:19 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The example OS, mentioned in post #2 : Ubuntu 12.04 - 64
>>> No xpdp1 issues. See the below text .....
Code:
$ tar xvf xpdp1.tar.gz  
http://ptsg.egr.msu.edu/pub/codes/xpdp1/xpdp1.tar.gz
$ cd xpdp1/
$ ./xpdp1 : OK.
$ cd src/ && make -f makefile.linux
$ cd ../bin/ && ./xpdp1.linux : Also OK.

-

Last edited by knudfl; 09-19-2015 at 12:28 PM.
 
Old 09-19-2015, 01:50 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.

-
 
Old 09-21-2015, 12:51 PM   #7
cgnick26
LQ Newbie
 
Registered: Sep 2015
Posts: 8

Original Poster
Rep: Reputation: Disabled
Thanks! this solved the xpdp1 issue I was haivng
 
  


Reply

Tags
xgrafix, xpdp1



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Make error while compiling kernel ls_milkyway Linux - Software 3 04-02-2014 02:15 AM
Error when compiling kernel linux-2.6.22 : make: ***[_modinst_post] Error 137 ngoclan.it Linux - General 1 12-11-2007 06:54 AM
Error when compiling kernel linux-2.6.22 : make: ***[_modinst_post] Error 137 ngoclan.it Linux - Newbie 0 12-11-2007 06:49 AM
Amule -Compiling error - 'make' lnaia Linux - Software 1 03-04-2005 04:34 AM
Compiling error with make DaBlade Linux - Software 7 12-23-2004 08:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration