From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Rose To: gsl-discuss@sources.redhat.com Subject: gsl-0.9 and SunProCC 5.0 - compile problems Date: Wed, 19 Dec 2001 13:20:00 -0000 Message-id: <3B4D9FA1.BF8444A8@memot.unibe.ch> X-SW-Source: 2001/msg00308.html Has anyone reported any problems compiling GSL with the native Sun compiler? (SunPro CC/cc 5.0) Configure with CC=cc and CFLAGS=-fast (Sun's version of -O2) I get a problem with the 'templates' :-) Looks like the SunCC has problems assigning the struct that is the _internal_representation /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -fast -c reim.c rm -f .libs/reim.lo cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -fast -c reim.c -KPIC -DPIC -o reim.o "./reim_source.c", line 35: left operand must be modifiable lvalue: op "=" "./reim_source.c", line 53: left operand must be modifiable lvalue: op "=" "./reim_source.c", line 35: left operand must be modifiable lvalue: op "=" "./reim_source.c", line 53: left operand must be modifiable lvalue: op "=" "./reim_source.c", line 35: left operand must be modifiable lvalue: op "=" "./reim_source.c", line 53: left operand must be modifiable lvalue: op "=" cc: acomp failed for reim.c make: *** [reim.lo] Error 1 -- =================================================================== Eric Rose Software Engineer / Project Leader E-mail eric.rose@stratec.com ==> http://www.medivision.ch <== Secr. +41-31-632-8792 Medivision / STRATEC Medical Mobile +41-79-649-1309 Eimattstr. 3, 4436 - Oberdorf FAX +41-31-398-3071 Switzerland ===================================================================