[OpenIndiana-discuss] VLC dependancy libs
Alexander Pyhalov
alp at rsu.ru
Thu Mar 12 20:44:02 UTC 2015
Hi.
russell писал 12.03.2015 23:38:
> Hi Alexander
>
> Thanks for the pointer, I have now built both libraries after
> rebuilding OpenSSL correctly.
>
> Currently trying to build p11-kit-0.23
>
> p11-kit-0.23.1$ CC=gcc std=c99 CPPFLAGS=-I/opt/gnu/include
> LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu --enable-shared
> --without-trust-paths
>
> But I am getting the following error
>
> p11-kit-0.23.1$ gmake
> gmake all-recursive
> gmake[1]: Entering directory
> `/home/downloads/gnu/vlc/libs/p11-kit-0.23.1'
> Making all in .
> gmake[2]: Entering directory
> `/home/downloads/gnu/vlc/libs/p11-kit-0.23.1'
> CC p11-kit/libp11_kit_la-util.lo
> CC p11-kit/libp11_kit_la-conf.lo
> CC p11-kit/libp11_kit_la-iter.lo
> CC p11-kit/libp11_kit_la-log.lo
> CC p11-kit/libp11_kit_la-modules.lo
> CC p11-kit/libp11_kit_la-pin.lo
> CC p11-kit/libp11_kit_la-proxy.lo
> CC p11-kit/libp11_kit_la-messages.lo
> CC p11-kit/libp11_kit_la-rpc-transport.lo
> CC p11-kit/libp11_kit_la-rpc-message.lo
> CC p11-kit/libp11_kit_la-rpc-client.lo
> CC p11-kit/libp11_kit_la-rpc-server.lo
> CC p11-kit/libp11_kit_la-uri.lo
> CC p11-kit/libp11_kit_la-virtual.lo
> CC common/argv.lo
> CC common/attrs.lo
> CC common/array.lo
> CC common/buffer.lo
> CC common/compat.lo
> In file included from /usr/include/sys/types.h:33:0,
> from common/compat.h:40,
> from common/compat.c:43:
> /usr/include/sys/feature_tests.h:391:2: error: #error "Compiler or
> options invalid; UNIX 03 and POSIX.1-2001 applications require the
> use of c99"
> #error "Compiler or options invalid; UNIX 03 and POSIX.1-2001
> applications \
> ^
>
> I have tried changing the CC option to CC=gcc std=gnu89 but that
> failed in the same place.
>
> TIA
Look, what actual cc command line is used (usually you can do make V=1
or something similar). Perhaps,
CC=gcc CFLAGS='-std=c99' CPPFLAGS=-I/opt/gnu/include
LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu --enable-shared
--without-trust-paths
will work. I don't know how std=c99 is interpreted (I suppose it's just
ignored).
---
System Administrator of Southern Federal University Computer Center
More information about the openindiana-discuss
mailing list