These files are verry common and MUST be in /usr/include if you want to be
able to compile.

And check the makefile to be sure to replace cc by gcc, and correct any
other stuff that wouldn't suit to your machine/OS.

If really it doesn't want to work, give the
-I/usr/i386-glibc20-linux/include/ option in the makefile, for instance in
the CFLAGS line, after the -O6 option.


Mathieu

> -----Original Message-----
> From: Duncan Hall [mailto:[EMAIL PROTECTED]]
> Sent: 08 October 1999 07:54
> To: [EMAIL PROTECTED]
> Subject: [expert] problems compiling old programmes
> 
> 
> Hi all,
> 
> I hope this is an easy question.
> 
> I am atempting to complile qcam 0.91 (a programme to run a quickcam).
> 
> When I type make I get the following errors.
> 
> [root@duncan /qcam-0.91j]# make
> cc -Wall -O6 -DCONFIG_FILE=\"/usr/local/etc/qcam.conf\" -c -o 
> qcam-lib.o
> qcam-lib.c
> qcam-lib.c:36: stdio.h: No such file or directory
> qcam-lib.c:37: stdlib.h: No such file or directory
> qcam-lib.c:38: string.h: No such file or directory
> qcam-lib.c:39: time.h: No such file or directory
> qcam-lib.c:41: unistd.h: No such file or directory
> qcam-lib.c:43: assert.h: No such file or directory
> In file included from qcam-lib.c:47:
> qcam-os.c:33: stdio.h: No such file or directory
> qcam-os.c:34: unistd.h: No such file or directory
> In file included from qcam-lib.c:47:
> qcam-os.c:40: sys/time.h: No such file or directory
> qcam-os.c:41: sys/types.h: No such file or directory
> qcam-os.c:42: sys/stat.h: No such file or directory
> qcam-os.c:43: fcntl.h: No such file or directory
> make: *** [qcam-lib.o] Error 1
> [root@duncan /qcam-0.91j]#
> 
> These files do exist and are in  /usr/i386-glibc20-linux/include/
> 
> What do I need to do to fix this?
> 
> This is not the only programme I have that does this.
> 
> Thanks
> 
> Dunc
> 
> -- \\-- Duncan Hall - SysAdmin Viator Systems - Sydney Australia +61 2
> 93616137 --\\ --
> 
> 

Reply via email to