[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ddd-3.3 compilation problem with gcc 3.0.1
From: |
Arnaud Desitter |
Subject: |
Re: ddd-3.3 compilation problem with gcc 3.0.1 |
Date: |
Fri, 2 Nov 2001 09:46:42 +0000 (GMT) |
>
> Dear ddd developers/users,
>
> I am trying to install ddd-3.3 using gcc 3.0.1 on Solaris 8 machine, and
> I got the following
> error message:
>
> make[1]: Entering directory `/usr/local/src/ddd-3.3/ddd'
> c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/openwin/include
> -DNDEBUG -O2 -g -W -Wall -trigraphs -c ddd.C
>
> ....lots of warning messages here, then I got the following compilation
> error:
>
> Agent.h: In member function `void Agent::_raise(string, int, bool, bool)':
> Agent.h:206: cannot convert `int' to `int*(*)()' for argument `1' to `char*
> strerror(int*(*)())'
> make[1]: *** [ddd.o] Error 1
> make[1]: Leaving directory `/usr/local/src/ddd-3.3/ddd'
> make: *** [all-recursive] Error 1
>
> ddd-3.3 cannot be compiled under gcc-3.0.1?
> I would appreciate any help!
>
> Thank you very much in advance,
> Naoki Saito (UC Davis)
>
Weird ! Looks like a problem with "errno".
You could add manually "extern "C" int errno;".
Could you try the latest version in the CVS repository
at sourceforge.net ?
Cheers,
Arnaud
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.