Compiling binutils-2.25.1 failed
dim at FreeBSD.org
Mon Apr 18 16:50:09 UTC 2016
On 18 Apr 2016, at 14:43, Willem Offermans <Willem at Offermans.Rompen.nl> wrote:
> On Fri, Apr 15, 2016 at 12:27:07AM +0200, Dimitry Andric wrote:
>> On 14 Apr 2016, at 14:10, Willem Offermans <Willem at Offermans.Rompen.nl> wrote:
>> For some reason this doesn't seem to be picked up by your ports build.
>> For example, it is possible that your build picks up an ansidecl.h from
>> somewhere else, so search your system for duplicate copies of this
>> Also, can you preprocess the file with -E, or use -save-temps to save
>> the intermediate result? Then you should be able to see what the macro
>> expands to, if anything.
> I already found a solution by applying `pkg install devel/binutils`.
> But to solve this issue, I did a search for the file ansidecl.h, as you
> suggested. There were several:
> I would assume that the last one would have preference above the others. Am
> I wrong?
Depending on the compiler and the flags, there is a chance the version
in /usr/local/include will be found first. Using "pkg which
/usr/local/include/ansidecl.h", you might be able to find out which port
originally installed it.
More current versions of the gcc ports install this header into version-
specific directories, e.g.:
$ find /usr/local -type f -name ansidecl.h
This makes it less likely to be picked up by accident. If your
/usr/local/include/ansidecl.h file is not owned by any port, you might
as well delete it, or move it out of the way.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the freebsd-ports