Skip site navigation (1)Skip section navigation (2)
Date:      4 May 96 16:38:32 GMT
From:      peter@jhome.DIALix.COM (Peter Wemm)
To:        freebsd-current@freebsd.org
Subject:   Re: qcam driver (kernel doesn't compile)
Message-ID:  <peter.831227912@jhome.DIALix.COM>
References:  <199605021625.BAA00248@berkeley.race.u-tokyo.ac.jp>, <313.831057925@critter.tfs.com>

next in thread | previous in thread | raw e-mail | index | archive | help
phk@critter.tfs.com (Poul-Henning Kamp) writes:

>yeah, right! and while we're at it let's get Sun to get rid of the
>	#ifdef sun
>trash, we don't want that either...

>Calling anything in FreeBSD "LINUX" is blatant disregard for reality.

>Poul-Henning

Bruce Evans broke this!  he took "LINUX" out of options.i386, which made it
become defined via the Makefile and visible to the entire kernel, rather than
the files that #include'ed the option file.

:-(

-Peter

>> Linux-emu and qcamio.c uses the "LINUX" symbol in different purpose.
>> Perhaps qcamio.c would be better to use another symbol to identify LINUX...
>> 
>> Naohiro Shichijo
>> The Univesity of Tokyo.
>> 
>> From: "Christoph P. Kukulies" <kuku@gilberto.physik.rwth-aachen.de>
>> Subject: qcam driver (kernel doesn't compile)
>> Date: Thu, 02 May 1996 17:08:11 +0200
>> Message-ID: <199605021508.RAA14941@gilberto.physik.rwth-aachen.de>
>> 
>> kuku> I supped and as a result I can't compile my kernel any longer:
>> kuku> 
>> kuku> cc -c -O -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnes
>ted-externs -Wstrict-prototypes -Wmissing-prototypes  -Winline  -nostdinc -I. -
>I../.. -I../../sys -I../../../include -DI486_CPU -DGUSMAX -DATAPI -DLINUX -DCOM
>PAT_LINUX -DCOMPAT_43 -DCD9660 -DMSDOSFS -DNFS -DFFS -DINET -DKERNEL  ../../i38
>6/isa/qcamio.c
>> kuku> ../../i386/isa/qcamio.c:61: linux/kernel.h: No such file or directory
>> kuku> ../../i386/isa/qcamio.c:62: linux/sched.h: No such file or directory
>> kuku> ../../i386/isa/qcamio.c:63: linux/string.h: No such file or directory
>> kuku> ../../i386/isa/qcamio.c:64: linux/delay.h: No such file or directory
>> kuku> ../../i386/isa/qcamio.c:65: asm/io.h: No such file or directory
>> kuku> ../../i386/isa/qcamio.c:66: qcam-linux.h: No such file or directory
>> kuku> *** Error code 1
>> kuku> 
>> kuku> Stop.
>> kuku> 
>> kuku> --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de
>> kuku> 

>--
>Poul-Henning Kamp           | phk@FreeBSD.ORG       FreeBSD Core-team.
>http://www.freebsd.org/~phk | phk@login.dknet.dk    Private mailbox.
>whois: [PHK]                | phk@ref.tfs.com       TRW Financial Systems, Inc.
>Future will arrive by its own means, progress not so.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?peter.831227912>