discuss-gnu-electric
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compile error on Solaris 7 on Sparc


From: Steven Rubin
Subject: Re: Compile error on Solaris 7 on Sparc
Date: Wed, 01 Aug 2001 12:37:33 -0400

        I am getting the following error during compile on a
solaris box.

Can anyone help, may be this is trivial
------------------------------------------
gcc -I/usr/openwin/include -Isrc/include -c src/db/dblangelk.c -o src/db/dblangelk.o c++ -I/usr/openwin/include -Isrc/include -c src/db/dblangjava.cpp -o src/db/dblangjava.o
In file included from /usr/openwin/include/X11/Intrinsic.h:56,
                 from src/include/config.h:96,
                 from src/db/dblangjava.cpp:31:
------------------------------------------

So the X11 headers compile properly in C, but not in C++. Curious. Try using "gcc" for the C++. To do this, edit "Makefile" and fix up the lines that read:

CCOMPILER = gcc
CPPCOMPILER = c++

   -Steven Rubin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]