|
From: | anonymous |
Subject: | [Octave-bug-tracker] [bug #47656] [pkg fl-core] Build failure. Missing header |
Date: | Sun, 10 Apr 2016 13:23:48 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0 |
URL: <http://savannah.gnu.org/bugs/?47656> Summary: [pkg fl-core] Build failure. Missing header Project: GNU Octave Submitted by: None Submitted on: Sun 10 Apr 2016 01:23:47 PM UTC Category: Octave Forge Package Severity: 3 - Normal Priority: 5 - Normal Item Group: Build Failure Status: None Assigned to: None Originator Name: Eugeny Logan Originator Email: address@hidden Open/Closed: Open Discussion Lock: Any Release: 4.0.1 Operating System: GNU/Linux _______________________________________________________ Details: I downloaded package from http://octave.sourceforge.net/fl-core/index.html and have got build failure: >> pkg install fl-core-1.0.0.tar.gz fl_compose.cc: In function ‘int get_available_cpus()’: fl_compose.cc:757:19: error: ‘_SC_NPROCESSORS_ONLN’ was not declared in this scope return sysconf( _SC_NPROCESSORS_ONLN); ^ fl_compose.cc:757:39: error: ‘sysconf’ was not declared in this scope return sysconf( _SC_NPROCESSORS_ONLN); I saw man for sysconf and found that header for it is unistd.h. Then I add include directive for this header and rebuild package was successfull. $ uname -r 4.4.1-2 $ gcc --version gcc (GCC) 5.3.0 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?47656> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |