Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-08-2009, 08:07 PM   #1
Registered: May 2004
Distribution: Slackware
Posts: 214

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

Has anyone tried to build ion-3 with the Slackbuild at

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

../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.


Old 08-09-2009, 08:52 AM   #2
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 448

Rep: Reputation: 99
I have built successfully
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.)


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 07:48 AM
compiling linux failed with "undefined reference to s3c2410_pm_drvinit" cucmi Linux - Hardware 2 08-18-2008 11:21 PM
gcc make fails with undefined reference to `gcc_gettext_width' fsa Linux - Software 4 04-30-2007 07:01 AM
Error: Make on kismet-2005-08-R1 "undefined reference" zeevolking Linux - Software 1 12-23-2005 09:40 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:56 AM.

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