x86_64

Ananda Bhattacharya anandab@cabm.rutgers.edu
Wed Dec 10 23:35:00 GMT 2003





Hi,
	This is a pretty simple quesion, I was wondering if 
anyone here compiled povray on an Opteron, and if so what 
flags were uses in the Makefie CFLAGS and CXFLAGS options.

I just cannot get it to compile any help regarding this 
matter will be great. 

Here is the error that i am getting 

Making all in src
make[1]: Entering directory 
`/arnold/keg/anandab/download/povray-3.50c/src'
c++ -DPREFIX=\"/usr/local\" 
-DPOV_LIB_DIR=\"/usr/local/share/povray-3.5\" 
-DCOMPILER_VER=\".Linux.gcc\" 
-DSYSCONFDIR=\"/usr/local/etc\" -DUSE_IO_RESTRICTIONS=\"\"     
`if [ "Xgcc" = "Xgcc" ]; then echo "-Wno-multichar"; fi ` 
-O3 -finline-functions -ffast-math -fomit-frame-pointer 
-funroll-loops -fexpensive-optimizations  
-foptimize-sibling-calls -minline-all-stringops 
-Wno-multichar  -c bbox.cpp
In file included from bbox.cpp:47:
optout.h:49:2: #error You must complete the following 
DISTRIBUTION_MESSAGE macro
bbox.cpp: In function `int sort_and_split(BBOX_TREE**, 
BBOX_TREE**&, long int*, 
   long int, long int)':
bbox.cpp:1872: warning: assignment to `long int' from 
`double'
bbox.cpp:1872: warning: argument to `long int' from `double'
make[1]: *** [bbox.o] Error 1


##################################################
What should my correct compiler flags be. 
thanks 

PS this might be a trivial problem so sorry for bothering 
anyone. 
-Ananda 



-- 
Recruiter: "How do you write a perl script?"
Canidate : "You type it."
	-Actual phone interview, Circa Nov 2003




More information about the Gcc-help mailing list