Re: Problems compiling on Solaris

Sam Hart <[email protected]>
Newsgroups gmane.mail.cone
Message-ID <[email protected]>
* On 04-02-17, Sam Hart wrote:

<snip>
>  CPPFLAGS=/opt/samfw/include:/opt/samfw/include/openssl
>  LDFLAGS=/opt/samfw/lib

Whoops! Anyone else see what my problem was here? ;-)

Okay, having fixed my ld and cpp flags, it now configures, but durring 
make it gets into the curses/ directory and chokes on the 
compilation  of "cursesscreen.C" file. Here is the error:

gmake[3]: Entering directory 
`/export/home/criswell/incoming/apps/mail/cone-0.57/curses'
Compiling cursesscreen.C
In file included from cursesscreen.C:10:
cursesfield.H:97: invalid data member initialization
cursesfield.H:97: (use `=' to initialize static data members)
cursesfield.H:97: variable or field `werase' declared void
In file included from /opt/jfw/include/c++/3.2.2/ios:51,
                 from /opt/jfw/include/c++/3.2.2/istream:44,
                 from /opt/jfw/include/c++/3.2.2/iomanip:45,
                 from cursesscreen.C:16:
/opt/jfw/include/c++/3.2.2/bits/basic_ios.h:91:38: macro "clear" passed 1 
arguments, but takes just 0
In file included from /opt/jfw/include/c++/3.2.2/ios:51,
                 from /opt/jfw/include/c++/3.2.2/istream:44,
                 from /opt/jfw/include/c++/3.2.2/iomanip:45,
                 from cursesscreen.C:16:
/opt/jfw/include/c++/3.2.2/bits/basic_ios.h:91: variable or field `clear' 
   declared void
/opt/jfw/include/c++/3.2.2/bits/basic_ios.h:95:46: macro "clear" passed 1 
arguments, but takes just 0
/opt/jfw/include/c++/3.2.2/bits/basic_ios.h:121:39: macro "clear" passed 1 
arguments, but takes just 0
In file included from /opt/jfw/include/c++/3.2.2/bits/basic_ios.h:207,
                 from /opt/jfw/include/c++/3.2.2/ios:51,
                 from /opt/jfw/include/c++/3.2.2/istream:44,
                 from /opt/jfw/include/c++/3.2.2/iomanip:45,
                 from cursesscreen.C:16:
/opt/jfw/include/c++/3.2.2/bits/basic_ios.tcc:39:54: macro "clear" passed 
1 arguments, but takes just 0
In file included from /opt/jfw/include/c++/3.2.2/bits/basic_ios.h:207,
                 from /opt/jfw/include/c++/3.2.2/ios:51,
                 from /opt/jfw/include/c++/3.2.2/istream:44,
                 from /opt/jfw/include/c++/3.2.2/iomanip:45,
                 from cursesscreen.C:16:
/opt/jfw/include/c++/3.2.2/bits/basic_ios.tcc:40: syntax error before `{' 
token
/opt/jfw/include/c++/3.2.2/bits/basic_ios.tcc:40: confused by earlier 
errors, bailing out
gmake[3]: *** [cursesscreen.o] Error 1

Any suggestions as to what I should check next?

-- 
Sam Hart
University/Work addr. <[email protected]>
Personal addr. <[email protected]>
Alternative <[email protected]>
end



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Courier-cone mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-cone
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.