Re: RFC: ATA to CAM integration patch (and gjournaled previuos nodes)

From: Alexander Motin <mav_at_FreeBSD.org>
Date: Sun, 05 Jul 2009 18:13:53 +0300
Lucius Windschuh wrote:
> Hi Alexander.
> 
> 2009/7/5 Alexander Motin <mav_at_freebsd.org>:
>> It's never late. I have just uploaded fresh patch:
>> http://people.freebsd.org/~mav/cam-ata.20090704.patch
> 
> "make buildworld" with this patch stops in my configuration with:
> 
> /usr/obj/usr/src/tmp/usr/lib/libcam.a(ata_all.o)(.text+0x263): In
> function `ata_max_mode':
> : undefined reference to `min'
> 
> Simply adding
> #ifndef min
> #define min(a,b) (((a)<(b))?(a):(b))
> #endif
> in ata_all.c helps, obviously.

Thanks.

-- 
Alexander Motin
Received on Sun Jul 05 2009 - 13:14:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:51 UTC