From: Steven M. S. <sms@2BSD.COM> - 2002-07-25 04:47:59
|
Hi! I know this has been brought up before but no consensus about the exact fix was reached. On some systems the header file endian.h is in a different place than /usr/include or /usr/local/include. gmake gmake all-recursive gmake[1]: Entering directory `/usr/local/src/libdv-cvs' Making all in libdv gmake[2]: Entering directory `/usr/local/src/libdv-cvs/libdv' source='gasmoff.c' object='gasmoff.o' libtool=no \ depfile='.deps/gasmoff.Po' tmpdepfile='.deps/gasmoff.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -g -c `test -f gasmoff.c || echo './'`gasmoff.c In file included from gasmoff.c:25: dv_types.h:41: endian.h: No such file or directory gmake[2]: *** [gasmoff.o] Error 1 gmake[2]: Leaving directory `/usr/local/src/libdv-cvs/libdv' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/local/src/libdv-cvs' gmake: *** [all] Error 2 If I change the <endian.h> (in 3 places) to <machine/endian.h> all is well. One way to fix the problem is augment configure.ac to define HAVE_ENDIAN_H or HAVE_MACHINE_ENDIAN_H and then ifdef the references to <endian.h> Other than that libdv builds and runs fine on a BSD system. Cheers, Steven Schultz |