Go Back   DaemonForums > Miscellaneous > Programming

Programming C, bash, Python, Perl, PHP, Java, you name it.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 13th March 2009
BadWolf BadWolf is offline
New User
Join Date: Mar 2009
Location: Atlanta, GA
Posts: 2
Default Makefile Problem


I downloaded a set of files from http://www.dk.freebsd.org/cgi/cvsweb....bin/compress/ and am currently trying to get the make file to compile. The makefile provided is as follows:

# @(#)Makefile 8.2 (Berkeley) 4/17/94
# $FreeBSD: src/usr.bin/compress/Makefile,v 2008/11/25 02:59:29 kensmith Exp $

PROG= compress
SRCS= compress.c zopen.c
LINKS= ${BINDIR}/compress ${BINDIR}/uncompress
MLINKS= compress.1 uncompress.1

# XXX zopen is not part of libc
# MAN=zopen.3

.include <bsd.prog.mk>

when running the command make, it kept returning "*** missing separator. Stop." errors. I played around with it, and make seems to be happier with "include /usr/share/mk/bsd.prog.mk", however bsd.prog.mk uses the same form as above to include other files, and thus in turn causes the same missing separator errors, and of course this problem becomes recursive, as files call upon other bsd files, which call upon others.

Does anyone know whether this is a problem with my make progam? Or how this problem may be easily resolved?

Thank you,

Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot problem. Geometry problem? gulanito FreeBSD Installation and Upgrading 0 3rd July 2009 03:03 AM
${REINPLACE_CMD} on Makefile indiocolifa FreeBSD Ports and Packages 3 26th March 2009 11:16 PM
ports config and makefile scripting boincv FreeBSD Ports and Packages 6 1st October 2008 07:57 AM
Change Makefile options in ports shep FreeBSD Ports and Packages 5 18th August 2008 07:58 AM
First Post.. Woot!! --- An obvious Makefile question..? roundkat OpenBSD Packages and Ports 2 2nd May 2008 03:05 PM

All times are GMT. The time now is 07:59 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick