Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 09-13-2002, 12:34 PM   #1
Registered: Mar 2002
Location: From: Nashville,Tn Currently: Massachusetts
Distribution: Slackware 9.0
Posts: 39

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Problem to compile os2 Programming 4 05-03-2005 01:36 PM
Problem getting anything to compile Frank_Drebin Slackware 4 01-13-2005 08:12 AM
C++ compile problem -- HELP !! aherrys Linux - Software 2 01-06-2005 03:29 AM
ntop compile/post-compile problem? tjb Linux - Software 3 12-28-2004 04:22 PM
Problem with compile noeffort Linux - Software 2 02-29-2004 01:02 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:33 PM.

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