[libbdplus-devel] Building on OpenIndiana

russell stream at willows7.myzen.co.uk
Thu Sep 1 21:27:19 CEST 2016


Hi,

After successfully building libaacs-0.8.1, libbluray-0.9.2 and 
libdvdcss-1.4.0, I need some help completing the build of libbdplus-0.1.2.

On OpenIndiana with gcc 4.8.5 compiler I use the following command to 
configure the libbdplus

$ CC=gcc CFLAGS="-I/opt/gnu/include -D_FILE_OFFSET_BITS=64" 
LDFLAGS=-L/opt/gnu/lib LIBAACS_CFLAGS=-I/opt/gnu/include 
LIBAACS_LIBS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu 
--disable-extra-warnings

Now the build fails during the build of bdplus_test

   CC       src/libbdplus/bdsvm/sha1.lo
   CC       src/file/file_default.lo
   CC       src/file/configfile.lo
   CC       src/util/mutex.lo
   CC       src/util/strutl.lo
   CC       src/util/logging.lo
   CC       src/file/dirs_xdg.lo
   CCLD     libbdplus.la
   CC       src/examples/bdplus_test-bdplus_test.o
   CCLD     bdplus_test
Undefined            first referenced
  symbol                  in file
aacs_get_mk src/examples/bdplus_test-bdplus_test.o
aacs_close src/examples/bdplus_test-bdplus_test.o
aacs_open src/examples/bdplus_test-bdplus_test.o
aacs_get_vid src/examples/bdplus_test-bdplus_test.o
ld: fatal: symbol referencing errors. No output written to .libs/bdplus_test
collect2: error: ld returned 1 exit status

I have checked the bdplus_test.c and the #include <libaacs/aacs.h> is there.

Would you be able to point me in the right direction to complete the build.

TIA



More information about the libbdplus-devel mailing list