On Sat, October 13, 2007 04:16, Darren Reed wrote:
> Ken Jones wrote:
>
>> After building 4.1.27 and runninf the replace script, here is what I get
>> upon reboot:
>>
>>
>> Configuring devices.
>> /usr/kernel/drv/sparcv9/ipf: undefined symbol 'net_unregister_hook'
<SNIP>
>>
>
> You need the patch below applied.
>
>
> Darren
>
>
> Index: SunOS5/Makefile
> ===================================================================
> RCS file: /devel/CVS/IP-Filter/SunOS5/Makefile,v
> retrieving revision 2.76.2.9 diff -u -r2.76.2.9 Makefile --- SunOS5/Makefile
> 10 Oct 2007 09:51:45 -0000      2.76.2.9
> +++ SunOS5/Makefile     13 Oct 2007 09:13:03 -0000
> @@ -228,7 +228,7 @@
> ld -r $(OBJ)/ip_rulesx.o $(OBJ)/mlso_rule.o -o $@
>
> $(OBJ)/ipf: $(MODOBJS)
> -       if [ -f /kernel/misc/neti ] ; then \
> +       if [ -f /kernel/misc/neti -o /kernel/misc/sparcv9/neti ] ; then \
> ld -dy -Ndrv/ip -Nmisc/neti -Nmisc/md5 -r $(MODOBJS) -o $@; \
> else \ ld -dy -Ndrv/ip -Ndrv/pfil -Nmisc/md5 -r $(MODOBJS) -o $@; \
>
>

Don't know if it was necessary, but I altered the above and it is working.
I added sparcv9 into the paths below as well as altering the if statement.

ld -dy -Ndrv/sparcv9/ip -Nmisc/sparcv9/neti -Nmisc/sparcv9/md5 -r $(MODOBJS)
-o $@; \

Thanks !

- Ken


Reply via email to