From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075323306544.tru64-unix-managers.marc@archive.invalid> From: Murat Balci Date: Wed, 13 Sep 1995 05:54:56 +0000 To: tru64-unix-managers Subject: Compilation problem with gcc X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075323306544 Hi, One of our users send the following mail to me. Do you have any idea about that ? Sincerely. murat. ps* I have also tried cxx but negative . ----- I am trying to compile a simulation package (smurph) written in C++ with gcc, on a DEC Alpha. The compiler gives the following messages and produces no output (the name of the source code I am trying to compile is "maker.cc"); ----------------------------------------------------------------------------- In file included from /usr/local/lib/gcc-lib/alpha-dec-osf2.0/2.6.3/include/time.h:195, from /usr/local/lib/g++-include/osfcn.h:6, from maker.cc:18: /usr/include/sys/timers.h:188: `clockid_t' was not declared in this scope /usr/include/sys/timers.h:188: parse error before `,' /usr/include/sys/timers.h:189: `clockid_t' was not declared in this scope /usr/include/sys/timers.h:189: parse error before `,' /usr/include/sys/timers.h:195: `clockid_t' was not declared in this scope /usr/include/sys/timers.h:195: parse error before `,' /usr/include/sys/timers.h:214: `clockid_t' was not declared in this scope /usr/include/sys/timers.h:214: parse error before `,' maker.cc: In function `int main()': maker.cc:338: warning: implicit declaration of function `int mkdir(...)' ------------------------------------------------------------------------- According to the manual of the package, these kinds of compiler problems are due to some glitches in include files, and not related to the program. Anybody has an idea on what to do in this situation? Many thanks in advance. A. F. Ates