LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 12-30-2022, 01:44 AM   #1
Toutatis
Member
 
Registered: Feb 2013
Posts: 415

Rep: Reputation: Disabled
error in compilation of sbcl-2.3.0


I get the error

Quote:
make: Entering directory '/tmp/SBo/sbcl-2.3.0/tools-for-build'
cc -I../src/runtime grovel-headers.c -o grovel-headers
grovel-headers.c: In function 'main':
grovel-headers.c:228:32: error: 'O_LARGEFILE' undeclared (first use in this function)
228 | defconstant("o_largefile", O_LARGEFILE);
| ^~~~~~~~~~~
 
Old 12-30-2022, 02:41 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,118

Rep: Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192
change the make line in the SlackBuild like this

Code:
CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE" ./make.sh clisp --prefix=/usr --fancy
(reference)
 
Old 12-30-2022, 03:17 AM   #3
Toutatis
Member
 
Registered: Feb 2013
Posts: 415

Original Poster
Rep: Reputation: Disabled
Thank you very much, this works. Tested with the compilation and examples of fricas.
But I have built it with itself (instead of clisp).
 
  


Reply



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
SBCL build from slack builds fails to build - failed contribs sb-bsd-sockets sunlight Slackware 3 11-07-2015 04:31 PM
[SOLVED] Graphical Compilation/ IDE Compilation monika.2dec Ubuntu 4 08-22-2012 06:53 PM
weard sbcl read function behaviour satori@sanitarium Programming 1 03-23-2009 07:11 AM
Kernel compilation error: Error 15: File not found Niceman2005 Linux - General 9 10-04-2007 03:45 AM
Sqwebmail compilation error ... [maildirsearchC.o] Error 1 boogie_maan Linux - Software 0 10-26-2002 07:21 PM

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

All times are GMT -5. The time now is 03:02 PM.

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