Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Video Disk Recorder version 0.99pre5



On Sun, 3 Feb 2002, Klaus Schmidinger wrote:

> Sebastian Herp wrote:
> >
> > Same with VDR0.99pre5 .... error error error
> >
> > milk:/usr/src/VDR # make REMOTE=LIRC VFAT=1
> > Makefile:74: .dependencies: No such file or directory
> > g++ -g -O2 -Wall -Woverloaded-virtual -m486 -c -DREMOTE_LIRC -D_GNU_SOURCE -
> > DVFAT -I../DVB/ost/include config.c
> > In file included from config.c:10:
> > config.h:180: syntax error before `;'
> > config.h:184: `in_addr_t' was not declared in this scope
>
> Earlier versions of VDR didn't use the functions to parse IP addresses
> (from /usr/include/arpa/inet.h). I'm using SuSE 7.3 here and this works
> kust fine. Maybe there's something wrong with your header files?

The problem is with the header files. He is propably using a glibc 2.1
based system (as I am). And there is no "in_addr_t" defined there.

I added a:

typedef uint32_t in_addr_t;

to config.h (as it is defined in /usr/include/netinet/in.h on glibc 2.2
based systems) and everything compiled.
This is just a quick hack, to get things working - the clean version would
be, to check for in_addr_t in a configure script ;-)

bye, ju

-- 
Juergen Schmidt   Leitender Redakteur/senior editor  c't magazin
Verlag Heinz Heise GmbH & Co KG, Helstorferstr. 7, D-30625 Hannover
EMail: ju@ct.heise.de - Tel.: +49 511 5352 300 - FAX: +49 511 5352 417
PGP-Key available




Home | Main Index | Thread Index