Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Dec 2004 03:31:46 +0800 (CST)
From:      "T.F. Cheng" <tfcheng@yahoo.com>
To:        freebsd-ports@freebsd.org
Cc:        lioux@FreeBSD.org
Subject:   mjpegtools 1.6.2 cannot compile on amd64
Message-ID:  <20041224193146.2388.qmail@web51001.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi, have a little trouble compiling this port on
amd64. Here is what happened:

*** Warning: Linking the shared library libmplex2.la
against the
*** static library ../utils/libmjpegutils.a is not
portable!
c++ -shared -nostdlib /usr/lib/crti.o
/usr/lib/crtbeginS.o  .libs/libmplex2_la-a            
                                c3strm_in.o
.libs/libmplex2_la-audiostrm_out.o
.libs/libmplex2_la-bits.o .libs/l                     
                       ibmplex2_la-buffer.o
.libs/libmplex2_la-dtsstrm_in.o
.libs/libmplex2_la-inputstr                           
                 m.o .libs/libmplex2_la-interact.o
.libs/libmplex2_la-lpcmstrm_in.o .libs/libmple        
                                    x2_la-mpastrm_in.o
.libs/libmplex2_la-multiplexor.o
.libs/libmplex2_la-padstrm.o                          
                   .libs/libmplex2_la-stillsstream.o
.libs/libmplex2_la-stream_params.o .libs/libm         
                                   plex2_la-systems.o
.libs/libmplex2_la-vector.o
.libs/libmplex2_la-videostrm_in.o                     
                       
.libs/libmplex2_la-videostrm_out.o 
../utils/libmjpegutils.a -L/usr/local/lib -           
                                 pthread -L/usr/lib
-lstdc++ -lm -lgcc_pic /usr/lib/crtendS.o
/usr/lib/crtn.o  -W                                   
         l,-soname -Wl,libmplex2-1.6.so.2 -o
.libs/libmplex2-1.6.so.2
/usr/bin/ld:
../utils/libmjpegutils.a(mjpeg_logging.o): relocation
R_X86_64_32 c                                         
   an not be used when making a shared object;
recompile with -fPIC
../utils/libmjpegutils.a: could not read symbols: Bad
value
gmake[2]: *** [libmplex2.la] Error 1
gmake[2]: Leaving directory
`/usr/ports/multimedia/mjpegtools/work/mjpegtools-1.  
                                          6.2/mplex'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/multimedia/mjpegtools/work/mjpegtools-1.  
                                          6.2'
gmake: *** [all] Error 2


and idea? thanks! 
happy holiday,

TFC

=====
Best Regards,

Tsu-Fan Cheng

_________________________________________________________
Do You Yahoo!?
登記免費的 @yahoo.com 中文電子郵件 @ http://chinese.mail.yahoo.com
Get your free @yahoo.com address at http://chinese.mail.yahoo.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041224193146.2388.qmail>