Re: CORBA-ORBit compile error on DEC Unix 4.0f



On Wed, 19 Sep 2001, Gnanasekaran Thoppae wrote:

> Hello,
>
> I am trying to compile CORBA-ORBit perl module on Tru64 Unix 4.0F,
> but I have a problem. I have compiled ORBit-0.5.8 on the same machine
> and it works fine.
>
> What could the problem?
[...]
> cc -c -I/usr/local/lib/glib/include -I/usr/local/include
> -I/usr/local/corba/ORBit/include -std -fprm d -ieee -D_INTRINSICS
> -I/usr/local/include -DLANGUAGE_C -g -Wall    -DVERSION=\"0.4.3\"
> -DXS_VERSION=\"0.4.3\"
> -I/usr/local/perl5.005_03/lib/5.00503/alpha-dec_osf/CORE  ORBit.c
> cc: Error: Syntax error on -W switch:  form is -Wpassname,switch
> gmake: *** [ORBit.o] Error 2

Either use gcc (set CC in the generated Makefile to gcc) or remove the
warning-all option from the flags (in the Makefile.PL, delete the -Wall
string from the OPTIMIZE line).

				Bye,NAR
-- 
"Beware of bugs in the above code; I have only proved it correct, not
 tried it."





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