Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: mplayer-1.0rc2 compile errors w/ kernel 2.6.27.7-smp on slackware 12.2

0 views
Skip to first unread message

ken

unread,
Mar 6, 2009, 1:06:35 PM3/6/09
to
trying to compile mplayer from source i get a bunch of i2c.h errors.
has anybody else encountered this? resolution?

thanks,
ken


--
middlespot.com - see + save + share your search

White Spirit

unread,
Mar 6, 2009, 1:14:45 PM3/6/09
to
ken wrote:

> trying to compile mplayer from source i get a bunch of i2c.h errors.
> has anybody else encountered this? resolution?

Find out which kernel version people have successfully compiled mplayer
with and try with that. It might be that mplayer is intended to be
compiled for an older or newer kernel version.

If a kernel downgrade is needed, you might prefer to install using your
distro's package manager and wait until mplayer is updated to work with
the new kernel header for i2c.

ken

unread,
Mar 6, 2009, 2:20:34 PM3/6/09
to

thanks white. actually, i found my problem was an old version of i2c
headers sitting in /usr/local/include/linux which i removed. then i
started getting vo_ivtv errors. i did a middlespot.com search
(shameless plug for my new visual search interface) and found others
having the same error, the fix simply to disable ivtv. however, now i'm
getting the following error:

libao2/ao_openal.c:100: error: 'ALCint' undeclared (first use in this
function)

any ideas on fixing that? i don't really want to revert my kernel if i
don't have to.

thanks again!

Bill Marcum

unread,
Mar 6, 2009, 9:03:33 PM3/6/09
to
["Followup-To:" header set to comp.os.linux.misc.]

On 2009-03-06, ken <k...@middlespot.com> wrote:
>
>
> trying to compile mplayer from source i get a bunch of i2c.h errors.
> has anybody else encountered this? resolution?
>
> thanks,
> ken
>
If you are using Debian or a similar distribution, use the command
apt-get build-dep mplayer

Handover Phist

unread,
Mar 7, 2009, 1:28:07 AM3/7/09
to
ken :

> trying to compile mplayer from source i get a bunch of i2c.h errors.
> has anybody else encountered this? resolution?
>
> thanks,
> ken

Nope, works like a glove in 12.2 and has since 8.0 IMHO. I could build a
package, but not tonight. Just did enough physical labor to make my
lower back grunt warnings.

--
Virtue is a relative term.
-- Spock, "Friday's Child", stardate 3499.1

www.websterscafe.com

andrew

unread,
Mar 7, 2009, 3:41:41 AM3/7/09
to
On 2009-03-06, ken <k...@middlespot.com> wrote:

> trying to compile mplayer from source i get a bunch of i2c.h errors.
> has anybody else encountered this? resolution?

I have had no troubles but I use the svn MPlayer, the rc2 version is
pretty badly out of date.

Andrew

--
echo 'hfrarg...@tznvy.pbz' | \
tr 'a-m n-z' 'n-z a-m'

Mark Hobley

unread,
Mar 7, 2009, 8:08:03 AM3/7/09
to
andrew <and...@skamandros.invalid> wrote:
> I have had no troubles but I use the svn MPlayer, the rc2 version is
> pretty badly out of date.

It build for me on Gentoo, using a customized K486 kernel, but this was
about six or seven months ago. I haven't tried a build since.

Mark.

--
Mark Hobley
Linux User: #370818 http://markhobley.yi.org/

Tim Greer

unread,
Mar 7, 2009, 10:26:11 PM3/7/09
to
ken wrote:

> trying to compile mplayer from source i get a bunch of i2c.h errors.
> has anybody else encountered this? resolution?
>
> thanks,
> ken
>
>

Grab the most relevant and supported code via svn. That might be part
of the problem you're seeing. I use a new kernel and the svn compiled
fine. Granted, I'm not using Slackware at this time myself (I'm
repling to your post in comp.os.linux.misc).
--
Tim Greer, CEO/Founder/CTO, BurlyHost.com, Inc.
Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers
and Custom Hosting. 24/7 support, 30 day guarantee, secure servers.
Industry's most experienced staff! -- Web Hosting With Muscle!

Dan C

unread,
Mar 7, 2009, 11:11:34 PM3/7/09
to
On Fri, 06 Mar 2009 10:06:35 -0800, ken wrote:

> trying to compile mplayer from source i get a bunch of i2c.h errors. has
> anybody else encountered this? resolution?

Use the Slackbuild for it from SB.org:
http://slackbuilds.org/repository/12.2/multimedia/mplayer/

Works like a champ here.


