Subject: Re: XFree86-clients and :37:17: missing terminating " character
To: None <tech-pkg@NetBSD.org>
From: Klaus Heinz <k.heinz.apr.vier@onlinehome.de>
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 ""
  -DSTANDARD_STARTFILE_PREFIX=\"../../../\"
  -DSTANDARD_EXEC_PREFIX=\"/usr/pkg/gcc3/lib/gcc-lib/\"
  -DDEFAULT_TARGET_VERSION=\"3.3.3\"
  -DDEFAULT_TARGET_MACHINE=\"i386--netbsdelf\"
  -DSTANDARD_BINDIR_PREFIX=\"/usr/pkg/gcc3/bin/\"
  -DTOOLDIR_BASE_PREFIX=\"../../../../\" -DENABLE_SHARED_LIBGCC -c ./gcc.c
  -o gcc.o -I/pkg_comp/obj/pkgsrc/lang/gcc3-c/work.i386/.buildlink/include
  -L/pkg_comp/obj/pkgsrc/lang/gcc3-c/work.i386/.buildlink/lib

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

ciao
     Klaus