Solved Makefile errors

balanga

Son of Beastie

Reaction score: 143
Messages: 3,077

After running make I got hundreds of errors...

Most of the errors are of the form:-

Need an operator
eg
unexport LC_ALL

Variable/Value missing from "export"
eg
export LC_COLLATE LC_NUMERIC

Missing dependency operator
eg
ifeq ("$(origin V)", "command line")

This is a Linux Makefile which I'm running under FreeBSD, so assuming the Makefile is Posix compliant I would have thought it should work. Do I need to run this under bash or some other specific shell or is there some step I've missed out?
 

ShelLuser

Son of Beastie

Reaction score: 1,738
Messages: 3,556

It's not exactly possible to comment on that without having seen the Makefile. Still, FreeBSD uses make whereas Linux often relies on gmake, so you could try using that. See devel/gmake.
 
Top