Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
error compiling rte
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
neonknight
Guru
Guru


Joined: 19 Jul 2003
Posts: 357
Location: Zurich, Switzerland

PostPosted: Fri Oct 17, 2003 9:51 am    Post subject: error compiling rte Reply with quote

hello

I get an error while compiling media-libs/rte 0.5 or 0.5.1:
Code:

In file included from b_divx4linux.c:26:
b_divx4linux.h:60: parse error before "ENC_PARAM"
b_divx4linux.h:60: warning: no semicolon at end of struct or union
b_divx4linux.h:78: parse error before '}' token
b_divx4linux.h:78: warning: type defaults to `int' in declaration of `d4l_context'
b_divx4linux.h:78: warning: data definition has no type or storage class
b_divx4linux.h:80: parse error before '*' token
b_divx4linux.h:80: warning: return type defaults to `int'
b_divx4linux.h:80: warning: no previous prototype for `DX'
b_divx4linux.h: In function `DX':
b_divx4linux.h:80: parse error before ')' token
b_divx4linux.h:80: parse error before ')' token
b_divx4linux.c: At top level:
b_divx4linux.c:49: parse error before '*' token
b_divx4linux.c: In function `encore_init5':
b_divx4linux.c:51: `param' undeclared (first use in this function)
b_divx4linux.c:51: (Each undeclared identifier is reported only once
b_divx4linux.c:51: for each function it appears in.)
b_divx4linux.c: At top level:
b_divx4linux.c:75: parse error before '*' token
b_divx4linux.c: In function `status':
b_divx4linux.c:85: `dx' undeclared (first use in this function)
b_divx4linux.c: At top level:
b_divx4linux.c:127: parse error before '*' token
b_divx4linux.c: In function `avi_write_header':
b_divx4linux.c:132: `p0' undeclared (first use in this function)
b_divx4linux.c:144: `dx' undeclared (first use in this function)
b_divx4linux.c:144: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:145: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:155: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:156: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:177: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:185: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:188: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:189: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:194: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:195: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:201: warning: left-hand operand of comma expression has no effect
b_divx4linux.c: At top level:
b_divx4linux.c:218: parse error before '*' token
b_divx4linux.c: In function `avi_write_trailer':
b_divx4linux.c:222: `p' undeclared (first use in this function)
b_divx4linux.c:222: `movi_bytes' undeclared (first use in this function)
b_divx4linux.c:223: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `mainloop':
b_divx4linux.c:232: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `stop':
b_divx4linux.c:349: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `start':
b_divx4linux.c:382: `dx' undeclared (first use in this function)
b_divx4linux.c: At top level:
b_divx4linux.c:441: parse error before '*' token
b_divx4linux.c:442: warning: `reset_output' was used with no prototype before its definition
b_divx4linux.c: In function `reset_output':
b_divx4linux.c:443: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `set_output':
b_divx4linux.c:454: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `set_input':
b_divx4linux.c:511: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `parameters_set':
b_divx4linux.c:574: `dx' undeclared (first use in this function)
b_divx4linux.c:597: `ENC_CSP_RGB24' undeclared (first use in this function)
b_divx4linux.c:605: `ENC_CSP_YV12' undeclared (first use in this function)
b_divx4linux.c:609: `ENC_CSP_I420' undeclared (first use in this function)
b_divx4linux.c:618: `ENC_CSP_YUY2' undeclared (first use in this function)
b_divx4linux.c:623: `ENC_CSP_UYVY' undeclared (first use in this function)
b_divx4linux.c: In function `option_get':
b_divx4linux.c:734: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `option_set':
b_divx4linux.c:762: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `codec_get':
b_divx4linux.c:804: `dx' undeclared (first use in this function)
b_divx4linux.c: At top level:
b_divx4linux.c:828: `codec_set' redeclared as different kind of symbol
b_divx4linux.h:66: previous declaration of `codec_set'
b_divx4linux.c: In function `codec_set':
b_divx4linux.c:829: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `context_delete':
b_divx4linux.c:895: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `context_new':
b_divx4linux.c:925: `dx' undeclared (first use in this function)
make[2]: *** [b_divx4linux.lo] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/rte-0.5.1/work/rte-0.5.1/divx4linux'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/rte-0.5.1/work/rte-0.5.1'
make: *** [all] Fehler 2

