[vlc-devel] Latest compile error on main branch

Robert Ziegler rziegler42 at yahoo.com
Tue Jul 8 20:33:11 CEST 2008


> 
It compiles error free again.  :)

Almost...

% uname -a
Darwin xxxxxxx 9.4.0 Darwin Kernel Version 9.4.0: Mon Jun  9 19:30:53 PDT 2008; root:xnu-1228.5.20~1/RELEASE_I386 i386

% cd extras/contrib; ./bootstrap; make

(cd ffmpeg/libswscale; patch -p0 < ../../Patches/ffmpeg-fix-noaltivec.patch)
patching file swscale.c
Hunk #1 succeeded at 864 (offset -16 lines).
Hunk #2 succeeded at 1537 (offset -16 lines).
(cd ffmpeg; patch -p1 < ../Patches/ffmpeg-svn-mmx_removal-darwin9.patch)
patching file libpostproc/postprocess.c
Hunk #1 FAILED at 563.
Hunk #2 succeeded at 558 (offset -13 lines).
Hunk #3 FAILED at 629.
2 out of 3 hunks FAILED -- saving rejects to file libpostproc/postprocess.c.rej
patching file libswscale/rgb2rgb.c
Hunk #2 succeeded at 189 with fuzz 1.
patching file libswscale/swscale.c
Hunk #1 succeeded at 859 with fuzz 1 (offset -16 lines).
Hunk #2 succeeded at 867 (offset -16 lines).
Hunk #3 succeeded at 882 (offset -16 lines).
Hunk #4 succeeded at 1526 with fuzz 1 (offset -18 lines).
patching file libswscale/yuv2rgb.c
Hunk #1 succeeded at 148 (offset -8 lines).
Hunk #2 FAILED at 182.
1 out of 2 hunks FAILED -- saving rejects to file libswscale/yuv2rgb.c.rej
make[1]: *** [ffmpeg] Error 1
make: *** [all] Error 2
%


I wish I knew enough to offer a patch.  If you build again, ignoring the error:

libswscale/yuv2rgb.c:151:1: error: unterminated #if
make[2]: *** [libswscale/yuv2rgb.o] Error 1
make[1]: *** [.ffmpeg] Error 2
make: *** [all] Error 2






----- Original Message ----
From: Bill C. Riemers <briemers at redhat.com>
To: Mailing list for VLC media player developers <vlc-devel at videolan.org>
Sent: Tuesday, July 8, 2008 2:21:16 PM
Subject: Re: [vlc-devel] Latest compile error on main branch

It compiles error free again.  :)

Bill

Pierre d'Herbemont wrote:
> Hi Bill,
>
> Is that fixed now?
>
> Pierre.
>
> On Jul 7, 2008, at 5:13 PM, Bill C. Riemers wrote:
>
>  
>> Never mind.   After running "make distclean" a second time I am  
>> getting
>> a completely different compile error.  I am not sure if this cleared
>> this error, or I am no longer getting to the compile step that caused
>> it.   The new compile error is:
>>
>> g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include
>> -I../../../include -DSYS_LINUX -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98
>> -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG -D__LIBVLC__
>> -D__PLUGIN__ -DMODULE_NAME=atmo -DMODULE_NAME_IS_atmo
>> -DMODULE_STRING=\"atmo\" -g -O2 -ffast-math -funroll-loops
>> -mtune=athlon64 -g -O2 -c atmo.cpp  -fPIC -DPIC -o
>> .libs/libatmo_plugin_la-atmo.o
>> atmo.cpp:288:30: error: unterminated argument list invoking macro "N_"
>> atmo.cpp:317:54: error: unterminated argument list invoking macro "N_"
>> atmo.cpp:388:67: error: unterminated argument list invoking macro "N_"
>> atmo.cpp:127: error: expected unqualified-id before string constant
>> atmo.cpp:233: error: expected unqualified-id before string constant
>> atmo.cpp: In function 'int vlc_entry__0_9_0m(module_t*)':
>> atmo.cpp:119: error: 'N_' was not declared in this scope
>> atmo.cpp:188: error: 'N_' was not declared in this scope
>> atmo.cpp:376: error: 'pi_filtermode_values' was not declared in this  
>> scope
>> atmo.cpp:396: error: 'pi_channel_assignment_values' was not declared  
>> in
>> this scope
>> make[6]: *** [libatmo_plugin_la-atmo.lo] Error 1
>> make[6]: Leaving directory
>> `/autohome/docbill/source/git/vlc/modules/video_filte
>>
>> Bill
>>
>>
>> Bill C. Riemers wrote:
>>    
>>> [docbill at hartnell vlc]$ (git diff && make)
>>> make  all-recursive
>>> make[1]: Entering directory `/autohome/docbill/source/git/vlc'
>>> Making all in po
>>> make[2]: Entering directory `/autohome/docbill/source/git/vlc/po'
>>> make[2]: Leaving directory `/autohome/docbill/source/git/vlc/po'
>>> Making all in src
>>> make[2]: Entering directory `/autohome/docbill/source/git/vlc/src'
>>> make  all-am
>>> make[3]: Entering directory `/autohome/docbill/source/git/vlc/src'
>>> /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -Wall -Wextra
>>> -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast- 
>>> align
>>> -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var
>>> -no-undefined -no-install -o vlc vlc-vlc.o libvlc.la libvlccore.la -g
>>> gcc -std=gnu99 -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith
>>> -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes
>>> -Wvolatile-register-var -o vlc vlc-vlc.o -g  ./.libs/libvlc.so
>>> /autohome/docbill/source/git/vlc/src/.libs/libvlccore.so -L/lib64
>>> ./.libs/libvlccore.so -lhal -ldbus-1 -lrt -lpthread -ldl -lm
>>> -Wl,--rpath -Wl,/autohome/docbill/source/git/vlc/src/.libs
>>> /autohome/docbill/source/git/vlc/src/.libs/libvlccore.so: undefined
>>> reference to `vlc_custom_create'
>>> ./.libs/libvlc.so: undefined reference to `__vlc_object_alive'
>>> collect2: ld returned 1 exit status
>>> make[3]: *** [vlc] Error 1
>>> make[3]: Leaving directory `/autohome/docbill/source/git/vlc/src'
>>> make[2]: *** [all] Error 2
>>> make[2]: Leaving directory `/autohome/docbill/source/git/vlc/src'
>>> make[1]: *** [all-recursive] Error 1
>>> make[1]: Leaving directory `/autohome/docbill/source/git/vlc'
>>> make: *** [all] Error 2
>>>
>>> _______________________________________________
>>> vlc-devel mailing list
>>> To unsubscribe or modify your subscription options:
>>> http://mailman.videolan.org/listinfo/vlc-devel
>>>
>>>      
>> _______________________________________________
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
>> http://mailman.videolan.org/listinfo/vlc-devel
>>
>>    
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>  

_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
http://mailman.videolan.org/listinfo/vlc-devel



      



More information about the vlc-devel mailing list