davtools-develop Mailing List for Disk Allocation Viewer (Page 8)
Brought to you by:
y-sugita
You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
(1) |
Apr
(11) |
May
(2) |
Jun
(1) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(5) |
Jul
(1) |
Aug
(1) |
Sep
(3) |
Oct
(2) |
Nov
(1) |
Dec
(11) |
| 2007 |
Jan
(6) |
Feb
(12) |
Mar
(1) |
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
(2) |
Sep
(4) |
Oct
(2) |
Nov
(2) |
Dec
(1) |
| 2008 |
Jan
(4) |
Feb
(15) |
Mar
(35) |
Apr
(19) |
May
(18) |
Jun
(8) |
Jul
(17) |
Aug
(6) |
Sep
(18) |
Oct
(21) |
Nov
(23) |
Dec
(33) |
| 2009 |
Jan
(4) |
Feb
(16) |
Mar
(11) |
Apr
(20) |
May
(40) |
Jun
(14) |
Jul
(35) |
Aug
(8) |
Sep
(1) |
Oct
|
Nov
|
Dec
(12) |
| 2010 |
Jan
(5) |
Feb
(5) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(4) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
(3) |
Nov
|
Dec
|
| 2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
|
From: Satoshi F. <sa...@sd...> - 2005-04-14 09:19:20
|
Hi, aq.
> I am glad that the mailing list is still alive ;-)
I'm sorry for my late reply.
Please try the following process, and let me
know the result.
1. Create "test.c" file, and cut and paste
following lines.
#include <unistd.h>
#incldue <linux/ext2_fs.h>
int main (void)
{ return 0; }
2. Compile this file.
$ gcc -o hdtest test.c
If error occured when compile process, it looks like
the problem that reported at the bellow URL.
http://lists.debian.org/debian-glibc/2004/02/msg00335.html
Please check this URL.
regards,
Satoshi
|
|
From: Bernard O. <ow...@mi...> - 2005-04-08 07:06:22
|
I would like to join the lists Owuor |
|
From: aq <aq...@gm...> - 2005-04-07 11:29:18
|
hi Fujiwara-san, I am glad that the mailing list is still alive ;-) > I guess its cause is that files are not correctly > included in your system. > Let me know the following information: > 1. Architecture of your machine (ex. i686) I am on i686. > 2. Result of next command. > ls -ld /usr/include/linux /usr/include/asm These two directories exist. Here is the output: $ ls -ld /usr/include/linux /usr/include/asm drwxr-xr-x 11 root root 4096 Apr 4 02:29 /usr/include/asm drwxr-xr-x 15 root root 12288 Apr 4 02:29 /usr/include/linux regards, aq |
|
From: Satoshi F. <sa...@sd...> - 2005-04-07 00:04:24
|
Hi, aq.
I'm Satoshi Fujiwara, a member of the davtools
development team.
I guess its cause is that files are not correctly
included in your system.
Let me know the following information:
1. Architecture of your machine (ex. i686)
2. Result of next command.
ls -ld /usr/include/linux /usr/include/asm
Best regards,
Satoshi
aq wrote:
> hello Dav developers,
>
> I got dav-1.0 from davtools.sf.net, and gave it a try. But when I
> compile the source code, I got a lot of errors. Below are the errors
> produced,
>
> My system runs Ubuntu 4.10, kernel 2.6.10, gcc 3.3.4.
>
> I would like to know how to fix this problem. Please reply to me
> directly, since I am not on the mailing list.
>
> Thank you,
> aq
> ----
> || cd src/dac; make
> || make[1]: Entering directory `/home/bun/projects/dav-1.0.0/src/dac'
> || gcc -Wall -g -O -D_FILE_OFFSET_BITS=64 -c dac.c
> || In file included from /usr/include/linux/cpumask.h:8,
> || from /usr/include/asm/smp.h:11,
> || from /usr/include/linux/smp.h:17,
> || from /usr/include/linux/percpu_counter.h:9,
> || from /usr/include/linux/ext2_fs_sb.h:20,
> || from /usr/include/linux/ext2_fs.h:20,
> || from dac.c:31:
> || /usr/include/linux/bitmap.h: In function `bitmap_empty':
> /usr/include/linux/bitmap.h|15| error: `BITS_PER_LONG' undeclared
> (first use in this function)
> /usr/include/linux/bitmap.h|15| error: (Each undeclared identifier is
> reported only once
> /usr/include/linux/bitmap.h|15| error: for each function it appears in.)
> || /usr/include/linux/bitmap.h: In function `bitmap_full':
> /usr/include/linux/bitmap.h|29| error: `BITS_PER_LONG' undeclared
> (first use in this function)
> || /usr/include/linux/bitmap.h: In function `bitmap_equal':
> /usr/include/linux/bitmap.h|44| error: `BITS_PER_LONG' undeclared
> (first use in this function)
> || /usr/include/linux/bitmap.h: In function `bitmap_shift_right':
> /usr/include/linux/bitmap.h|85| error: `__shr_tmp' undeclared (first
> use in this function)
> || /usr/include/linux/bitmap.h: In function `bitmap_shift_left':
> /usr/include/linux/bitmap.h|98| error: `__shl_tmp' undeclared (first
> use in this function)
> || /usr/include/linux/bitmap.h: In function `bitmap_weight':
> /usr/include/linux/bitmap.h|144| error: `BITS_PER_LONG' undeclared
> (first use in this function)
> || In file included from /usr/include/asm/smp.h:11,
> || from /usr/include/linux/smp.h:17,
> || from /usr/include/linux/percpu_counter.h:9,
> || from /usr/include/linux/ext2_fs_sb.h:20,
> || from /usr/include/linux/ext2_fs.h:20,
> || from dac.c:31:
> || /usr/include/linux/cpumask.h: At top level:
> /usr/include/linux/cpumask.h|15| error: variable-size type declared
> outside of any function
> || In file included from /usr/include/asm/smp.h:11,
> || from /usr/include/linux/smp.h:17,
> || from /usr/include/linux/percpu_counter.h:9,
> || from /usr/include/linux/ext2_fs_sb.h:20,
> || from /usr/include/linux/ext2_fs.h:20,
> || from dac.c:31:
> || /usr/include/linux/cpumask.h: In function `next_online_cpu':
> /usr/include/linux/cpumask.h|56| error: structure has no member named `val'
> || In file included from /usr/include/asm/smp.h:16,
> || from /usr/include/linux/smp.h:17,
> || from /usr/include/linux/percpu_counter.h:9,
> || from /usr/include/linux/ext2_fs_sb.h:20,
> || from /usr/include/linux/ext2_fs.h:20,
> || from dac.c:31:
> || /usr/include/asm/fixmap.h: At top level:
> /usr/include/asm/fixmap.h|72| error: `FIX_ACPI_PAGES' undeclared here
> (not in a function)
> /usr/include/asm/fixmap.h|72| error: enumerator value for
> `FIX_ACPI_END' not integer constant
> /usr/include/asm/fixmap.h|84| error: parse error before "pgprot_t"
> || In file included from /usr/include/asm/smp.h:18,
> || from /usr/include/linux/smp.h:17,
> || from /usr/include/linux/percpu_counter.h:9,
> || from /usr/include/linux/ext2_fs_sb.h:20,
> || from /usr/include/linux/ext2_fs.h:20,
> || from dac.c:31:
> /usr/include/asm/mpspec.h|6| 25: mach_mpspec.h: No such file or directory
> || In file included from /usr/include/asm/smp.h:18,
> || from /usr/include/linux/smp.h:17,
> || from /usr/include/linux/percpu_counter.h:9,
> || from /usr/include/linux/ext2_fs_sb.h:20,
> || from /usr/include/linux/ext2_fs.h:20,
> || from dac.c:31:
> /usr/include/asm/mpspec.h|8| error: `MAX_MP_BUSSES' undeclared here
> (not in a function)
> /usr/include/asm/mpspec.h|9| error: `MAX_MP_BUSSES' undeclared here
> (not in a function)
> /usr/include/asm/mpspec.h|10| error: `MAX_MP_BUSSES' undeclared here
> (not in a function)
> /usr/include/asm/mpspec.h|12| error: `MAX_MP_BUSSES' undeclared here
> (not in a function)
> /usr/include/asm/mpspec.h|19| error: `MAX_APICS' undeclared here (not
> in a function)
> /usr/include/asm/mpspec.h|20| error: `MAX_MP_BUSSES' undeclared here
> (not in a function)
> /usr/include/asm/mpspec.h|20| error: conflicting types for `mp_bus_id_to_type'
> /usr/include/asm/mpspec.h|8| error: previous declaration of `mp_bus_id_to_type'
> /usr/include/asm/mpspec.h|22| error: `MAX_IRQ_SOURCES' undeclared here
> (not in a function)
> /usr/include/asm/mpspec.h|24| error: `MAX_MP_BUSSES' undeclared here
> (not in a function)
> /usr/include/asm/mpspec.h|24| error: conflicting types for
> `mp_bus_id_to_pci_bus'
> /usr/include/asm/mpspec.h|12| error: previous declaration of
> `mp_bus_id_to_pci_bus'
> /usr/include/asm/mpspec.h|35| error: parse error before "id"
> /usr/include/asm/mpspec.h|36| error: parse error before "address"
> /usr/include/asm/mpspec.h|37| error: parse error before "id"
> /usr/include/asm/mpspec.h|38| error: parse error before "bus_irq"
> /usr/include/asm/mpspec.h|54| error: `MAX_APICS' undeclared here (not
> in a function)
> /usr/include/asm/mpspec.h|54| error: variable-size type declared
> outside of any function
> || In file included from /usr/include/asm/smp.h:20,
> || from /usr/include/linux/smp.h:17,
> || from /usr/include/linux/percpu_counter.h:9,
> || from /usr/include/linux/ext2_fs_sb.h:20,
> || from /usr/include/linux/ext2_fs.h:20,
> || from dac.c:31:
> /usr/include/asm/io_apic.h|26| error: parse error before "u32"
> /usr/include/asm/io_apic.h|28| error: parse error before "u32"
> /usr/include/asm/io_apic.h|34| error: parse error before '}' token
> /usr/include/asm/io_apic.h|37| error: parse error before "u32"
> /usr/include/asm/io_apic.h|39| error: parse error before "u32"
> /usr/include/asm/io_apic.h|45| error: parse error before '}' token
> /usr/include/asm/io_apic.h|48| error: parse error before "u32"
> /usr/include/asm/io_apic.h|50| error: parse error before "u32"
> /usr/include/asm/io_apic.h|54| error: parse error before '}' token
> /usr/include/asm/io_apic.h|57| error: parse error before "u32"
> /usr/include/asm/io_apic.h|59| error: parse error before "u32"
> /usr/include/asm/io_apic.h|62| error: parse error before '}' token
> /usr/include/asm/io_apic.h|120| error: `MAX_IRQ_SOURCES' undeclared
> here (not in a function)
> /usr/include/asm/io_apic.h|120| error: conflicting types for `mp_irqs'
> /usr/include/asm/mpspec.h|22| error: previous declaration of `mp_irqs'
> || In file included from /usr/include/linux/smp.h:17,
> || from /usr/include/linux/percpu_counter.h:9,
> || from /usr/include/linux/ext2_fs_sb.h:20,
> || from /usr/include/linux/ext2_fs.h:20,
> || from dac.c:31:
> /usr/include/asm/smp.h|73| 26: mach_apicdef.h: No such file or directory
> || In file included from /usr/include/linux/percpu_counter.h:9,
> || from /usr/include/linux/ext2_fs_sb.h:20,
> || from /usr/include/linux/ext2_fs.h:20,
> || from dac.c:31:
> /usr/include/linux/smp.h|33| error: parse error before '(' token
> || /usr/include/linux/smp.h: In function `on_each_cpu':
> /usr/include/linux/smp.h|65| error: invalid type argument of `->'
> /usr/include/linux/smp.h|68| error: invalid type argument of `->'
> /usr/include/linux/smp.h|68| error: `TIF_NEED_RESCHED' undeclared
> (first use in this function)
> || In file included from /usr/include/linux/ext2_fs.h:20,
> || from dac.c:31:
> || /usr/include/linux/ext2_fs_sb.h: At top level:
> /usr/include/linux/ext2_fs_sb.h|48| error: parse error before "u32"
> /usr/include/linux/ext2_fs_sb.h|50| error: parse error before '*' token
> /usr/include/linux/ext2_fs_sb.h|55| error: parse error before '}' token
> || In file included from /usr/include/linux/ext3_fs.h:20,
> || from dac.c:32:
> /usr/include/linux/ext3_fs_i.h|73| error: field `xattr_sem' has incomplete type
> /usr/include/linux/ext3_fs_i.h|80| error: field `i_orphan' has incomplete type
> /usr/include/linux/ext3_fs_i.h|109| error: field `truncate_sem' has
> incomplete type
> /usr/include/linux/ext3_fs_i.h|110| error: field `vfs_inode' has incomplete type
> || In file included from /usr/include/linux/ext3_fs.h:21,
> || from dac.c:32:
> /usr/include/linux/ext3_fs_sb.h|52| error: parse error before "u32"
> /usr/include/linux/ext3_fs_sb.h|55| error: parse error before '*' token
> /usr/include/linux/ext3_fs_sb.h|71| error: parse error before '}' token
> || In file included from dac.c:32:
> /usr/include/linux/ext3_fs.h|618| error: parse error before "u32"
> /usr/include/linux/ext3_fs.h|621| error: parse error before '*' token
> /usr/include/linux/ext3_fs.h|622| error: parse error before '}' token
> /usr/include/linux/ext3_fs_sb.h|64| error: storage size of `s_orphan'
> isn't known
> || make[1]: *** [dac.o] Error 1
> || make[1]: Leaving directory `/home/bun/projects/dav-1.0.0/src/dac'
> || make: *** [all] Error 2
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by Demarc:
> A global provider of Threat Management Solutions.
> Download our HomeAdmin security software for free today!
> http://www.demarc.com/info/Sentarus/hamr30
> _______________________________________________
> Davtools-develop mailing list
> Dav...@li...
> https://lists.sourceforge.net/lists/listinfo/davtools-develop
>
|
|
From: aq <aq...@gm...> - 2005-03-31 07:36:04
|
hello Dav developers, I got dav-1.0 from davtools.sf.net, and gave it a try. But when I compile the source code, I got a lot of errors. Below are the errors produced, My system runs Ubuntu 4.10, kernel 2.6.10, gcc 3.3.4. I would like to know how to fix this problem. Please reply to me directly, since I am not on the mailing list. Thank you, aq ---- || cd src/dac; make || make[1]: Entering directory `/home/bun/projects/dav-1.0.0/src/dac' || gcc -Wall -g -O -D_FILE_OFFSET_BITS=64 -c dac.c || In file included from /usr/include/linux/cpumask.h:8, || from /usr/include/asm/smp.h:11, || from /usr/include/linux/smp.h:17, || from /usr/include/linux/percpu_counter.h:9, || from /usr/include/linux/ext2_fs_sb.h:20, || from /usr/include/linux/ext2_fs.h:20, || from dac.c:31: || /usr/include/linux/bitmap.h: In function `bitmap_empty': /usr/include/linux/bitmap.h|15| error: `BITS_PER_LONG' undeclared (first use in this function) /usr/include/linux/bitmap.h|15| error: (Each undeclared identifier is reported only once /usr/include/linux/bitmap.h|15| error: for each function it appears in.) || /usr/include/linux/bitmap.h: In function `bitmap_full': /usr/include/linux/bitmap.h|29| error: `BITS_PER_LONG' undeclared (first use in this function) || /usr/include/linux/bitmap.h: In function `bitmap_equal': /usr/include/linux/bitmap.h|44| error: `BITS_PER_LONG' undeclared (first use in this function) || /usr/include/linux/bitmap.h: In function `bitmap_shift_right': /usr/include/linux/bitmap.h|85| error: `__shr_tmp' undeclared (first use in this function) || /usr/include/linux/bitmap.h: In function `bitmap_shift_left': /usr/include/linux/bitmap.h|98| error: `__shl_tmp' undeclared (first use in this function) || /usr/include/linux/bitmap.h: In function `bitmap_weight': /usr/include/linux/bitmap.h|144| error: `BITS_PER_LONG' undeclared (first use in this function) || In file included from /usr/include/asm/smp.h:11, || from /usr/include/linux/smp.h:17, || from /usr/include/linux/percpu_counter.h:9, || from /usr/include/linux/ext2_fs_sb.h:20, || from /usr/include/linux/ext2_fs.h:20, || from dac.c:31: || /usr/include/linux/cpumask.h: At top level: /usr/include/linux/cpumask.h|15| error: variable-size type declared outside of any function || In file included from /usr/include/asm/smp.h:11, || from /usr/include/linux/smp.h:17, || from /usr/include/linux/percpu_counter.h:9, || from /usr/include/linux/ext2_fs_sb.h:20, || from /usr/include/linux/ext2_fs.h:20, || from dac.c:31: || /usr/include/linux/cpumask.h: In function `next_online_cpu': /usr/include/linux/cpumask.h|56| error: structure has no member named `val' || In file included from /usr/include/asm/smp.h:16, || from /usr/include/linux/smp.h:17, || from /usr/include/linux/percpu_counter.h:9, || from /usr/include/linux/ext2_fs_sb.h:20, || from /usr/include/linux/ext2_fs.h:20, || from dac.c:31: || /usr/include/asm/fixmap.h: At top level: /usr/include/asm/fixmap.h|72| error: `FIX_ACPI_PAGES' undeclared here (not in a function) /usr/include/asm/fixmap.h|72| error: enumerator value for `FIX_ACPI_END' not integer constant /usr/include/asm/fixmap.h|84| error: parse error before "pgprot_t" || In file included from /usr/include/asm/smp.h:18, || from /usr/include/linux/smp.h:17, || from /usr/include/linux/percpu_counter.h:9, || from /usr/include/linux/ext2_fs_sb.h:20, || from /usr/include/linux/ext2_fs.h:20, || from dac.c:31: /usr/include/asm/mpspec.h|6| 25: mach_mpspec.h: No such file or directory || In file included from /usr/include/asm/smp.h:18, || from /usr/include/linux/smp.h:17, || from /usr/include/linux/percpu_counter.h:9, || from /usr/include/linux/ext2_fs_sb.h:20, || from /usr/include/linux/ext2_fs.h:20, || from dac.c:31: /usr/include/asm/mpspec.h|8| error: `MAX_MP_BUSSES' undeclared here (not in a function) /usr/include/asm/mpspec.h|9| error: `MAX_MP_BUSSES' undeclared here (not in a function) /usr/include/asm/mpspec.h|10| error: `MAX_MP_BUSSES' undeclared here (not in a function) /usr/include/asm/mpspec.h|12| error: `MAX_MP_BUSSES' undeclared here (not in a function) /usr/include/asm/mpspec.h|19| error: `MAX_APICS' undeclared here (not in a function) /usr/include/asm/mpspec.h|20| error: `MAX_MP_BUSSES' undeclared here (not in a function) /usr/include/asm/mpspec.h|20| error: conflicting types for `mp_bus_id_to_type' /usr/include/asm/mpspec.h|8| error: previous declaration of `mp_bus_id_to_type' /usr/include/asm/mpspec.h|22| error: `MAX_IRQ_SOURCES' undeclared here (not in a function) /usr/include/asm/mpspec.h|24| error: `MAX_MP_BUSSES' undeclared here (not in a function) /usr/include/asm/mpspec.h|24| error: conflicting types for `mp_bus_id_to_pci_bus' /usr/include/asm/mpspec.h|12| error: previous declaration of `mp_bus_id_to_pci_bus' /usr/include/asm/mpspec.h|35| error: parse error before "id" /usr/include/asm/mpspec.h|36| error: parse error before "address" /usr/include/asm/mpspec.h|37| error: parse error before "id" /usr/include/asm/mpspec.h|38| error: parse error before "bus_irq" /usr/include/asm/mpspec.h|54| error: `MAX_APICS' undeclared here (not in a function) /usr/include/asm/mpspec.h|54| error: variable-size type declared outside of any function || In file included from /usr/include/asm/smp.h:20, || from /usr/include/linux/smp.h:17, || from /usr/include/linux/percpu_counter.h:9, || from /usr/include/linux/ext2_fs_sb.h:20, || from /usr/include/linux/ext2_fs.h:20, || from dac.c:31: /usr/include/asm/io_apic.h|26| error: parse error before "u32" /usr/include/asm/io_apic.h|28| error: parse error before "u32" /usr/include/asm/io_apic.h|34| error: parse error before '}' token /usr/include/asm/io_apic.h|37| error: parse error before "u32" /usr/include/asm/io_apic.h|39| error: parse error before "u32" /usr/include/asm/io_apic.h|45| error: parse error before '}' token /usr/include/asm/io_apic.h|48| error: parse error before "u32" /usr/include/asm/io_apic.h|50| error: parse error before "u32" /usr/include/asm/io_apic.h|54| error: parse error before '}' token /usr/include/asm/io_apic.h|57| error: parse error before "u32" /usr/include/asm/io_apic.h|59| error: parse error before "u32" /usr/include/asm/io_apic.h|62| error: parse error before '}' token /usr/include/asm/io_apic.h|120| error: `MAX_IRQ_SOURCES' undeclared here (not in a function) /usr/include/asm/io_apic.h|120| error: conflicting types for `mp_irqs' /usr/include/asm/mpspec.h|22| error: previous declaration of `mp_irqs' || In file included from /usr/include/linux/smp.h:17, || from /usr/include/linux/percpu_counter.h:9, || from /usr/include/linux/ext2_fs_sb.h:20, || from /usr/include/linux/ext2_fs.h:20, || from dac.c:31: /usr/include/asm/smp.h|73| 26: mach_apicdef.h: No such file or directory || In file included from /usr/include/linux/percpu_counter.h:9, || from /usr/include/linux/ext2_fs_sb.h:20, || from /usr/include/linux/ext2_fs.h:20, || from dac.c:31: /usr/include/linux/smp.h|33| error: parse error before '(' token || /usr/include/linux/smp.h: In function `on_each_cpu': /usr/include/linux/smp.h|65| error: invalid type argument of `->' /usr/include/linux/smp.h|68| error: invalid type argument of `->' /usr/include/linux/smp.h|68| error: `TIF_NEED_RESCHED' undeclared (first use in this function) || In file included from /usr/include/linux/ext2_fs.h:20, || from dac.c:31: || /usr/include/linux/ext2_fs_sb.h: At top level: /usr/include/linux/ext2_fs_sb.h|48| error: parse error before "u32" /usr/include/linux/ext2_fs_sb.h|50| error: parse error before '*' token /usr/include/linux/ext2_fs_sb.h|55| error: parse error before '}' token || In file included from /usr/include/linux/ext3_fs.h:20, || from dac.c:32: /usr/include/linux/ext3_fs_i.h|73| error: field `xattr_sem' has incomplete type /usr/include/linux/ext3_fs_i.h|80| error: field `i_orphan' has incomplete type /usr/include/linux/ext3_fs_i.h|109| error: field `truncate_sem' has incomplete type /usr/include/linux/ext3_fs_i.h|110| error: field `vfs_inode' has incomplete type || In file included from /usr/include/linux/ext3_fs.h:21, || from dac.c:32: /usr/include/linux/ext3_fs_sb.h|52| error: parse error before "u32" /usr/include/linux/ext3_fs_sb.h|55| error: parse error before '*' token /usr/include/linux/ext3_fs_sb.h|71| error: parse error before '}' token || In file included from dac.c:32: /usr/include/linux/ext3_fs.h|618| error: parse error before "u32" /usr/include/linux/ext3_fs.h|621| error: parse error before '*' token /usr/include/linux/ext3_fs.h|622| error: parse error before '}' token /usr/include/linux/ext3_fs_sb.h|64| error: storage size of `s_orphan' isn't known || make[1]: *** [dac.o] Error 1 || make[1]: Leaving directory `/home/bun/projects/dav-1.0.0/src/dac' || make: *** [all] Error 2 |