!!! ERROR: media-libs/rte-0.5.1 failed.
!!! Function src_compile, Line 22, Exitcode 2
!!! (no error message)


How can this be fixed?

rte is needed by zapping, so I installed rte-0.4 which compiled without errors. I hope zapping works anyway...
Back to top
View user's profile Send private message
Brandy
Bodhisattva
Bodhisattva


Joined: 08 Jun 2003
Posts: 820
Location: New Zealand

PostPosted: Fri Oct 17, 2003 2:00 pm    Post subject: Reply with quote

neonknight, divx4linux underwent a rather significant API change from -20020418 to -20030428 and this is the cause of your problems. It seems that rte-0.5.x needs to be compiled with divx4linux-20020418.

(rte-0.4 compiled ok since it does not contain divx support.)

Ciao, Brandy.
_________________
Faber est suae quisque fortunae.
Back to top
View user's profile Send private message
neonknight
Guru
Guru


Joined: 19 Jul 2003
Posts: 357
Location: Zurich, Switzerland

PostPosted: Fri Oct 17, 2003 3:45 pm    Post subject: Reply with quote

ok, thank you!
Back to top
View user's profile Send private message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1008
Location: Denmark

PostPosted: Sun Oct 26, 2003 2:32 am    Post subject: Reply with quote

Code:


pipe -I/mnt/hd01/gentoo/tmp/portage/rte-0.5.1/work/rte-0.5.1/src -c b_divx4linux.c -MT b_divx4linux.lo -MD -MP -MF .deps/b_divx4linux.TPlo  -fPIC -DPIC -o .libs/b_divx4linux.lo
In file included from b_divx4linux.c:26:
b_divx4linux.h:60: parse error before "ENC_PARAM"
b_divx4linux.h:60: warning: no semicolon at end of struct or union
b_divx4linux.h:78: parse error before '}' token
b_divx4linux.h:78: warning: type defaults to `int' in declaration of `d4l_context'
b_divx4linux.h:78: warning: data definition has no type or storage class
b_divx4linux.h:80: parse error before '*' token
b_divx4linux.h:80: warning: return type defaults to `int'
b_divx4linux.h:80: warning: no previous prototype for `DX'
b_divx4linux.h: In function `DX':
b_divx4linux.h:80: parse error before ')' token
b_divx4linux.h:80: parse error before ')' token
b_divx4linux.c: At top level:
b_divx4linux.c:49: parse error before '*' token
b_divx4linux.c: In function `encore_init5':
b_divx4linux.c:51: `param' undeclared (first use in this function)
b_divx4linux.c:51: (Each undeclared identifier is reported only once
b_divx4linux.c:51: for each function it appears in.)
b_divx4linux.c: At top level:
b_divx4linux.c:75: parse error before '*' token
b_divx4linux.c: In function `status':
b_divx4linux.c:85: `dx' undeclared (first use in this function)
b_divx4linux.c: At top level:
b_divx4linux.c:127: parse error before '*' token
b_divx4linux.c: In function `avi_write_header':
b_divx4linux.c:132: `p0' undeclared (first use in this function)
b_divx4linux.c:144: `dx' undeclared (first use in this function)
b_divx4linux.c:144: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:145: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:155: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:156: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:177: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:185: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:188: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:189: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:194: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:195: warning: left-hand operand of comma expression has no effect
b_divx4linux.c:201: warning: left-hand operand of comma expression has no effect
b_divx4linux.c: At top level:
b_divx4linux.c:218: parse error before '*' token
b_divx4linux.c: In function `avi_write_trailer':
b_divx4linux.c:222: `p' undeclared (first use in this function)
b_divx4linux.c:222: `movi_bytes' undeclared (first use in this function)
b_divx4linux.c:223: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `mainloop':
b_divx4linux.c:232: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `stop':
b_divx4linux.c:349: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `start':
b_divx4linux.c:382: `dx' undeclared (first use in this function)
b_divx4linux.c: At top level:
b_divx4linux.c:441: parse error before '*' token
b_divx4linux.c:442: warning: `reset_output' was used with no prototype before its definition
b_divx4linux.c: In function `reset_output':
b_divx4linux.c:443: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `set_output':
b_divx4linux.c:454: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `set_input':
b_divx4linux.c:511: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `parameters_set':
b_divx4linux.c:574: `dx' undeclared (first use in this function)
b_divx4linux.c:597: `ENC_CSP_RGB24' undeclared (first use in this function)
b_divx4linux.c:605: `ENC_CSP_YV12' undeclared (first use in this function)
b_divx4linux.c:609: `ENC_CSP_I420' undeclared (first use in this function)
b_divx4linux.c:618: `ENC_CSP_YUY2' undeclared (first use in this function)
b_divx4linux.c:623: `ENC_CSP_UYVY' undeclared (first use in this function)
b_divx4linux.c: In function `option_get':
b_divx4linux.c:734: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `option_set':
b_divx4linux.c:762: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `codec_get':
b_divx4linux.c:804: `dx' undeclared (first use in this function)
b_divx4linux.c: At top level:
b_divx4linux.c:828: `codec_set' redeclared as different kind of symbol
b_divx4linux.h:66: previous declaration of `codec_set'
b_divx4linux.c: In function `codec_set':
b_divx4linux.c:829: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `context_delete':
b_divx4linux.c:895: `dx' undeclared (first use in this function)
b_divx4linux.c: In function `context_new':
b_divx4linux.c:925: `dx' undeclared (first use in this function)
make[2]: *** [b_divx4linux.lo] Error 1
make[2]: Leaving directory `/mnt/hd01/gentoo/tmp/portage/rte-0.5.1/work/rte-0.5.1/divx4linux'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/hd01/gentoo/tmp/portage/rte-0.5.1/work/rte-0.5.1'
make: *** [all] Error 2

