Port-sparc archive

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

What is going on with stand/ofwboot?



All,

what changes affected sparc/stand/ofwboot recently?

<snip>
--- dependall-sys ---
cc1: warnings being treated as errors
/public/netbsd-developer/sys/arch/sparc/stand/ofwboot/net.c: In function
'net_mountroot_bootparams':
/public/netbsd-developer/sys/arch/sparc/stand/ofwboot/net.c:141: warning:
implicit declaration of function 'bp_whoami'
/public/netbsd-developer/sys/arch/sparc/stand/ofwboot/net.c:144: warning:
implicit declaration of function 'bp_getfile'
/public/netbsd-developer/sys/arch/sparc/stand/ofwboot/net.c: In function
'net_mountroot_bootp':
/public/netbsd-developer/sys/arch/sparc/stand/ofwboot/net.c:160: warning:
implicit declaration of function 'bootp'
/public/netbsd-developer/sys/arch/sparc/stand/ofwboot/net.c: In function
'net_mountroot':
/public/netbsd-developer/sys/arch/sparc/stand/ofwboot/net.c:217: warning:
implicit declaration of function 'nfs_mount'
*** [net.o] Error code 1
nbmake: stopped in /public/netbsd-developer/sys/arch/sparc/stand/ofwboot
</snip>

It looks like function prototypes were made mandatory, and now the build is
crashing left and right, because functions and variable types have not been
exported properly.

I tried to fix a few occasions, but it looks like the ofwboot sources could
do with a bit of re-organizing from somebody in the know - it's more than
just the occasional missing prototype.

        hauke

-- 
     The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email            Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
     Respect for open standards              Ruf +49-6151-16-3281


Home | Main Index | Thread Index | Old Index