Subject: Re: XFree86-clients and :37:17: missing terminating " character
To: None <>
From: Klaus Heinz <>
List: tech-pkg
Date: 04/25/2004 02:18:34
Jeremy C. Reed wrote:

> I am trying to build XFree86-clients under FreeBSD with
> gcc (GCC) 3.3.3 [FreeBSD] 20031106
> When building xc/programs/xdm/resource.c it fails with:
>   <command line>:37:17: missing terminating " character

I'm seeing something similar when I try to build lang/gcc3-c on
NetBSD/i386 1.5.4_alpha and 1.6.2:

  eval: 1: Syntax error: Unterminated quoted string

Last command in .work.log:
  <.> /pkg_comp/obj/pkgsrc/lang/gcc3-c/work.i386/.gcc/bin/gcc -O2 -DIN_GCC
  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
  -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I./.
  -I./config -I./../include "-DLINK_LIBGCC_SPEC=\"%D ""
  -DTOOLDIR_BASE_PREFIX=\"../../../../\" -DENABLE_SHARED_LIBGCC -c ./gcc.c
  -o gcc.o -I/pkg_comp/obj/pkgsrc/lang/gcc3-c/work.i386/.buildlink/include

The problem is "-DLINK_LIBGCC_SPEC=\"%D "". I haven't yet found where this
goes wrong,