[AMBER] DihedralSearch.cpp:53: error: unknown escape sequence '\*'

From: Tru Huynh <tru.pasteur.fr>
Date: Wed, 3 Jul 2013 20:05:45 +0200

Hi

I am hitting that error too under the default CentOS=5 gcc version:
gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)

cd src && make -f Makefile_at install
make[3]: Entering directory `/c5/shared/amber/12/20130703/gnu/AmberTools/src/cpptraj/src'
g++ -c -I/c5/shared/amber/12/20130703/gnu/include -O3 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ -DHASGZ -DHASBZ2 -I/c5/shared/amber/12/20130703/gnu/include -o DihedralSearch.o DihedralSearch.cpp
DihedralSearch.cpp:53: error: unknown escape sequence '\*'
make[3]: *** [DihedralSearch.o] Error 1
make[3]: Leaving directory `/c5/shared/amber/12/20130703/gnu/AmberTools/src/cpptraj/src'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/c5/shared/amber/12/20130703/gnu/AmberTools/src/cpptraj'
make[1]: *** [serial] Error 2
make[1]: Leaving directory `/c5/shared/amber/12/20130703/gnu/AmberTools/src'
make: *** [install] Error 2
[tru.sillage gnu]$ gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --disable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)

I have blindly changed the offending line:
[tru.sillage src]$ diff -uNr DihedralSearch.cpp.ori DihedralSearch.cpp
--- DihedralSearch.cpp.ori 2013-07-03 19:43:10.456271598 +0200
+++ DihedralSearch.cpp 2013-07-03 19:58:56.612846322 +0200
.. -50,7 +50,7 ..
   { 2, "C3'", "O3'", "P" , "O5'", "zeta" ,ByName,ByName,ByName,ByName}, // ZETA:
   { 0, "O4'", "C1'", "C2'", "C3'", "nu1" ,ByName,ByName,ByName,ByName}, // NU1:
   { 0, "C1'", "C2'", "C3'", "C4'", "nu2" ,ByName,ByName,ByName,ByName}, // NU2:
- { 0, "O4'", "C1'", "N\*", "C4" , "chin" ,ByName,ByName,ByType,ByName} // Nucleic CHI:
+ { 0, "O4'", "C1'", "N*", "C4" , "chin" ,ByName,ByName,ByType,ByName} // Nucleic CHI:
 };
 
 // DihedralSearch::ListKnownTypes()

Tru

-- 
Dr Tru Huynh          | http://www.pasteur.fr/recherche/unites/Binfs/
mailto:tru.pasteur.fr | tel/fax +33 1 45 68 87 37/19
Institut Pasteur, 25-28 rue du Docteur Roux, 75724 Paris CEDEX 15 France  
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Jul 03 2013 - 11:30:02 PDT
Custom Search