---------- Forwarded message ----------
Date: Mon, 16 Oct 2006 01:56:18 -0400
From: Eric M <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Part 2: Error compiling ffmpeg


Hello again,

Perhaps this error is associated to the error I discussed in my last email, but 
just in case it is not or it helps to determine what I am doing wrong...

After mjpegtools faile to completely *make*, I tried continuing on with ffmpeg, 
but after a successful ./configure and a make I got the  folowing error.

Make clean and trying make again did not help.  By the way, I compiling on an 
Intel Pentium-M 1.6 processor running Windows XP SP2 (Dell Inspiron 9200 
notebook).

Again, any help would be appreciated (or if anyone knows where I can get these 
files pre-compiled, that would also be great.  I don't mind doing the 
compiling, I am just suggesting it in case you feel it would be easier for 
whomever wishes to help me.  I do have experience programming and using 
make...it has been a while, so I am a tad rusty ;-)

Thanks,
Eric
PS(Perhaps I simply have the wrong version of CygWin, if so, which version is 
best to use..(that is still available? Thanks)

cp -p ffmpeg_g.exe ffmpeg.exe
strip ffmpeg.exe
gcc -O3 -g -Wall -Wno-switch  -I. -I'/home/Owner/tivoserver/ffmpeg' 
-I'/home/Own
er/tivoserver/ffmpeg'/libavutil -I'/home/Owner/tivoserver/ffmpeg'/libavcodec 
-I'
/home/Owner/tivoserver/ffmpeg'/libavformat -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_S
OURCE -D_GNU_SOURCE -c -o output_example.o output_example.c
gcc -Wl,--warn-common -g  -o output_example.exe output_example.o 
-L./libavformat
-lavformat -L./libavcodec -lavcodec -L./libavutil -lavutil -lz
make -C vhook all
make[1]: Entering directory `/home/Owner/tivoserver/ffmpeg/vhook'
gcc -fPIC -O3 -g -Wall -Wno-switch  -I.. -I'/home/Owner/tivoserver/ffmpeg' 
-I'/h
ome/Owner/tivoserver/ffmpeg'/libavformat 
-I'/home/Owner/tivoserver/ffmpeg'/libav
codec -I'/home/Owner/tivoserver/ffmpeg'/libavutil -DHAVE_AV_CONFIG_H 
`freetype-c
onfig --cflags`   -c -o null.o null.c
null.c:1: warning: -fPIC ignored for target (all code is position independent)
gcc -Wl,--warn-common -g -o null.so -shared null.o
null.o: In function `Configure':
/home/Owner/tivoserver/ffmpeg/vhook/null.c:40: undefined reference to 
`_av_mallo
cz'
null.o: In function `Process':
/home/Owner/tivoserver/ffmpeg/vhook/null.c:56: undefined reference to 
`_avpictur
e_get_size'
/home/Owner/tivoserver/ffmpeg/vhook/null.c:57: undefined reference to 
`_av_mallo
c'
/home/Owner/tivoserver/ffmpeg/vhook/null.c:59: undefined reference to 
`_avpictur
e_fill'
/home/Owner/tivoserver/ffmpeg/vhook/null.c:60: undefined reference to 
`_img_conv
ert'
/home/Owner/tivoserver/ffmpeg/vhook/null.c:71: undefined reference to 
`_img_conv
ert'
/home/Owner/tivoserver/ffmpeg/vhook/null.c:76: undefined reference to 
`_av_free'

null.o: In function `Release':
/home/Owner/tivoserver/ffmpeg/vhook/null.c:33: undefined reference to 
`_av_free'

collect2: ld returned 1 exit status
make[1]: *** [null.so] Error 1
rm null.o
make[1]: Leaving directory `/home/Owner/tivoserver/ffmpeg/vhook'
make: *** [videohook] Error 2













----Original Message Follows----
From: "Eric M" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Can someone help - compile error on mjpegtools for tivoserver.
Date: Mon, 16 Oct 2006 01:41:40 -0400
Hello,

I was wondering if someone can tell me what I am missing or doing wrong.  I 
installed CygWin (latest version from the link on the 
TivoServer->CygWin->Downloads link) and also selected the install to install 
everything under developers (for gcc, etc) and also editors (just in case).

Next I simply copied all the TivoServer source under my owner directory and cd 
into tivosever, then cd into mjpegtools.  I ran ./configure, which seems to go 
well, though I am unsure what to look for.  Next I ran make and I got the error 
listed at the end of the output (I included the lines above for clarity as to 
where in the compile the error occured).

I tried a make clean and then another configure and make, but still got an 
error.

Any help would be appreciated.
Thanks,
Eric
(Windows XP, SP2)

<SNIPPED - So as not to be confused with error listed above>



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to