Hallo

> When I run make (see end of mail for system revisions)
> I get a lot of undefined references such as:
> 
> /bin/bash ../libtool --mode=link g++  -mcpu=i686 -march=i686 -g -O2    -o mplex.exe  
> main.o
> ../mplex/libmplex2.la -lm
> g++ -mcpu=i686 -march=i686 -g -O2 -o mplex.exe main.o  ../mplex/.libs/libmplex2.a
> main.o(.text+0x12c): In function `_ZN16FileOutputStream4OpenEv':
> /cygdrive/c/user/richardd/download/apps/mpeg/build/mjpegtools-1.6.2/mplex/main.cpp:107:
>  undefined
> reference to `_mjpeg_error_exit1'
> 
> Linking issues are not something I know a lot about alas, and
> hopefully this is something 'obvious'. To try and hunt these
> down, I tried using nm:
It seems that the linke "forgets" the to include the shared object
(maybe DLL in Windows I don't know that) 

So the command lookes like that on a Linux Box:
../libtool --mode=link g++  -march=athlon-4 -mno-sse2 -mcpu=athlon-4 -g
-O2 -pthread    -o mplex  main.o ../mplex/libmplex2.la -lm   -lm
g++ -march=athlon-4 -mno-sse2 -mcpu=athlon-4 -g -O2 -o .libs/mplex
main.o  -pthread ../mplex/.libs/libmplex2.so
/home/bernhard/download/cvs/mjpeg_play/utils/.libs/libmjpegutils.so
/usr/lib/libstdc++.so -lm
 
The missing part is the libmjpegutils. 
I don't have any idea how to solve that. Try to add the path and the
so/dll to you path. Maybe you can try to create a static linked version
instead of a dynamic linked version. 



auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [EMAIL PROTECTED]
www: http://www.lysator.liu.se/~gz/bernhard


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to