LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-08-2009, 07:07 PM   #1
xflow7
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 215

Rep: Reputation: 45
ion SlackBuild fails with undefined reference to `clock_gettime'"


Has anyone tried to build ion-3 with the Slackbuild at Slackbuilds.org?

I have been trying using the same source as linked from Slackbuilds.org and it fails with the following error:

Code:
../libmainloop/libmainloop.a(signal.o): In function `mainloop_gettime':
/tmp/SBo/ion-3-20090110/libmainloop/signal.c:56: undefined reference to `clock_gettime'
<time.h> is in the include list for signal.c and I've confirmed that the command line that generates the error includes "-lrt" which some Googling has indicated is required.

Anyone else had this error and/or corrected it?

I'm running a more or less bone stock 12.2 system.

Thanks,

Dave
 
Old 08-09-2009, 07:52 AM   #2
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 533

Rep: Reputation: 129Reputation: 129
I have built successfully
ion-3-20090110.tar.gz
on slax6.2.0 (which is based on slackware12.2)

The slaxbuild I wrote is basically the same as a SlackBuild
as far as the building goes (make, etc.)
 
  


Reply


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
"Multiple definition of" and "undefined reference to" in QT Creator with QJson lib echelon89 Programming 1 05-01-2009 06:48 AM
compiling linux 2.6.19.2 failed with "undefined reference to s3c2410_pm_drvinit" cucmi Linux - Hardware 2 08-18-2008 10:21 PM
gcc make fails with undefined reference to `gcc_gettext_width' fsa Linux - Software 4 04-30-2007 06:01 AM
Error: Make on kismet-2005-08-R1 "undefined reference" zeevolking Linux - Software 1 12-23-2005 08:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:17 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