!!! ERROR: media-libs/rte-0.5.1 failed.
!!! Function src_compile, Line 22, Exitcode 2
!!! (no error message)



Here is the problem, i'm trying to emerge zapping, to use my Tv card, i was able to emerge rte 0.4.0 whit out any problem, but i cannot use zapping whit out this, not even thugh i have 0.4.0 installed..any ideas ?
Back to top
View user's profile Send private message
Brandy
Bodhisattva
Bodhisattva


Joined: 08 Jun 2003
Posts: 820
Location: New Zealand

PostPosted: Sun Oct 26, 2003 2:38 am    Post subject: Reply with quote

jonfr, as explained above, in order to install rte-0.5.1 you will need to downgrade divx4linux to version 20020418.

Ciao, Brandy.
_________________
Faber est suae quisque fortunae.
Back to top
View user's profile Send private message
hifi
Apprentice
Apprentice


Joined: 17 Jul 2002
Posts: 184
Location: Graz

PostPosted: Fri Oct 31, 2003 10:34 pm    Post subject: Reply with quote

ARGH!!!!

Brandy wrote:
neonknight, divx4linux underwent a rather significant API change from -20020418 to -20030428


Are they nuts?

Brandy wrote:

and this is the cause of your problems. It seems that rte-0.5.x needs to be compiled with divx4linux-20020418.

(rte-0.4 compiled ok since it does not contain divx support.)

Ciao, Brandy.


I'm not sure, what is more anoying. The fact, that there are significant api changes without compatibility downwards, or the fact that this F!*. became gentoo ("stable")
Back to top
View user's profile Send private message
filipp
n00b
n00b


Joined: 15 Nov 2003
Posts: 20
Location: Helsinki

PostPosted: Sat Nov 15, 2003 9:47 pm    Post subject: Reply with quote

Code:
emerge unmerge divx4linux
emerge /usr/portage/media-libs/divx4linux/divx4linux-20020418-r2.ebuild


Thanks Brandy!
Back to top
View user's profile Send private message
dbergst
Tux's lil' helper
Tux's lil' helper


Joined: 25 Mar 2003
Posts: 88

PostPosted: Tue Oct 26, 2004 4:37 am    Post subject: Reply with quote

filipp wrote:
Code:
emerge unmerge divx4linux
emerge /usr/portage/media-libs/divx4linux/divx4linux-20020418-r2.ebuild


Thanks Brandy!


Wow, it's been nearly a year since the last post on this topic, and this bug still seems to apply to media-libs/rte-0.5.1. Does anyone know if this ebuild is still being maintained?
Back to top
View user's profile Send private message
Seppel
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2002
Posts: 113

PostPosted: Mon Jan 24, 2005 8:42 pm    Post subject: Reply with quote

This is still an issue, but fixed in the (masked) version 0.5.2
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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