HELP!!! Ok. With all suggestions, I tried the following. 1. export CXX='g++ -V egcs-2.91.66' 2. export CC='gcc -V egcs-2.91.66' Then, do the usual things to compile brat. It failed because it complains about header files. Then, I tried 1. export CXX='g++ -V egcs-2.91.66 -I/usr/i386-glibc21-linux/include' 2. export CC='g++ -V egcs-2.91.66 -I/usr/i386-glib21-linux/include' Then, it failed again with the same message. The following is the output of the compilation. make[2]: Entering directory `/home/hito/temp/brat/data/abc' /bin/sh ../../libtool --mode=compile g++ -V egcs-2.91.66 -I/usr/i386-glibc21-linux/include -DPACKAGE=\"brat\" -DVERSION=\"2.1.9\" -DONL_unix=1 -I. -I. -I. -D_REENTRANT -I/afs/rhic/opt/brahms/root/root_v3.01.06/include -I../../data/abc -I../../data/params -I../../util -I../../managers -I../../modules/abc -I../../modules/util -DMAJOR=2 -DMINOR=1 -DREVISION=9 -g -O2 -c BrClonesArray.cxx g++ -V egcs-2.91.66 -I/usr/i386-glibc21-linux/include -DPACKAGE=\"brat\" -DVERSION=\"2.1.9\" -DONL_unix=1 -I. -I. -I. -D_REENTRANT -I/afs/rhic/opt/brahms/root/root_v3.01.06/include -I../../data/abc -I../../data/params -I../../util -I../../managers -I../../modules/abc -I../../modules/util -DMAJOR=2 -DMINOR=1 -DREVISION=9 -g -O2 -Wp,-MD,.deps/BrClonesArray.pp -c BrClonesArray.cxx -fPIC -DPIC -o BrClonesArray.lo /usr/i386-glibc21-linux/include/bits/string2.h: In function `char * __strcpy_small(char *, __uint16_t, __uint16_t, __uint32_t, __uint32_t, size_t)': In file included from /usr/i386-glibc21-linux/include/string.h:346, from /afs/rhic/opt/brahms/root/root_v3.01.06/include/Bytes.h:40, from /afs/rhic/opt/brahms/root/root_v3.01.06/include/TBuffer.h:28, from /afs/rhic/opt/brahms/root/root_v3.01.06/include/TObject.h:192, from /afs/rhic/opt/brahms/root/root_v3.01.06/include/TCollection.h:26, from /afs/rhic/opt/brahms/root/root_v3.01.06/include/TSeqCollection.h:26, from /afs/rhic/opt/brahms/root/root_v3.01.06/include/TObjArray.h:26, from /afs/rhic/opt/brahms/root/root_v3.01.06/include/TClonesArray.h:26, from BrClonesArray.h:45, from BrClonesArray.cxx:13: /usr/i386-glibc21-linux/include/bits/string2.h:408: warning: ANSI C++ forbids implicit conversion from `void *' in initialization /usr/i386-glibc21-linux/include/bits/string2.h:419: warning: ANSI C++ forbids using pointer of type `void *' in arithmetic /usr/i386-glibc21-linux/include/bits/string2.h:419: warning: ANSI C++ forbids implicit conversion from `void *' in assignment /usr/i386-glibc21-linux/include/bits/string2.h:427: warning: ANSI C++ forbids using pointer of type `void *' in arithmetic /usr/i386-glibc21-linux/include/bits/string2.h:427: warning: ANSI C++ forbids implicit conversion from `void *' in assignment /usr/i386-glibc21-linux/include/bits/string2.h:432: warning: ANSI C++ forbids using pointer of type `void *' in arithmetic etc....... Ok. Then, I found the script called i386-glibc21-linux-env.sh in /usr/i386-glibc21-linux/bin directory. Therefore, I run this things, and tried again. It still failed with the same message. (I tried some other things, but the results are the same.) Do someone have any idea to make it work??? I am tring at a new PC called "concerto.hirg.bnl.gov". Hiro
This archive was generated by hypermail 2b30 : Wed Oct 10 2001 - 18:13:28 EDT