[DRBD-user] 0.7.6 + gcc-2.95.3 Build problem

Vic Berdin vic at digi.com.ph
Wed Dec 1 13:07:52 CET 2004

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


Hi everyone,

 

I would like to try out the latest 0.7.6 release, but encountered this build
problem:

========================================

 

make[3]: Entering directory `/mnt/usr/src/drbd-0.7.6/drbd'

gcc -D__KERNEL__ -I/mnt/usr/src/kernel-vic/linux/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE
-I/mnt/usr/src/drbd-0.7.6/drbd  -nostdinc -iwithprefix include
-DKBUILD_BASENAME=drbd_sizeof_sanity_check -Wpadded  -c -o
drbd_sizeof_sanity_check.o drbd_sizeof_sanity_check.c

cc1: Invalid option `-Wpadded'

make[3]: *** [drbd_sizeof_sanity_check.o] Error 1

make[3]: Leaving directory `/mnt/usr/src/drbd-0.7.6/drbd'

make[2]: *** [_mod_/mnt/usr/src/drbd-0.7.6/drbd] Error 2

make[2]: Leaving directory `/mnt/usr/src/kernel-vic/linux'

make[1]: *** [kbuild] Error 2

make[1]: Leaving directory `/mnt/usr/src/drbd-0.7.6/drbd'

make: *** [all] Error 2

 

========================================

 

I'm using an old gcc-2.95.3 release. Build works using a gcc-3.3.1 on the
same environment. Seems -Wpaddd isn't supported yet by the older compiler.
Insmod'ding the gcc-3.3.1-built, drbd.o module against my Kernel that's
built using the older gcc seems to load cleanly. Will there be side effects
if I push through with this? Remains to be tested I guess. ;o)

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20041201/76e84b3a/attachment.htm>


More information about the drbd-user mailing list