gcc-2.5.8 -> gcc-2.6.3 Help I get an error

gcc-2.5.8 -> gcc-2.6.3 Help I get an error

Post by Aaron Dies » Sat, 21 Jan 1995 00:40:22



Could someone please help me upgrade gcc-2.5.8?  I am trying to go to either
2.6.2 or 2.6.3.  Both of them give me the same error.

First I 'configure', and that seems to work fine.  But then I do a
'make LANGUAGES=c' and it starts off fine:

cc  -DIN_GCC -DPOSIX  -g     -I. -I. -I./config \
  -DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/i486-unknown-linux/2.6.2/include\" \
  -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/g++-include\" \
  -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
  -DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/i486-unknown-linux/2.6.2/sys-include\" \
  -DTOOL_INCLUDE_DIR=\"/usr/local/i486-unknown-linux/include\" \
  -c `echo ./cccp.c | sed 's,^\./,,'`

... but then gives me some errors about not being able to find some
header files:

In file included from cccp.c:74:
/usr/include/sys/types.h:4:   linux/types.h:  No such file or directory

and a couple others with stat.h, signal.h, fcntl.h, and errno.h.  This
seems to be an error in cccp.c, since /usr/include/sys/types.h DOES
exit on my system.  There isn't even a linux directory in the package,
I don't think, so why is it looking for linux/types.h?

Any help would be great.

-Aaron

 
 
 

gcc-2.5.8 -> gcc-2.6.3 Help I get an error

Post by Ralf Baech » Sat, 21 Jan 1995 20:03:33


|>
|> Could someone please help me upgrade gcc-2.5.8?  I am trying to go to either
|> 2.6.2 or 2.6.3.  Both of them give me the same error.
|>
|> First I 'configure', and that seems to work fine.  But then I do a
|> 'make LANGUAGES=c' and it starts off fine:
|>
|> cc  -DIN_GCC -DPOSIX  -g     -I. -I. -I./config \
|>   -DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/i486-unknown-linux/2.6.2/include\" \
|>   -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/g++-include\" \
|>   -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
|>   -DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/i486-unknown-linux/2.6.2/sys-include\" \
|>   -DTOOL_INCLUDE_DIR=\"/usr/local/i486-unknown-linux/include\" \
|>   -c `echo ./cccp.c | sed 's,^\./,,'`
|>
|>
|> ... but then gives me some errors about not being able to find some
|> header files:
|>
|> In file included from cccp.c:74:
|> /usr/include/sys/types.h:4:   linux/types.h:  No such file or directory
|>
|> and a couple others with stat.h, signal.h, fcntl.h, and errno.h.  This
|> seems to be an error in cccp.c, since /usr/include/sys/types.h DOES
|> exit on my system.  There isn't even a linux directory in the package,
|> I don't think, so why is it looking for linux/types.h?

Most probably you have either no kernel sources installed or the links
asm and linux in /usr/include/ don't point to /usr/src/linux/include/{asm/linux}

  Ralf

 
 
 

1. gcc-2.5.8 vs gcc-2.7.0

I have recently and FINALLY installed ftape-2.03b using the
new? linux-1.2.11 kernel.  I compiled all of this using gcc-2.5.8,
which seemed, in the end, to work fine.  However, I am about to enter a
whole new level of pain because I wish to install and acutally get working
PPP and I am wondering:
a)
Is it necessary to upgrade to gcc-2.7.0 ? (I don't want to unless necessary
because updating gcc looks difficult, or at least an 1800 line intall guide
is intimidating.)

b)
Are the extensions on gcc like that of linux, that is, is an odd second
digit an indication of an experimental version. For example, v1.3.xxx of linux
is considered unstable while all versions v1.2.xxx are considered stable,
or at least more stable.

c)
Or am I completely confused  and gcc does not enter into the picture.

Thanks, thanks, thanks for any help
Byron

2. FTP problems and iptables

3. How alpha are gcc-i2.5.8/i2.6.3?

4. UUCP problem

5. gcc-2.5.8 ==> 2.6.x soon?

6. g++ for solaris7 x86

7. GCC-2.6.3 ELF Compilation Error

8. redhat 6.2 is really slow

9. gcc-2.6.3 - Solaris 2.4 x86 compile errors

10. Help: gcc-2.5.8 compile on SCO

11. Solaris 5.8: gcc - > getopt_long and ld: fatal error: ....

12. GCC-i2.6.3 compiling (gcc with pentium optimiz's) PLEASE HELP US!!

13. Help! X11R6pl11 + gcc-2.6.3 + 2.4 + Sparc5 + tcx0