PDA

View Full Version : "Error expanding embedded variable"


noloader
September 11th, 2011, 08:09
Hi All,

I'm working on porting a Linux program to FreeBSD. when I run make, I receive an error, Error expanding embedded variable

I know one solution is to use gmake, but I find that make flows off my fingertips rather than gmake. There's nothing special about me, so I expect others to do it also.

How does one determine the offending lines? make -DA does not output any additional information.

Thanks in advance,
Jeff

expl
September 11th, 2011, 10:05
GNU and BSD makes are not compatible. You have to use gmake or rewrite the make files almost from scratch (and that's not very smart way to port a piece of software).

fonz
September 11th, 2011, 12:19
I know one solution is to use gmake, but I find that make flows off my fingertips rather than gmake.
Use an alias, then. You really ought to use devel/gmake. It's not the same as BSD make.

Fonz