LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   asapm compile problem (https://www.linuxquestions.org/questions/linux-software-2/asapm-compile-problem-30298/)

jaycee999 09-13-2002 12:34 PM

asapm compile problem
 
Hey guys,

I'm trying to install some software I downloaded called asapm. It's just a little program that displays the battery life left in your laptop. Anyway, I'm getting some errors after running make. Here is a portion of what I'm talking about:

apm_x.o: In function `Cleanup':
apm_x.o(.text+0x13): undefined reference to `XCloseDisplay'
apm_x.o: In function `GetColor':
apm_x.o(.text+0x51): undefined reference to `XGetWindowAttributes'
apm_x.o(.text+0x6a): undefined reference to `XParseColor'
apm_x.o(.text+0x8e): undefined reference to `XAllocColor'
apm_x.o: In function `ParseColor':
apm_x.o(.text+0xe8): undefined reference to `XGetWindowAttributes'
apm_x.o(.text+0x100): undefined reference to `XParseColor'
apm_x.o(.text+0x122): undefined reference to `XAllocColor'
apm_x.o: In function `initializeWindow':
apm_x.o(.text+0x3df): undefined reference to `XOpenDisplay'
apm_x.o(.text+0x3f4): undefined reference to `XDisplayName'
apm_x.o(.text+0x59a): undefined reference to `XpmCreatePixmapFromData'

I've got a little programming experience but I'm not sure what the problem is or where to begin searching for a solution. If any of you guys could give me some ideas they would be greatly appreciated. Thanks.

P.S. Before I ran into this problem I had to install the XFree86-devel package. Once make was able to find the proper header files I started getting these errors.


All times are GMT -5. The time now is 05:57 PM.