Skip to contentSkip to conversation

still compile error

DISCUSSION Norman Schmidt 2 participants 4 messages Sep 27, 2005 – Sep 29, 2005 MD RAID

lore
Share & tools
lore
#0 lore raw

Unfortunately, Neils last answer didn´t answer my compile error.

I just tried mdadm-1.9.0, it compiles well under a standard SuSE 9.3 distro.

But mdadm-2.0 and mdadm-2.1 do not with the following error:

gcc -Wall -Werror -Wstrict-prototypes -DCONFFILE=\"/etc/mdadm.conf\" -ggdb -DSendmail=\""/usr/sbin/sendmail -t"\" -c -o bitmap.o bitmap.c
bitmap.c: In function `bitmap_fd_read':
bitmap.c:130: warning: int format, different type arg (arg 3)
make: *** [bitmap.o] Error 1

Help would be appreciated.

Thanks, Norman.

Signature · 8 lines
Norman Schmidt          Institut fuer Physikal. u. Theoret. Chemie
Dipl.-Chem. Univ.       Friedrich-Alexander-Universitaet
[email protected]         Erlangen-Nuernberg
                        IT-Systembetreuer Physikalische Chemie
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#1 lore raw
Quoted 4 lines · Norman Schmidt

Unfortunately, Neils last answer didn´t answer my compile error.

I just tried mdadm-1.9.0, it compiles well under a standard SuSE 9.3 distro.

Quoted 8 lines

But mdadm-2.0 and mdadm-2.1 do not with the following error:

gcc -Wall -Werror -Wstrict-prototypes -DCONFFILE=\"/etc/mdadm.conf\"
-ggdb -DSendmail=\""/usr/sbin/sendmail -t"\" -c -o bitmap.o bitmap.c
bitmap.c: In function `bitmap_fd_read':
bitmap.c:130: warning: int format, different type arg (arg 3)
make: *** [bitmap.o] Error 1

What platform (i386, x86_64, ...). On my i386 SuSE Linux 9.3 system it compiles just fine with gcc-3.3.5-5.

Is the system updated from YOU?

Signature · 14 lines
-----------------------------------------------------------------------
Jeff Hanson - [email protected] - Field Technical Analyst

You can choose a ready guide in some celestial voice. 
If you choose not to decide, you still have made a choice. 
You can choose from phantom fears and kindness that can kill; 
I will choose a path that's clear 
I will choose freewill. - Lee/Lifeson/Peart


-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
Quoted 14 lines · Jeff Hanson
Quoted 4 lines

Unfortunately, Neils last answer didn´t answer my compile error.

I just tried mdadm-1.9.0, it compiles well under a standard SuSE 9.3 distro.

Quoted 8 lines

But mdadm-2.0 and mdadm-2.1 do not with the following error:

gcc -Wall -Werror -Wstrict-prototypes -DCONFFILE=\"/etc/mdadm.conf\"
-ggdb -DSendmail=\""/usr/sbin/sendmail -t"\" -c -o bitmap.o bitmap.c
bitmap.c: In function `bitmap_fd_read':
bitmap.c:130: warning: int format, different type arg (arg 3)
make: *** [bitmap.o] Error 1

Quoted 4 lines

What platform (i386, x86_64, ...). On my i386 SuSE Linux 9.3 system it compiles just fine with gcc-3.3.5-5.

Is the system updated from YOU?

It is fully updated with manual YOU. The platform is x86_64, processor is one opteron 246 with 2 GB ram.

Norman.

Signature · 8 lines
Norman Schmidt          Institut fuer Physikal. u. Theoret. Chemie
Dipl.-Chem. Univ.       Friedrich-Alexander-Universitaet
[email protected]         Erlangen-Nuernberg
                        IT-Systembetreuer Physikalische Chemie
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#3 lore raw
Quoted 16 lines · Norman Schmidt
Quoted 14 lines · Jeff Hanson
Quoted 12 lines

Unfortunately, Neils last answer didn´t answer my compile error.

I just tried mdadm-1.9.0, it compiles well under a standard SuSE 9.3 distro.

But mdadm-2.0 and mdadm-2.1 do not with the following error:

gcc -Wall -Werror -Wstrict-prototypes -DCONFFILE=\"/etc/mdadm.conf\"
-ggdb -DSendmail=\""/usr/sbin/sendmail -t"\" -c -o bitmap.o bitmap.c
bitmap.c: In function `bitmap_fd_read':
bitmap.c:130: warning: int format, different type arg (arg 3)
make: *** [bitmap.o] Error 1

Quoted 7 lines
Quoted 4 lines

What platform (i386, x86_64, ...). On my i386 SuSE Linux 9.3 system it compiles just fine with gcc-3.3.5-5.

Is the system updated from YOU?

It is fully updated with manual YOU. The platform is x86_64, processor is one opteron 246 with 2 GB ram.

Ah - same problem on ia64 system with SLES9SP2

gcc -Wall -Werror -Wstrict-prototypes -DCONFFILE=\"/etc/mdadm.conf\" -ggdb -DSendmail=\""/usr/sbin/sendmail -t"\" -c -o bitmap.o bitmap.c
bitmap.c: In function `bitmap_fd_read':
bitmap.c:130: warning: int format, different type arg (arg 3) bitmap.c:171: warning: long long unsigned int format, __u64 arg (arg 3) bitmap.c: In function `ExamineBitmap':
bitmap.c:265: warning: long long unsigned int format, __u64 arg (arg 2) bitmap.c:266: warning: long long unsigned int format, __u64 arg (arg 2) bitmap.c:276: warning: long long unsigned int format, __u64 arg (arg 2)
make: *** [bitmap.o] Error 1

Signature · 14 lines
-----------------------------------------------------------------------
Jeff Hanson - [email protected] - Field Technical Analyst

You can choose a ready guide in some celestial voice. 
If you choose not to decide, you still have made a choice. 
You can choose from phantom fears and kindness that can kill; 
I will choose a path that's clear 
I will choose freewill. - Lee/Lifeson/Peart


-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html