I still get almost the same error (after setting CFLAGS and CXXFLAGS to
--verbose -save-temps)

I am using 64bit Ubuntu (and therefore 64bit H.264 libs and libs-dev)
for this cross compilation. Can this be a cause for this problem?

_*ERROR OUTPUT:*_
GNU C++ version 4.2.1-sjlj (mingw32-2) (i586-mingw32msvc)
    compiled by GNU C version 4.2.3 20071210 (prerelease) (Ubuntu
4.2.2-4ubuntu1).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 154b8a53992189755305fccd99087270
 /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/bin/as
-o obj/h264helper_win32.o h264helper_win32.s
i586-mingw32msvc-g++ -mms-bitfields -g
-L/home/mahesh/Downloads/ekiga-3.2.0/win32/lib -lx264   -o
h264_video_pwplugin_helper.exe obj/h264frame.o obj/trace.o obj/enc-ctx.o
obj/h264helper_win32.o
obj/h264frame.o:/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/../shared/h264frame.cxx:103:
undefined reference to `_x264_nal_encode'
obj/enc-ctx.o:/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:207:
undefined reference to `_x264_encoder_close'
obj/enc-ctx.o:/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:208:
undefined reference to `_x264_encoder_open'
obj/enc-ctx.o:/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:259:
undefined reference to `_x264_encoder_close'
obj/enc-ctx.o:/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:262:
undefined reference to `_x264_encoder_open'
obj/enc-ctx.o:/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:289:
undefined reference to `_x264_encoder_encode'
obj/enc-ctx.o: In function `~X264EncoderContext':
/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:123:
undefined reference to `_x264_encoder_close'
/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:123:
undefined reference to `_x264_encoder_close'
obj/enc-ctx.o: In function `X264EncoderContext':
/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:76:
undefined reference to `_x264_param_default'
/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:108:
undefined reference to `_x264_encoder_open'
/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:76:
undefined reference to `_x264_param_default'
/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:108:
undefined reference to `_x264_encoder_open'
collect2: ld returned 1 exit status
make[4]: *** [h264_video_pwplugin_helper.exe] Error 1
make[4]: Leaving directory
`/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl'
make[3]: *** [h264_video_pwplugin.dll] Error 2
make[3]: Leaving directory
`/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/home/mahesh/Downloads/ekiga-3.2.0/win32/opal'
make: *** [/home/mahesh/Downloads/ekiga-3.2.0/win32/lib/libopal_s.a] Error 2
mah...@akhanda-bharatham:~/Downloads/ekiga-3.2.0/win32$


Thanks,
Mahesh.

jamesmikedup...@googlemail.com wrote:
> are you linking them?
> please post the linker output.
>
> try CFLAGS="--verbose -save-temps "
>  CXXFLAGS="--verbose -save-temps "
>
> On Fri, Apr 3, 2009 at 10:17 PM, Mahesh Sukumar
> <smahesh1982ru...@netscape.net> wrote:
>   
>> Thanks Peter, but I already have x.264 libraries on the host system and the
>> win32 makefile too pulled the x.264 source automatically! Should I be doing
>> any modifications to the OPAL plugins Makefile?
>>
>> Mahesh.
>>
>> Peter Robinson wrote:
>>     
>>> On Fri, Apr 3, 2009 at 5:08 AM, Mahesh Sukumar
>>> <smahesh1982ru...@netscape.net> wrote:
>>>
>>>       
>>>> Hi All,
>>>>
>>>> I am trying to cross-compile Ekiga (Ver. 3.2) for win32 and am getting
>>>> the following error with Opal (H.264) -
>>>>
>>>> Can anyone please let me know if I am missing any step here? I get the
>>>> same error with Ekiga Ver. 3.1.2 too!
>>>>
>>>>         
>>> You'll need the x264 library. Their web site is
>>> http://www.videolan.org/developers/x264.html
>>>
>>> Peter
>>> _______________________________________________
>>> Ekiga-devel-list mailing list
>>> Ekiga-devel-list@gnome.org
>>> http://mail.gnome.org/mailman/listinfo/ekiga-devel-list
>>>
>>>       
>> _______________________________________________
>> Ekiga-devel-list mailing list
>> Ekiga-devel-list@gnome.org
>> http://mail.gnome.org/mailman/listinfo/ekiga-devel-list
>>
>>     
> _______________________________________________
> Ekiga-devel-list mailing list
> Ekiga-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/ekiga-devel-list
>   
_______________________________________________
Ekiga-devel-list mailing list
Ekiga-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/ekiga-devel-list

Reply via email to