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

From: Marek Maly <marek.maly.ujep.cz>
Date: Wed, 03 Jul 2013 20:24:56 +0200

Hi I had the same problem even with gcc version 4.3.4,
I solved it using another compiler (intel) in that machine.

On another machines I am using gcc version 4.4.7 and had no problems,
so maybe one possible solution could be to upgrade your gcc e.g. using
command:

yum install gcc.x86_64

    Best,

       Marek


Dne Wed, 03 Jul 2013 20:05:45 +0200 Tru Huynh <tru.pasteur.fr> napsal/-a:

> 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
>


-- 
Tato zpráva byla vytvořena převratným poštovním klientem Opery:  
http://www.opera.com/mail/
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Jul 03 2013 - 12:00:03 PDT
Custom Search