OT: "unterminated character constant" during a compile??
I apologize for the OT but as I mentioned in another post, I don't know any
other source of good help (I'm open to recommendations...).
I have tried to compile an app forming part of a molecular docking package
(not the same program forming the subject of that other post, but another in
the package) and have encountered an error about an "unterminated character
constant." It appears to reference a file at line 161, but that is merely a
comment line. I'm hoping someone can help shed light on what is happening,
and whether I can recover from the problem. I'd really appreciate any
input.
This particular program is Gnu copyrighted, if someone wants to see the
whole thing. The Makefile and compile messages are below.
Many thanks in advance,
Kenward
daddy:/home/local/src/autodock/dist305/src/protonate# cat Makefile
SHELL=/bin/sh
# following is needed only for HP-UX machines that don't recognize getarg:
#MACHINE=-DHP
protonate: protonate.o
$(FC) -o $@ protonate.o
.f.o:
/lib/cpp -P -DLSQ $*.f > _$*_.f
$(FC) -c _$*_.f
/bin/mv _$*_.o $*.o
/bin/rm _$*_.f
clean:
-/bin/rm protonate *.o
10:59:58
daddy:/home/local/src/autodock/dist305/src/protonate# make
/lib/cpp -P -DLSQ protonate.f > _protonate_.f
protonate.f:161: unterminated character constant
make: *** [protonate.o] Error 1
11:00:04
daddy:/home/local/src/autodock/dist305/src/protonate# ls -l
total 88
-rw-r--r-- 1 daddy staff 12488 Mar 5 1999 COPYING.GNU
-rw-r--r-- 1 daddy staff 280 Mar 5 1999 Makefile
-rw-r--r-- 1 daddy staff 2566 Mar 5 1999
PROTON_INFO.kollua_polH
-rw-r--r-- 1 daddy staff 199 Mar 5 1999 README
-rw-r--r-- 1 daddy staff 28472 Apr 27 23:00 _protonate_.f
-rw-r--r-- 1 daddy staff 3343 Mar 5 1999 protonate.1
-rw-r--r-- 1 daddy staff 21442 Mar 5 1999 protonate.f
-rw-r--r-- 1 daddy staff 1818 Mar 5 1999 protonate.h
--
It is not so very important for a person to learn facts. For that he
doesn't really need a college education, for he can learn them from
books. The value of an education in a liberal arts college is not the
learning of many facts but the training of the mind to thinking--something
that cannot be learned from books. Albert Einstein
Reply to: