Hi,

I am trying to build OpenHPI on my Solaris 10 u5 sparc machine. So which
compiler I must use? as per requirement is mentioned in README, I used gcc
available for solaris. but when I compiled I found ./configure is giving
parameter "-mt" to gcc (in CFLAGS and other flags). I tried to override the
CFLAGS by ./configure CFLAGS='<other flags removing -mt>' but still it
appended -mt flag.

basically error is weird, while configuration, the configure script is
creating conftest.c file and tries compiling it against option -lglib-2.0
just to check availability of glib-2.0 which I have installed and tested its
working. and as Gcc is failing (due to illigle option t) configure pops out
error as glib-2.0 is missing.

I am using gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

I tried searching who is setting this -mt flag and tried to remove it with
few changes in configure file. but from somewhere it is getting appended,
maybe because architecture is solaris and -mt flag of cc is same as
-lpthread for gcc.

Please help me fix same problem or suggest some alternate way to compile
OpenHPI on Solaris

-- 
Thanks & Regards,
Saumitra Bhanage.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel

Reply via email to