Compilation problem with gcc

From: Murat Balci <balci_at_baum01.ege.edu.tr>
Date: Wed, 13 Sep 1995 09:54:56 +0400 (EET DST)

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
Received on Wed Sep 13 1995 - 09:09:44 NZST

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