[OpenIndiana-discuss] VLC dependancy libs

Alexander Pyhalov alp at rsu.ru
Wed Mar 11 23:32:34 UTC 2015


Hello.

russell писал 11.03.2015 23:45:
> Hi,
> 
> I down to the final couple of libraries but am currently having
> problems with the following libs
> 
> gmp-6.0.0 :  CC=gcc ABI=32 CPPFLAGS=-I/opt/gnu/include
> LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu --enable-shared
> --disable-static
> 
> gmake[2]: Entering directory 
> `/home/downloads/gnu/vlc/libs/gmp-6.0.0/mpn'
> /bin/sh ../libtool --tag=CC   --mode=compile gcc -std=gnu99
> -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo
> fib_table | sed 's/_$//'`  -I/opt/gnu/include  -m32 -O2 -pedantic
> -fomit-frame-pointer -mtune=amdfam10 -march=amdfam10 -c -o
> fib_table.lo fib_table.c
> libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..
> -D__GMP_WITHIN_GMP -I.. -DOPERATION_fib_table -I/opt/gnu/include -m32
> -O2 -pedantic -fomit-frame-pointer -mtune=amdfam10 -march=amdfam10 -c
> fib_table.c  -fPIC -DPIC -o .libs/fib_table.o
> In file included from ../gmp-impl.h:146:0,
>                  from fib_table.c:4:
> ../fib_table.h:4:1: warning: data definition has no type or storage
> class [enabled by default]
>  Error, error, this data is for 64 bits

I'd check if "-mtune=amdfam10 -march=amdfam10" is compatible with "-m32" 
. I don't think so, try removing these flags (or check correct 
architecture).

> 
> 
> 
> unbound-1.5.2 :  CC=gcc CPPFLAGS=-I/opt/gnu/include
> LDFLAGS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu --enable-shared
...
> Text relocation remains                 	referenced
>     against symbol		    offset	in file
> .rodata (section)                   0x61 
> /opt/gnu/lib/libssl.a(s23_srvr.o)
> .rodata.str1.1 (merged string section) 0x100 
> /opt/gnu/lib/libssl.a(s23_srvr.o)
....

And what is /opt/gnu/lib/libssl.a (or so) ? We don't ship one. I'd say 
that it could be incorrectly compiled (check that -fPIC/-DPIC flags used 
during libssl compilation and -shared - during linking). Perhaps, you 
can just use /usr/lib/libssl.so

---
System Administrator of Southern Federal University Computer Center



More information about the openindiana-discuss mailing list