On Thu, Jan 6, 2011 at 9:08 AM, Stanley Lieber <stanley.lie...@gmail.com> wrote: >> Are you certain this happens with a clean tree and using sun4u OBJTYPE as >> well? >> Please recheck with hg tip. > > sdf1 % hg identify > e39eeddcc295+ tip > > sdf1 % cat config.mk > # Customize to fit your system > > # paths > PREFIX = /usr/local/plan9 > MANPREFIX = ${PREFIX}/share/man > > VERSION = 7 > #OBJTYPE = 386 > #OBJTYPE = arm > #OBJTYPE = x86_64 > OBJTYPE = sun4u > > # Linux/BSD > #CFLAGS += -Wall -Wno-missing-braces -Wno-parentheses -Wno-switch -c -I. > -DPREFIX="\"${PREFIX}\"" > CFLAGS += -c -I. -DPREFIX="\"${PREFIX}\"" > LDFLAGS += -static > > # Solaris > #CFLAGS = -fast -xtarget=ultra -D__sun__ -c -I. -DPREFIX="\"${PREFIX}\"" > #LDFLAGS = -dn > > # compiler > AR = ar rc > CC = cc > YACC = ../yacc/9yacc > > sdf1 % make > "config.mk", line 11: Need an operator > Fatal errors encountered -- cannot continue > > sdf1 % file config.mk > config.mk: UTF-8 Unicode make commands text > > When I replace config.mk with an otherwise identical, ASCII format file, > compilation is able to proceed, but it still dies in the same place as > noted in my original e-mail. This has been the same since the first time > I tried to compile sun4u early last year.
Note: The UTF-8 config.mk is fine on OpenBSD/i386. I only had problems with it on OpenBSD/sparc64. In both cases, OpenBSD 4.8. -sl