home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!mcsun!sunic!liuida!isy!lysator.liu.se!lien
- From: lien@lysator.liu.se (Jan Lien)
- Subject: gcc install: files missing
- Message-ID: <1573@lysator.liu.se>
- Sender: news@isy.liu.se (Lord of the News)
- Organization: Lysator Academic Computer Society, Linkoping University, Sweden
- Date: Thu, 3 Sep 1992 23:38:19 GMT
- Lines: 32
-
-
- I recently tried installing gcc 2.2.2d and succeded to get the script
- running after a while. Linux does not support more than 14 char
- filenames, so one has to change the install script to shorter
- names, and rename the files.
-
- However, I am now unable to compile programs. When I tried one
- program (diskbackup.c) from the archives, I get
-
- In file included from diskbackup.c:6:
- /usr/include/sys/types.h:1: linux/types.h: No such file or directory
- In file included from /usr/include/sys/stat.h:5, from diskbackup.c:7:
- /usr/include/sys/types.h:1: linux/types.h: No such file or directory
- In file included from diskbackup.c:7:
- /usr/include/sys/stat.h:8: linux/stat.h: No such file or directory
- In file included from /usr/include/fcntl.h:5, from diskbackup.c:8:
- /usr/include/sys/types.h:1: linux/types.h: No such file or directory
- In file included from diskbackup.c:8:
- /usr/include/fcntl.h:6: linux/fcntl.h: No such file or directory
-
- The statements
- #include <linux/types.h> in /usr/include/sys/types.h
- #include <linux/stat.h> in /usr/include/sys/stat.h
- and #include <linux/fcntl.h> in /usr/include/fcntl.h
- apparantly reference files I do not have. Where do I find them - but
- even more important is maybe : What other files may be missing?
- Does not the install script really check everything? How can I check
- that my installation is complete?
-
- And how do I get a make that works? That is what I needed the gcc
- for, and where is gdb?
-
-