Error 1: gmake Free Radius 3.0.3 at Solaris
Mathieu Simon (Lists)
matsimon.lists at simweb.ch
Tue Jun 10 21:00:08 CEST 2014
> Am 10.06.2014 14:05, schrieb Arran Cudbard-Bell:
>>
>> On 10 Jun 2014, at 12:35, Rafael de Farias Meurer <rafael.meurer at gvt.com.br> wrote:
>>
>>
>> [...] there's some _X_OPEN_SOURCE macro we need to define to get Solaris to self un-labotomise it's socket API... so i'm researching what the value of that should be and where it should be defined.
[...]
> src/lib/udpfromto.c:251:6: error: 'struct msghdr' has no member named
> 'msg_control'
> msgh.msg_control = cbuf;
Ahem - re-reading Arran's message - that was just plain ./configure what
I tried but not something like:
CFLAGS="-D_XOPEN_SOURCE" ./configure
However then it fails accordingly:
# gmake
CC jlibtool.c
CC src/lib/cbuff.c
In file included from /usr/include/iso/stdlib_iso.h:46:0,
from /usr/include/stdlib.h:36,
from /usr/local/include/talloc.h:28,
from
/export/sim/freeradius-server/src/freeradius-devel/libradius.h:60,
from src/lib/cbuff.c:26:
/opt/gcc-4.8.1/lib/gcc/i386-pc-solaris2.11/4.8.1/include-fixed/sys/feature_tests.h:360:2:
error: #error "Compiler or options invalid for pre-UNIX 03 X/Open
applications and pre-2001 POSIX applications"
#error "Compiler or options invalid for pre-UNIX 03 X/Open applications \
^
gmake: *** [build/objs/src/lib/cbuff.lo] Error 1
(OmniOS does installs gcc48 package in /opt, just in case, so it uses
gcc that you have in PATH)
Anyhow when searching for the resulting error messages I see tons of
other projects sometimes handling things this, then the other way by
including or not including _X_OPEN_SOURCE, apparently cpython decided
not to.*
Sorry for the confusion added :-\
Mathieu
* http://bugs.python.org/issue1759169#msg106675
---
Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz ist aktiv.
http://www.avast.com
More information about the Freeradius-Users
mailing list