--
"Ubuntu" -- an African word, meaning "Slackware is too hard for me".
The Usenet Improvement Project: http://improve-usenet.org
Ahhhhhhh!: http://brandybuck.site40.net/pics/relieve.jpg

ken

unread,
Mar 8, 2009, 3:29:49 AM3/8/09
to
Tim Greer wrote:
> ken wrote:
>
>> trying to compile mplayer from source i get a bunch of i2c.h errors.
>> has anybody else encountered this? resolution?
>>
>> thanks,
>> ken
>>
>>
>
> Grab the most relevant and supported code via svn. That might be part
> of the problem you're seeing. I use a new kernel and the svn compiled
> fine. Granted, I'm not using Slackware at this time myself (I'm
> repling to your post in comp.os.linux.misc).

Hi All, thank you so much for the suggestions and advice. It helped to
know others weren't having the same problems so I dug a little further.
I had the i2c error with both the 1.0rc2 and svn sources but the problem
was having old i2c headers in /usr/local/linux/include. Deleted those
but still had openal errors with the svn source which I fixed by doing a
configure --disable-openal. then it compiled through without errors and
now works well.

Thanks again,
Ken

ken

unread,
Mar 8, 2009, 3:28:28 AM3/8/09
to
Tim Greer wrote:
> ken wrote:
>
>> trying to compile mplayer from source i get a bunch of i2c.h errors.
>> has anybody else encountered this? resolution?
>>
>> thanks,
>> ken
>>
>>
>
> Grab the most relevant and supported code via svn. That might be part
> of the problem you're seeing. I use a new kernel and the svn compiled
> fine. Granted, I'm not using Slackware at this time myself (I'm
> repling to your post in comp.os.linux.misc).

Hi All, thank you so much for the suggestions and advice. It helped to

know others weren't having the same problems so I dug a little further.
I had the i2c error with both the 1.0rc2 and svn sources but the problem
was having old i2c headers in /usr/local/linux/include. Deleted those
but still had openal errors with the svn source which I fixed by doing a
configure --disable-openal. then it compiled through without errors and
now works well.

Thanks again,
Ken

--

ken

unread,
Mar 8, 2009, 3:27:06 AM3/8/09
to
Tim Greer wrote:
> ken wrote:
>
>> trying to compile mplayer from source i get a bunch of i2c.h errors.
>> has anybody else encountered this? resolution?
>>
>> thanks,
>> ken
>>
>>
>
> Grab the most relevant and supported code via svn. That might be part
> of the problem you're seeing. I use a new kernel and the svn compiled
> fine. Granted, I'm not using Slackware at this time myself (I'm
> repling to your post in comp.os.linux.misc).

Hi All, thank you so much for the suggestions and advice. It helped to

know others weren't having the same problems so I dug a little further.
I had the i2c error with both the 1.0rc2 and svn sources but the problem
was having old i2c headers in /usr/local/linux/include. Deleted those
but still had openal errors with the svn source which I fixed by doing a
configure --disable-openal. then it compiled through without errors and
now works well.

Thanks again,
Ken

--

ken

unread,
Mar 6, 2009, 1:00:53 PM3/6/09
to
trying to compile mplayer from source i get a bunch of i2c.h errors.
has anybody else encountered this? resolution?

thanks,
ken

--

ken

unread,
Mar 6, 2009, 1:02:14 PM3/6/09
to

Tim Greer

unread,
Mar 8, 2009, 4:47:16 PM3/8/09
to
ken wrote:

I actually didn't have those issues myself, but I'm glad to hear the
issue was resolved. Often, if it's not the fact someone's missing
certain header files, it's common for it to be an issue of them being
out of sync or being too old. Sometimes people will install new
libraries or binaries, but there will be old copies in another path and
it, too, can cause issues with building (depending on where it's
looking for the headers).

ken

unread,
Mar 9, 2009, 2:37:28 AM3/9/09
to
cool, thanks Tim. i think this also applies to my openal compile errors
i was getting because i had previously installed an older openal package
in an attempt to get a binary package of mplayer working, which did work
but was unstable, which is why i went back to trying to compile from
source. anyway, thanks again, and apologies for the multiple posts on
my previous message, seems thunderbird was having trouble sending so i
hit cancel a few times and tried to resend but it looks like all
attempts got sent anyway.
take care,
ken

--
http://middlespot.com - see + save + share your search

Tim Greer

unread,
Mar 9, 2009, 2:56:04 PM3/9/09
to
ken wrote:

> anyway, thanks again, and apologies for the multiple posts on
> my previous message,

No problem, my ISP causes a lot of problems with who they outsource
their news services to (and I get errors, delays, and end up having
multiple posts myself sometimes).

0 new messages