|
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 mahesh akhanda-bharatham:~/Downloads/ekiga-3.2.0/win32$ Thanks, Mahesh. jamesmikedupont 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 <smahesh1982rulzz netscape net> wrote: |