I have installed root 3.10.02 for cygwin. In general it works very well. There are, however, a few issues I am having (I have gcc 3.3).
- Compiler warnings about versions
- Unable to build test code and compile certain root scripts
- Unable to build root from scratch
I don’t know if all of these problems have to do with my having gcc 3.3. I thought it would be easiest to downgrade my gcc to 3.2 and see what happens, but apparently that is no longer possible. If it is a problem with root and gcc3.3, are there any future plans?
Thanks,
Charles
- When I tell root to compile (.L) a file, I get a bunch of the following warnings (although the macro compiles and runs fine):
:17:1: warning: “GNUC_MINOR” redefined
:3:1: warning: this is the location of the previous definition
(I am assuming that this version of root was built with gcc 3.2 and I have 3.3 and that is the cause)
-
In this case, I got this error message when trying to build ‘Tetris’ in the test area. I have also seen this error message when trying to compile a root script (.L)
cplager@pointyjr> make Tetris
g++ -shared -D_DLL -Wl,–export-all-symbols -O -Wl,–enable-auto-import Tetris. TetrisDict.o -L/usr/local/bin/root//lib -lCore -lCint -lHist -lGraf -lGraf3d - Gpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lm -L/usr/local/bin/root//l b -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatr x -lPhysics -lGui -lm -o Tetris.dll
d000038.o(.idata$5+0x0): multiple definition of__imp___ZTV14TSysEvtHandler' d000028.o(.idata$5+0x0): first defined here d000038.o(.idata$6+0x0): multiple definition of
__nm___ZTV14TSysEvtHandler’
d000028.o(.idata$6+0x0): first defined here
d000039.o(.idata$5+0x0): multiple definition of__imp___ZTV5TIter' d000029.o(.idata$5+0x0): first defined here d000039.o(.idata$6+0x0): multiple definition of
__nm___ZTV5TIter’
d000029.o(.idata$6+0x0): first defined here
d000042.o(.idata$5+0x0): multiple definition of__imp___ZTV5TIter' d000029.o(.idata$5+0x0): first defined here d000042.o(.idata$6+0x0): multiple definition of
__nm___ZTV5TIter’
d000029.o(.idata$6+0x0): first defined here
d000217.o(.idata$5+0x0): multiple definition of__imp___ZTV5TIter' d000029.o(.idata$5+0x0): first defined here d000217.o(.idata$6+0x0): multiple definition of
__nm___ZTV5TIter’
d000029.o(.idata$6+0x0): first defined here
d000218.o(.idata$5+0x0): multiple definition of__imp___ZTV7TQClass' d000032.o(.idata$5+0x0): first defined here d000218.o(.idata$6+0x0): multiple definition of
__nm___ZTV7TQClass’
d000032.o(.idata$6+0x0): first defined here
d000241.o(.idata$5+0x0): multiple definition of__imp___ZTV5TIter' d000029.o(.idata$5+0x0): first defined here d000241.o(.idata$6+0x0): multiple definition of
__nm___ZTV5TIter’
d000029.o(.idata$6+0x0): first defined here
d000264.o(.idata$5+0x0): multiple definition of__imp___ZTV5TIter' d000029.o(.idata$5+0x0): first defined here d000264.o(.idata$6+0x0): multiple definition of
__nm___ZTV5TIter’
d000029.o(.idata$6+0x0): first defined here
d000271.o(.idata$5+0x0): multiple definition of__imp___ZTV5TIter' d000029.o(.idata$5+0x0): first defined here d000271.o(.idata$6+0x0): multiple definition of
__nm___ZTV5TIter’
d000029.o(.idata$6+0x0): first defined here
d000428.o(.idata$5+0x0): multiple definition of__imp___ZTV14TSysEvtHandler' d000028.o(.idata$5+0x0): first defined here d000428.o(.idata$6+0x0): multiple definition of
__nm___ZTV14TSysEvtHandler’
d000028.o(.idata$6+0x0): first defined here
d000429.o(.idata$5+0x0): multiple definition of__imp___ZTV5TIter' d000029.o(.idata$5+0x0): first defined here d000429.o(.idata$6+0x0): multiple definition of
__nm___ZTV5TIter’
d000029.o(.idata$6+0x0): first defined here
d000430.o(.idata$5+0x0): multiple definition of__imp___ZTV6TTimer' d000030.o(.idata$5+0x0): first defined here d000430.o(.idata$6+0x0): multiple definition of
__nm___ZTV6TTimer’
d000030.o(.idata$6+0x0): first defined here
d000431.o(.idata$5+0x0): multiple definition of__imp___ZTV7TQClass' d000032.o(.idata$5+0x0): first defined here d000431.o(.idata$6+0x0): multiple definition of
__nm___ZTV7TQClass’
d000032.o(.idata$6+0x0): first defined here
collect2: ld returned 1 exit status
make: *** [Tetris.dll] Error 1 -
I attached the errors in ‘make.txt’
make.txt (46 KB)