Subject: make prob
To: None <current-users@NetBSD.ORG>
From: Patrick Welche <prlw1@cam.ac.uk>
List: current-users
Date: 04/16/1998 12:02:30
On i386 I just tried a make build from 1.3 -> current of yesterday:

includes ===> usr.sbin/amd/libamu
"/usr/share/mk/bsd.lib.mk", line 179:
  Malformed conditional (!defined(NOSTATICLIB) || defined(NOPIC) || (${LDSTATIC} != ""))
"/usr/share/mk/bsd.lib.mk", line 181: if-less else
"/usr/share/mk/bsd.lib.mk", line 181: Need an operator
"/usr/share/mk/bsd.lib.mk", line 183: if-less endif
"/usr/share/mk/bsd.lib.mk", line 183: Need an operator
"/usr/share/mk/bsd.lib.mk", line 271:
  Malformed conditional (!defined(NOSTATICLIB) || defined(NOPIC) || (${LDSTATIC} != ""))
"/usr/share/mk/bsd.lib.mk", line 347: if-less endif
"/usr/share/mk/bsd.lib.mk", line 347: Need an operator
Fatal errors encountered -- cannot continue

and the code in question:

   179  .if !defined(NOSTATICLIB) || defined(NOPIC) || (${LDSTATIC} != "")
   180  _LIBS=lib${LIB}.a
   181  .else
   182  _LIBS=
   183  .endif

looks like all the ifs and elses are there! Line 347 is a bit harder
to follow. I rebuilt make - what else should I do?

Cheers,

 Patrick