[OpenIndiana-discuss] VLC dependancy libs

russell stream at willows7.myzen.co.uk
Thu Mar 12 20:38:30 UTC 2015

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 

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.


More information about the openindiana-discuss mailing list