help-make
[Top][All Lists]
Advanced

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

'Unexpected end of line seen' error while building CSSL using GNU make.


From: Swaroop Sugunan
Subject: 'Unexpected end of line seen' error while building CSSL using GNU make.
Date: Thu, 5 Apr 2007 03:11:20 +0530

Hello,
 
We have a problem with using GNU make against a makefile in a 3rd party product which we ship with our product. Namely, CSSL. We are trying to build this on Solaris 10 x64 which is on Intel x86 platform (64-bit). Following are the steps that we have carried out leading to the error:
 
bash-3.00#  cd /export/meta/make3.79.1/make-3.79.1
bash-3.00# ./configure
bash-3.00# sh build.sh
linking make...
done
bash-3.00# /export/meta/make3.79.1/make-3.79.1/make nodeps:=yes 64bit:=yes product
make  nodeps:=yes prd
make: Fatal error in reader: Makefile, line 12: Unexpected end of line seen
Current working directory /export/meta/Atlas/v4.0/ExternalAPIs/CSSL/src/cssl
make: *** [product_row] Error 1
 
We have tried with 3 different bersions of GNU make. 3.79.1, 3.8, 3.77
---------------------
bash-3.00# /export/meta/make3.79.1/make-3.79.1/make -v
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i386-pc-solaris2.10
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
        Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
 
Report bugs to <address@hidden>.
---------------------
 
The make file that we use is
 
=============================
##
 # Makefile
 # Author: Merlin Hughes
 #
 # Copyright: Copyright 1998-2000 Baltimore Technologies, plc.
 #
 # Summary: Master Makefile.
##
 
# product name
product := C/SSL
 
# product version
version := 2.3.5
 
# product filename
prdct := cssl
 
# path relative to p4 apex
path := cssl
apex_path := ${shell echo -n ${path} | sed 's/[^/]*/../g'}
 
# list all your targets
targets := cssl demo ca
# no more ktpro or ktssl
 
# target mkf style
#   central => mkf/foo.mkf
#   local => foo/config.mkf
mkf_style := central
 
# suppress dependency tracking
#nodeps := yes
 
mkf_dir := numkf
 
# keytools build
kt := no
 
include ${mkf_dir}/all.mkf
 
=============================
 
If we replace the := with a = then the line number keeps going to the next line which has :=. If we replace all the := with =, then it ends with "nothing to do with product". I have also tried to remove the blank lines and in the makefile. I have also added a tab character before all the rules. It does not help. Is this a bug or do we have to use some specific version of GNU make? I believe we get this error when solaris make is used in case of GNU make.
 
Your help in the problem would be highly appreciated. Do let me know if you need anything else.
 
Thanks and Regards,
 
Swaroop.


Get the new Windows Live Messenger! Try it!
reply via email to

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