LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Help installing an home made program (that once worked) (https://www.linuxquestions.org/questions/linux-software-2/help-installing-an-home-made-program-that-once-worked-507084/)

yabha 12-03-2006 08:11 AM

Help installing an home made program (that once worked)
 
Hi guys,
I'm facing great difficulties installing from source files a program, that worked fine on an old PC, but that doesn't want to start on a new one.
The program is all written in C language using the X libraries, but after this is compiled (No errors) and linked with the make command and the binary file is created the linux terminal reports a long list of error involving the function XtAddCallback.
The terminal says so:
XtAddCallback Warning: Cannot find callback list in XtAddCallback
Segmentation Fault.
Since on the old machine, with the same Kernel (2.4) and distribution (Mandrake 9.1), things work fine
what can be the source of my problems?

Ygrex 12-03-2006 08:34 AM

may be different libraries (versions)?

yabha 12-03-2006 08:55 AM

I have already thought that this could be the problem, but I'm not so sure tha the procedure that I've planned could work.
Since the old PC is still working I will launch on it the ldd command to determine which are the libraries used, and then brutally copy all them in the new PC.Is this for you a good method or can you suggest me a better procedure?
Thanks


All times are GMT -5. The time now is 04:37 AM.