Something to look at that I had issues with when I first started trying to
do the same sort of thing.

BSD Make and GNU/Make are not the same thing,... install gmake and wherever
you would type "make" on a GNU/Linux box,... type "gmake"

Hope that helps

On Tue, Apr 22, 2008 at 6:44 AM, vatocleti <[EMAIL PROTECTED]> wrote:

>
> Hey all,
>  Sorry for the 'stuipid' question, but I'm new to Linux/BSD. I inherited a
> program from a coleague and have to port it over from Linux to BSD. I do a
> 'make' and it fails with errors stating..."undefined variable, first
> declare"....basically errors stating that something is undefined, seems it
> does it for every parameter that's defined in the *.c file.
>
> Here are some important lines from the Makefile:
>
> CC = gcc
> CFLAGS = -DLinux -Wall
> INCDIR = -Iinclude -I../inc/
> sources = file.c
>
> - the errors and variables that are mentioned as being undeclared are
> located at " ../inc/ ". I know this is a simple/beginners question
> (stupid),
> but this is my first work in Linux/BSD...is there a HowTo for porting from
> Linux to BSD? I just now came across the packages and ports FAQ...is that
> a
> good place to start?
>
> Thanks and sorry for the naive question.
> --
> View this message in context:
> http://www.nabble.com/converting-Linux-app-to-BSD-%28make-fails%29-tp16821690p16821690.html
> Sent from the openbsd user - ports mailing list archive at Nabble.com.
>
>


-- 
I have heard there are troubles of more than one kind.
Some come from ahead and some from behind.
But I've bought a big bat. I'm all ready you see.
Now my troubles are going to have toubles with me!
-- Dr. Seuss

Reply via email to