summary : DU4.0b C compiler unable to include libraries.

From: chas <panda_at_peace.com.my>
Date: Wed, 22 Apr 1998 12:42:38 +0800 (SGT)

A late follow up and not much of a summary, I'm afraid.
I uninstalled all the patches (to return to the base
system) but still all C compilations failed due to the
inability to find libraries and the old "object file deleted"
gems.

2 Different types of follow up were received :

1. A couple people with similar setups offered me binaries
   (and there is already a binary for perl available for DU4.0b
   available). Cheers but that didn't really provide a long term
   solution... we are constantly installing / testing new
   tools.

2. Best leads were from the comp.unix.programmer groups ....
   Typical follow-ups were :
   [snip]
>cc: Severe: /usr/include/sys/types.h, line 77: Cannot find file
<standards.h>
>...
>But I do indeed have standards.h on my system :
>/usr/sys/include/standards.h
   Sounds to me like you are missing the /usr/include/sys symlink to
   ./sys/include/sys on your system.

   I wonder what else is missing. Good luck!
   [/snip]

   Whilst /usr/include/sys --> ../sys/include/sys does in fact
   exist, I guess my C libs are really messed up.

One more clean installation from scratch, totally by the book
and if that fails, I guess there's little option but to follow the
advice of some fellow programmers - linux.
(which is not too drastic for simple web/cgi/database services.)

chas



Original Post :
---------------

>>Sorry to bother you with what maybe a trivial problem but
>>my C compiler seems to be having immense problems finding
>>any of its own libraries. (This C compiler shipped with the
>>Operating System - Digital Unix 4.0b)
>>
>>A normally-straightforward installation of 'top' gives the following
>>output from 'make' :
>>
>>[snip]
>># make install
>>cc -DHAVE_GETOPT -c top.c
>>cc: Severe: /usr/include/sys/types.h, line 77: Cannot find file
<standards.h>
>>specified in #include directive.
>>#include <standards.h>
>>-^
>>cc: Error: /usr/include/sys/types.h, line 77: Object file deleted.
>>#include <standards.h>
>>-^
>>*** Exit 1
>>Stop.
>>[/snip]
>>
>>But I do indeed have standards.h on my system :
>>/usr/sys/include/standards.h
>>
>>So, I copied /usr/sys/include/standards.h to /usr/include
>>
>>This did the trick for including standards.h, but then 'make'
>>couldn't even find stdio.h.
>>
>>I could go on copying these files over but that's not
>>really going to help in the long run. This seems to be
>>something fundamentally wrong with my system ?
>>(This is an out-of-the-box, standard Digital Unix 4.0b Alpha)
>>
>>Needless to say I'm not getting very far with installation
>>of GCC or other applications,
>>
>>Thank you very much for any advice,
>>
>>chas
Received on Wed Apr 22 1998 - 07:01:32 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT