amd64 port of transcode broke
Sean McNeil
sean at mcneil.com
Wed Apr 13 13:15:38 PDT 2005
On Wed, 2005-04-13 at 20:06 +0000, Chuck Robey wrote:
> The port of multimedia/transcode is busted. That won't surprise you
Actually, from your error below it is not transcode that is busted, but
your libXaw.
> unduly, but the error is one I would very much like to learn about, so
> if you can help, please please do. The error from the build listing (I
> always capture build listings) is:
>
> /bin/sh /usr/local/bin/libtool13 --mode=link cc -Wall
> -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2
> -fno-strict-aliasing -pipe -L/usr/local/lib -L/usr/X11R6/lib -o
> filter_subtitler.la -rpath /usr/local/lib/transcode -modu
> le -avoid-version filter_subtitler.lo load_ppml_file.lo load_font.lo
> frame_list.lo object_list.lo x11.lo text_processing.lo
> load_pictures.lo parser.lo external_programs.lo color_processor.lo
> -L/usr/X11R6/lib -lSM -lICE -lXext -lX11 -lXpm -lXaw -
> lXt -lm -L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -lfreetype -lz
> -L/usr/local/lib -liconv -liconv -lm -lz
> rm -fr .libs/filter_subtitler.la .libs/filter_subtitler.*
> .libs/filter_subtitler.*
> cc -shared -Wl,--rpath -Wl,/usr/local/lib/transcode
> filter_subtitler.lo load_ppml_file.lo load_font.lo frame_list.lo obje
> ct_list.lo x11.lo text_processing.lo load_pictures.lo parser.lo
> external_programs.lo color_processor.lo -L/usr/local/lib -
> L/usr/X11R6/lib -lSM -lICE -lXext -lX11 -lXpm -lXaw -lXt -lm -lfreetype
> -lz -liconv -liconv -lm -lz -Wl,-soname -Wl,filter
> _subtitler.so -o .libs/filter_subtitler.so
> /usr/bin/ld: /usr/X11R6/lib/libXaw.a(Simple.o): relocation R_X86_64_32
> can not be used when making a shared object; recompi
> le with -fPIC
> /usr/X11R6/lib/libXaw.a: could not read symbols: Bad value
> gmake[3]: *** [filter_subtitler.la] Error 1
You are missing a shared library. It should have picked up libXaw.so,
not libXaw.a. You should reinstall the port that has libXaw - for me, I
use xorg-libraries-6.8.2. The file(s) should
be /usr/X11R6/lib/libXaw.so*. Check that they exist and have proper
symlinks.
> OK, I don't recognize that error code, something about "relocation
> R_X86_64_32". Do you know what that refers to? I have just recently
> rebuilt my lilbXaw (not more than 2 weeks ago, probably less), is it
> possible I somehow used a bad flag on that? I rarely try to modify
> flags. I never never have anything more than -O2 in there, and even
> that is rare.
This is an error indicating that you are mixing PIC and non-PIC code
together. Everything that goes into a shared library for amd64 needs to
be compiled -fPIC, but libXaw.a is not built that way.
Cheers,
Sean
More information about the freebsd-amd64
mailing list