cvs commit: ports/multimedia/mpeg4ip Makefile pkg-plist

Michael Johnson ahze at FreeBSD.org
Sun May 22 08:53:57 PDT 2005


On May 22, 2005, at 11:23 AM, Adam Weinberger wrote:

> Michael Johnson wrote:
>
>> On May 22, 2005, at 10:35 AM, Ion-Mihai Tetcu wrote:
>>
>>> On Sat, 21 May 2005 18:29:32 -0400
>>> Adam Weinberger <adamw at FreeBSD.org> wrote:
>>>
>>>
>>>
>>>> Ion-Mihai Tetcu wrote:
>>>>
>>>>
>>>>> On Fri, 20 May 2005 08:08:47 +0000 (UTC)
>>>>> Michael Johnson <ahze at FreeBSD.org> wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> ahze        2005-05-20 08:08:47 UTC
>>>>>>
>>>>>>  FreeBSD ports repository
>>>>>>
>>>>>>  Modified files:
>>>>>>    multimedia/mpeg4ip   Makefile pkg-plist
>>>>>>  Log:
>>>>>>  - Fix build on some configurations of 5.x by using   
>>>>>> USE_INC_LIBTOOL_VER
>>>>>>    and ln -s ${LIBTOOL} ${WRKSRC}/libtool
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> Was it supposed to resolve this ?
>>>>>
>>>>> test -z "/usr/local/lib/mp4player_plugin" || /usr/ports/  
>>>>> multimedia/mpeg4ip/work/mpeg4ip-1.3/install-sh -d "/usr/local/ 
>>>>> lib/ mp4player_plugin"
>>>>>  /bin/sh ../../../../libtool --mode=install /usr/bin/install -c  
>>>>> - o root -g wheel  'celp_plugin.la' '/usr/local/lib/  
>>>>> mp4player_plugin/celp_plugin.la'
>>>>> libtool: install: warning: relinking `celp_plugin.la'
>>>>> (cd /usr/ports/multimedia/mpeg4ip/work/mpeg4ip-1.3/player/ 
>>>>> plugin/ audio/celp; /bin/sh ../../../../libtool  --mode=relink c 
>>>>> ++ - D_REENTRANT -DNOCONTROLS -fexceptions -Wall -Wno-char- 
>>>>> subscripts - Woverloaded-virtual -Wno-unknown-pragmas -Wno- 
>>>>> deprecated - Wformat=2 -Wpointer-arith -Wsign-compare -O2 -pipe  
>>>>> -march=athlon- xp -O3 -ffast-math -fomit-frame-pointer - 
>>>>> DUSE_MMX -DMPEG4IP -I/ usr/local/include/SDL11 -I/usr/local/ 
>>>>> include -D_REENTRANT -L/usr/ local/lib -L/usr/X11R6/lib - 
>>>>> pthread -o celp_plugin.la -rpath /usr/ local/lib/ 
>>>>> mp4player_plugin -module celp.lo ../../../../player/lib/  
>>>>> mp4util/libmp4util.la ../../../../player/lib/audio/celp/BS/  
>>>>> libmpeg4ip_celpbs.la ../../../../player/lib/audio/celp/dec/  
>>>>> libmpeg4ip_celp.la -lmp4v2 -lmp4av -lmpeg4ip_gnu )
>>>>> c++ -shared -nostdlib /usr/lib/crti.o /usr/lib/ 
>>>>> crtbeginS.o  .libs/ celp.o  -Wl,--rpath -Wl,/usr/local/lib -L/ 
>>>>> usr/local/lib -L/usr/ X11R6/lib -pthread -lmp4util - 
>>>>> lmpeg4ip_celpbs -lmpeg4ip_celp - lmp4v2 -lmp4av -lmpeg4ip_gnu - 
>>>>> L/usr/lib -lstdc++ -lm -lgcc_pic / usr/lib/crtendS.o /usr/lib/ 
>>>>> crtn.o  -march=athlon-xp -Wl,-soname - Wl,celp_plugin.so.0 - 
>>>>> o .libs/celp_plugin.so.0
>>>>> /usr/bin/ld: cannot find -lmp4av
>>>>> libtool: install: error: relink `celp_plugin.la' with the  
>>>>> above  command before installing it
>>>>>
>>>>>
>>>>
>>>> Yes.
>>>>
>>>>
>>>
>>> It seems it doesn't :( on my
>>> FreeBSD 5.4-STABLE #10: Wed May 18 04:50:54 EEST 2005
>>>
>> same error?
>>
>
> Hrmmn. I don't know if this will be of any help, but here's the  
> order of operations I tried to get this to work. Once it worked for  
> me, I announced to ahze "That's the solution!" Sorry about this,  
> Ion-Mihai.
>
> 1) portupgrade - failed
> 2) USE_LIBTOOL_VER -> USE_INC_LIBTOOL_VER, portupgrade - failed
> 3) removed mpeg4ip
> 4) set the post-patch: thing in the recent commit, portupgrade -  
> success
>
> So, perhaps removing it entirely first has some effect?

Removing mpeg4ip-1.1 before building??

> One thing that ahze and I found is that he was linking against many  
> more libraries at each link than I was. There's something wacky and  
> libtool-related going on here...
>
> # Adam
>
>
> -- 
> Adam Weinberger
> adamw at magnesium.net || adamw at FreeBSD.org
> adamw at vectors.cx    ||   adamw at gnome.org
> http://www.vectors.cx
>



More information about the cvs-ports mailing list