I have an application where I need to link several classes which compiles fine in my suse linux 10.3. I got a new mac laptop with intel, leopard, and i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465).
In this laptop the linking fails:
rootcint -v3 -f classes/PBubbleDict.C -c -I/usr/local/root/include -Iinclude -I/Users/bbeltran/work/picasso/code/ppc32/fftw/include -p include/PBubble.hh include/PBubbleLinkDef.h
Error: Too many ‘}’ /usr/include/sys/uio.h:111:
Error: Missing closing brace for the block opened around line 25.
Error: Unexpected end of file (G__exec_statement()) /var/tmp/tmp.1.T757Ug_cint.cxx:2:
Warning: Error occurred during reading source files
Warning: Error occurred during dictionary source generation
!!!Removing classes/PBubbleDict.C classes/PBubbleDict.h !!!
Error: rootcint: error loading headers…
Any idea about what am I doing wrong?
If more information is needed I will be happy to provide it.