[oss-devel] nonfree dir
Hannu Savolainen
hannu at opensound.com
Sun Jun 17 23:53:14 EEST 2007
Hi,
There is a bug in the handling of buildid.h in the current OSS source
packages. This file is supposed to contain few compile flags such as
__OPENOSS_. The configure command creates it correctly but "make" may
overwrite the file with an incomplete version (make.defs contains a rule
for this). The result is that the build process will try to compile few
header files that are not included in the source distribution.
I think the problem gets triggered if the original sources are on NFS
partition on remote machine and clocks of the local machine and the NFS
server are not in sync.
We are investicating the problem and it will be fixed in the future
source drops (in couple of days). However the workaround is to edit
make.defs in the top directory and commenting out this rule (lines 42
and 43). The local build directory needs to be recreated after that.
Best regards,
Hannu
-------
Robert Millan kirjoitti:
> There are a lot of references in the source to a "nonfree" directory, but I
> can't find it anywhere. Is this a remnant from an older version?
>
>
> ------------------------------------------------------------------------
>
> oss-v4.1test0-070615-src-gpl/kernel/drv/softoss/softoss.c:#include "kernel/nonfree/ossverb_int/ossverb.c"
> oss-v4.1test0-070615-src-gpl/kernel/drv/softoss/softoss.c:#include "kernel/nonfree/ossfid_int/ossfid_int.c"
> oss-v4.1test0-070615-src-gpl/kernel/drv/softoss/softoss.c:#include "kernel/nonfree/3dsur_int/3dsur_int.c"
> oss-v4.1test0-070615-src-gpl/setup/Linux/build.sh:if ! /tmp/confgen prototype/usr/lib/oss/conf.tmpl \\/usr\\/lib\\/oss\\/conf kernel/drv/* kernel/nonfree/drv/* kernel/framework/*
> oss-v4.1test0-070615-src-gpl/setup/Linux/build.sh: if test -f $SRCDIR/kernel/nonfree/drv/$N/$N.man
> oss-v4.1test0-070615-src-gpl/setup/Linux/build.sh: sed 's/CONFIGFILEPATH/\/usr\/lib\/oss\/conf/' < $SRCDIR/kernel/nonfree/drv/$N/$N.man > /tmp/ossman.txt
> oss-v4.1test0-070615-src-gpl/setup/Linux/build.sh: $SRCDIR/setup/txt2man -t "$CMD" -v "OSS Devices" -s 7 $SRCDIR/kernel/nonfree/drv/$N/$N.man|gzip > prototype/usr/share/man/man7/$N.7.gz
> oss-v4.1test0-070615-src-gpl/setup/Linux/build.sh: cc -o prototype/usr/sbin/osslic -Isetup -Ikernel/nonfree/include -Ikernel/framework/include -Iinclude -Ikernel/OS/Linux -I$SRCDIR $SRCDIR/4front-private/osslic.c
> oss-v4.1test0-070615-src-gpl/setup/setupdir.sh:if test ! -d kernel/nonfree || test -f $SRCDIR/kernel/nonfree/.nomake
> oss-v4.1test0-070615-src-gpl/setup/SunOS/build.sh:./confgen prototype/platform/$MACH/kernel/drv \\/platform\\/$MACH\\/kernel\\/drv $KERNEL32/kernel/drv/* $KERNEL32/kernel/nonfree/drv/* $KERNEL32/kernel/framework/*
> oss-v4.1test0-070615-src-gpl/setup/SunOS/build.sh: cc -o prototype/usr/sbin/osslic -I$KERNEL32/setup -I$KERNEL32/kernel/nonfree/include -I$KERNEL32/kernel/framework/include -I$KERNEL32/include -I$KERNEL32/kernel/OS/SunOS $KERNEL32/4front-private/osslic.c
> oss-v4.1test0-070615-src-gpl/setup/SCO_SV/build.sh: if test -f $SRCDIR/kernel/nonfree/drv/$N/$N.man
> oss-v4.1test0-070615-src-gpl/setup/SCO_SV/build.sh: sed 's/CONFIGFILEPATH/\/usr\/lib\/oss\/conf/' < $SRCDIR/kernel/nonfree/drv/$N/$N.man > /tmp/ossman.tmp
> oss-v4.1test0-070615-src-gpl/setup/SCO_SV/build.sh: cc -o prototype/usr/sbin/osslic -Isetup -Ikernel/nonfree/include -Ikernel/framework/include -Iinclude -Ikernel/OS/SCO_SV -I$SRCDIR $SRCDIR/4front-private/osslic.c
> oss-v4.1test0-070615-src-gpl/setup/FreeBSD/build.sh: cc -o prototype/usr/sbin/osslic -Isetup -Ikernel/nonfree/include -Ikernel/framework/include -Iinclude -Ikernel/OS/FreeBSD -I$SRCDIR $SRCDIR/4front-private/osslic.c
> oss-v4.1test0-070615-src-gpl/make.defs: -I$(TOPDIR)/kernel/nonfree/include -I$(TOPDIR) \
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> oss-devel mailing list
> oss-devel at mailman.opensound.com
> http://mailman.opensound.com/mailman/listinfo/oss-devel
>
More information about the oss-devel
mailing list