________________________________

From: [email protected] on behalf of Maurice Volaski
Sent: Thu 6/3/2010 4:14 PM
To: [email protected]
Subject: [Linux-HA] OpenSolaris gcc doesn't like every option required to build 
the cluster glue



I am trying to build heartbeat on OpenSolaris. In building the
cluster glue, I see this in the configure output

./configure[22234]: local: not found [No such file or directory]
checking whether gcc -std=gnu99 supports "-fgnu89-inline"... yes
./configure[22234]: local: not found [No such file or directory]
checking whether gcc -std=gnu99 supports "-fstack-protector-all"... yes
./configure[22234]: local: not found [No such file or directory]
checking whether gcc -std=gnu99 supports "-Wunsigned-char"... yes

I'm not sure what it means by "local: not found [No such file or
directory]". Anyway, it claims that those  three compile options are
found. However, make doesn't agree:

cc1: error: unrecognized command line option "-Wunsigned-char"
cc1: error: unrecognized command line option "-fgnu89-inline"
cc1: error: unrecognized command line option "-fstack-protector-all"

I then tried compiling with gcc-4.3.2 instead of gcc-3.4.3. Then I
just get one error:
cc1: error: unrecognized command line option "-Wunsigned-char".

How can I get past it?
--



One hack would be to remove or uncomment it in the Makefile. However, you may 
have to do this for all makefiles recursively invoked.
pushkar

<<winmail.dat>>

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to