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.

Reply via email to