You are not logged in.

#1 2005-11-27 17:45:26

mikep
Member
Registered: 2004-10-24
Posts: 13

Compile problem (mythtv)

Hi,
I believe this is a distribution problem rather than a mythtv problem, but forgive me if I am wrong.

I recently tried to compile the latest svn of myth and get the following error...

avio.c: In function 'url_open':
avio.c:68: error: 'ENOENT' undeclared (first use in this function)
avio.c:68: error: (Each undeclared identifier is reported only once
avio.c:68: error: for each function it appears in.)
avio.c:73: error: 'ENOMEM' undeclared (first use in this function)
avio.c: In function 'url_seek':
avio.c:122: error: 'EPIPE' undeclared (first use in this function)
make[2]: *** [avio.o] Error 1
make[2]: Leaving directory `/usr/local/src/mythtv/mythtv018/libs/libavformat'
make[1]: *** [sub-libavformat] Error 2
make[1]: Leaving directory `/usr/local/src/mythtv/mythtv018/libs'
make: *** [sub-libs] Error 2

I also just tried compiling an old version of myth that has been compiled on this computer before, and get the same error.

After googling I find that ENOMEM should be declared in errno.h or error.h or errno-base.h (etc) but this doesn't seem to be the case on my arch box.

Is this something to do with gcc 4?
Any idea what to do about this?

Cheers,
Mike.

Offline

Board footer

Powered by FluxBB