Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
x86-64 compilig
Hi, I encounter a problem in trying to compile xepehm in my SL5.4 (64 bit) system.
On executing make MOTIF=../../libXm/linux86 I get a lot of messages. First, many like make[1]: `libastro.a' is up to date. Then many lines like /usr/bin/ld: warning: i386 architecture of input file `../../libXm/linux86/libXm.a(ArrowB.o)' is incompatible with i386:x86-64 output The binary xephem is created, but trying to execute ./xephem I get "segmentation fault". Can someone help me? Thx -- ---------------------------------- Elio Fabri c/o Dip. di Fisica - Univ. di Pisa ---------------------------------- |
The cause of the problem is, the static libXm included in the xephem package is for 32-bit apps only.
toggle quoted message
Show quoted text
Try built the xephem by just typing 'make' . If you already installed Motif's dev's package, xephem able to be compiled without any problem. Thank you. On Tue, Jun 7, 2011 at 4:57 PM, Elio Fabri <fabri@...> wrote: Hi, I encounter a problem in trying to compile xepehm in my SL5.4 (64 |
If your Motif's include is in /usr/include and library in /usr/lib64 then try
toggle quoted message
Show quoted text
$ make MOTIFI=/usr/include MOTIFL=/usr/lib64 Good Luck On Wed, Jun 8, 2011 at 4:32 PM, Elio Fabri <fabri@...> wrote: I followed your suggestion, and the compiler says |
On Wed, 8 Jun 2011, Elio Fabri wrote:
I followed your suggestion, and the compiler saysHi, you have to install openmotif-devel, it contains libXm.a. However, the libraries are in /usr/lib now, not in /usr/X11R6/lib anymore. Saluti, Michael P.S.: funny, our offices are in the same building, about 30 meters apart |
The library might be in /usr/lib64. You do need Motif or Lesstif in your libraries. I can't give advice on the best way to update your libraries because I'm not familiar with your particular linux distribution.
toggle quoted message
Show quoted text
Bud On 06/08/2011 03:32 AM, Elio Fabri wrote:
I followed your suggestion, and the compiler says |
These directions work on Debian 6.0.1 with gcc-4.6.0, except that "MOTIFL=/usr/lib". (No quotes, of course.)
toggle quoted message
Show quoted text
Thanks for the advice. --- In xephem@..., Mohammad Bahathir Hashim <bahathir@...> wrote:
|
to navigate to use esc to dismiss