Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[mjpegtools] - [compile prob's]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
phex^
n00b
n00b


Joined: 21 Nov 2002
Posts: 20

PostPosted: Thu Dec 19, 2002 5:35 pm    Post subject: [mjpegtools] - [compile prob's] Reply with quote

Aye, sup sup fellow gentoo brethren. I'm havin a problem compilin mjpegtools. Now, im no C/C++ expert or novice for that matter, but i know that debuggin compile's normally deals with havin some knowledge in those two languages.. So im gonna post my error and hopefully someone could hook me up with a solution :) :)

---------------------------------------------
/include -I/usr/X11R6/include -mcpu=i686 -march=i686 -march=i686 -Wall -Wunused -c editlist.c -MT editlist.lo -MD -MP -MF .deps/editlist.TPlo -o editlist.o >/dev/null 2>&1
lav_io.c: In function `check_DV2_input':
lav_io.c:1385: too many arguments to function `dv_decoder_new'
lav_io.c:1415: warning: implicit declaration of function `dv_decoder_free'
make[2]: *** [lav_io.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .libs/editlist.lo editlist.lo
make[2]: Leaving directory `/var/tmp/portage/mjpegtools-1.6.0-r5/work/mjpegtools-1.6.0/lavtools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mjpegtools-1.6.0-r5/work/mjpegtools-1.6.0'
make: *** [all] Error 2

!!! ERROR: media-video/mjpegtools-1.6.0-r5 failed.
!!! Function src_compile, Line 88, Exitcode 2
!!! (no error message)
----------------------------------------------
hopefully someone can hlp me out, thx :)
Back to top
View user's profile Send private message
karl11
Guru
Guru


Joined: 25 Jun 2002
Posts: 469
Location: Raleigh, NC

PostPosted: Thu Dec 19, 2002 10:01 pm    Post subject: Reply with quote

emerge the r6 version of mjpegtools...it's masked, but you probably have quicktime set as a USE flag, in which case you need r6.

Karl
Back to top
View user's profile Send private message
panix
n00b
n00b


Joined: 17 Dec 2002
Posts: 5

PostPosted: Fri Dec 20, 2002 12:21 am    Post subject: Reply with quote

this is actually a problem with the calls to the libdv library.

The solution is to edit the lav_io.c and lav_common.c files in the lavtools directory. look for dev_decoder_new(0,0,0) and change it to dev_decoder_new().

That makes it compile.
Back to top
View user's profile Send private message
phex^
n00b
n00b


Joined: 21 Nov 2002
Posts: 20

PostPosted: Fri Dec 20, 2002 7:10 am    Post subject: Reply with quote

hrm.. neither of those worked, but i just went to the ww site and d/l'd and built the most recent version of mjpegtools. now everything is working fine :)
Back to top
View user's profile Send private message
panix
n00b
n00b


Joined: 17 Dec 2002
Posts: 5

PostPosted: Fri Dec 20, 2002 8:26 am    Post subject: Reply with quote

hmm. dunno. worked for me (i actually just pulled that from the ebuild file for mjpegtools, they patch those 2 files for some reason, but with libdv >=0.95 you arent suppossed to have to do that i dont believe).

glad ya got it working!
Back to top
View user's profile Send private message
kraaij
n00b
n00b


Joined: 07 Aug 2002
Posts: 66
Location: Maastricht, The Netherlands

PostPosted: Thu Jan 09, 2003 8:31 pm    Post subject: Reply with quote

I had the same problem trying to emerge mjpegtools-1.6.0-r7. What fixed it for me was compiling without quicktime in my use flags, so:

Code:

USE="-quicktime $USE" emerge mjpegtools


Hope this helps.

Greetings,

Anton.
Back to top
View user's profile Send private message
Q
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2002
Posts: 149
Location: Oxford, UK

PostPosted: Mon Jan 27, 2003 12:37 pm    Post subject: Reply with quote

None of the solutions here worked for me. I found the issue to be CFLAGS. Mine were quite aggressive. When I used the default pentium4 03 and -pipe it compiled fine
Back to top
View user's profile Send private message
Loke
Apprentice
Apprentice


Joined: 25 May 2002
Posts: 274
Location: Norway

PostPosted: Thu Feb 06, 2003 3:58 am    Post subject: Reply with quote

How come when I try to merge jmpegtools-r7 (or r5 or r6 for that matter), it looks for an arts lib in /usr/kde/3/lib/ whereas I only got /usr/kde/3.1/lib..? The file its looking for do exist btw, but Im still wondering why it looks in /usr/kde/3/ ? Been a while since I had anything in /usr/kde/3/
Back to top
View user's profile Send private message
Delphiki
Guru
Guru


Joined: 04 Oct 2002
Posts: 337
Location: A2

PostPosted: Thu Feb 06, 2003 5:01 am    Post subject: Reply with quote

I had the same problem about it looking in the kde-3 directory. I'd already removed anything before kde-3.1 so I made a symlink from /usr/kde/3.1 to /usr/kde/3 for the duration of the build and that fixed the problem. I would assume this is just a bug in the makefile or ebuild where someone didn't take into consideration that kde-3.1 might be installed.
_________________
Excellent..
Back to top
View user's profile Send private message
JohnY
Guru
Guru


Joined: 26 Jul 2002
Posts: 305

PostPosted: Fri Feb 07, 2003 12:59 am    Post subject: Reply with quote

In my case -r7 didn't like either -march=k6 or -mcpu=k6 (gcc 2.95.3) with my K6-III+, but it compiled with -quicktime and -mcpu=i586.


Hmmm,

JohnY
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum