[DRBD-user] Problems compiling 8.3.1 from source

Lars Ellenberg lars.ellenberg at linbit.com
Wed May 27 12:58:33 CEST 2009

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Mon, May 25, 2009 at 04:14:27PM +0200, Klaus Jagemann wrote:
> Hello list,
>  
> I have the following System:
> 
> Redhat4 ppc on IBM iSeries LPAR
> Kernel 2.6.9-34.EL
> gcc4-4.0.2-14.EL4
> 
> Sources from:
> 
> http://oss.linbit.com/drbd/8.3/drbd-8.3.1.tar.gz
> 
> As I am trying to compile DRBD 8.3.1 I get the following error:
> 
> /usr/src/drbd-8.3.1/drbd/drbd_bitmap.c: In function 'bm_cpu_to_lel':
> /usr/src/drbd-8.3.1/drbd/drbd_bitmap.c:859: Fehler: 'i' undeclared (first use in this function)
> /usr/src/drbd-8.3.1/drbd/drbd_bitmap.c:859: Fehler: (Jeder nicht deklarierte Bezeichner wird nur einmal aufgeführt
> /usr/src/drbd-8.3.1/drbd/drbd_bitmap.c:859: Fehler: für jede Funktion in der er auftritt.)
> /usr/src/drbd-8.3.1/drbd/drbd_bitmap.c:870: Fehler: 'p_addr' undeclared (first use in this function)

oops.
just declare those variables then.
apparently you are the first ppc user of drbd 8.3,
or the other ppc users did silently fix this themselves.

fixed in git, will be released with 8.3.2 "soon".

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
__
please don't Cc me, but send to list   --   I'm subscribed



More information about the drbd-user mailing list