bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reader error on use of ifeq conditional


From: Ashwani Wason
Subject: Reader error on use of ifeq conditional
Date: Fri, 01 Feb 2002 10:55:51 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011126 Netscape6/6.2.1

Hi,

I get the following error on using gnu make version

"GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for sparc-sun-solaris2.8"

make: Fatal error in reader: Makefile, line 30: unexpected end of line seen

The line in question has an ifeq conditional in the previous line (see below it is marked line 29)

....
....
....

# If ETBOX needs to be supported set the following to TRUE

ETBOX_SUPPORT = FALSE

# Architecture subdirectory: os-processor
ARC_SOL   = solaris-sparc/
ARC_MDK_LIN = mdk-linux-i86/
ARC_RH_LIN  = rh-linux-i86/

LIB = ./lib/$(ARC)

CC  = CC
TARGET  = $(LIB)libetEngine.so

ifeq ($(ETBOX_SUPPORT),TRUE) # THIS IS LINE 29 IN THE MAKEFILE..
OBJS  = wrapper.o sockFuncHandler.o interceptor.o etBoxHeartbeat.o
else
OBJS  = wrapper.o sockFuncHandler.o interceptor.o
endif


....
....
....

The trouble is that the makefile works alright for Linux. But when it is used on Solaris (SunOS alpha 5.8 Generic_108528-12 sun4u sparc SUNW,Ultra-250) it works for some people and does not for others! I was wondering if there is something in the environment variables of a user's shell that causes this. Notably the users for which this does not work are using tcsh.

When the ifeq is removed, the things are fine for everyone.

If any more information is needed please inform.

Thanks.

--
Ashwani




reply via email to

[Prev in Thread] Current Thread [Next in Thread]