Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2002 12:27:16 -0700
From:      Nick Jennings <nkj@namodn.com>
To:        freebsd-questions@freebsd.org
Subject:   wierd errors when building ports
Message-ID:  <20021017122716.F19014@namodn.com>

next in thread | raw e-mail | index | archive | help
Hi All,

 I have been having several problems building ports. I just installed 4.7,
 and used cvsup'd to update to the latest ports tree.

 When I build ports I often get really lame errors like
 'Unknown character /' in some source file. What it turns out to be
 is a comment, like:

  // This is a comment.

 Changing it to:

  /* This is a comment */

 Fixes the problem.

 I get other errors too, but I am starting to question whether something
 else is wrong here and these errors are not normal. Is my make.conf too 
 strict or something? I copied it from the examples, 
 (/usr/share/examples/etc/defaults/make.conf) and did *very* little in 
 customization... My CFLAGS looks like this:

 CFLAGS= -O -pipe -Wall -ansi
 
 What could be the problem here? Or is the compiler I'm using just not
 like '//' used as comments? 


 Any tips greatly appreciated.

--
 Nick Jennings
 nkj@namodn.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021017122716.F19014>