Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Cross build failure in netbsd-5 branch



Juraj Hercek wrote:
I've experienced following build failure in netbsd-5 branch while building tools on linux host:

...
--- dependall-gencat ---
/os/netbsd-5/tools/gencat/../../usr.bin/gencat/gencat.c:120: error: conflicting types for 'getline'
/usr/include/stdio.h:653: error: previous declaration of 'getline' was here
/os/netbsd-5/tools/gencat/../../usr.bin/gencat/gencat.c:120: error: conflicting types for 'getline'
/usr/include/stdio.h:653: error: previous declaration of 'getline' was here
*** [gencat.lo] Error code 1
1 error

nbmake: stopped in /os/netbsd-5/tools/gencat
*** [dependall] Error code 2
1 error
...

The problem occurs also on "-current" branch (and most probably on others as well), see below.

Any idea how to fix that?

It seems to be the problem of new glibc-2.10.1 on linux build host. Downgrading to glibc-2.9 solved the problem.

-- Juraj


Home | Main Index | Thread Index | Old Index