Subject: | makesimple error |
When running makesimple on my makefile it errors out with the following:
Can't locate object method "last_element" via package
"MDOM::Token::Whitespace" at
/Library/Perl/5.8.8/Makefile/Parser/GmakeDB.pm line 341
The makefile(s) are pretty big, and unfortunatley I can't share them
because they are proprietary.
I can say that it is a non-recursive makefile setup written for gnu Make
3.80 and the overall structure is something like this:
project/ --> top level dir
build/
makefile --> Top level makefile. Has default rules for
compiling. Traverses into tree to build the source. Has default target.
component1/ --> typical structure for a library module
build/
module.mk --> has rules do define local module's src/obj
and library
src/ --> contains C source and header files
tst/ --> contains test source
lib/ --> contains the component library built by make
module.mk files are pulled into make via an include:
include $(addprefix ../,$(addsuffix /build/module.mk,$(modules)))
Perl Version:
perl -v
This is perl, v5.8.8 built for darwin-thread-multi-2level
(with 1 registered patch, see perl -V for more detail)
OS info:
Mac OS X 10.5.5
Kernel Version: Darwin 9.5.0
Model Name: iMac
Model Identifier: iMac7,1
Processor Name: Intel Core 2 Duo
Processor Speed: 2 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache: 4 MB
Memory: 1 GB
Bus Speed: 800 MHz
Boot ROM Version: IM71.007A.B03