WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] x86 Build break (SuSE SLES 9 SP1) - error:dereferencing

To: "David F Barrera" <dfbp@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] x86 Build break (SuSE SLES 9 SP1) - error:dereferencing pointer to incomplete type
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Mon, 16 May 2005 16:12:23 +0100
Delivery-date: Mon, 16 May 2005 15:11:59 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcVaKRrBhs13/4caR2ekPT+4aG7MtQAAEdyA
Thread-topic: [Xen-devel] x86 Build break (SuSE SLES 9 SP1) - error:dereferencing pointer to incomplete type
 

> I tried building Xen on SLES 9 SP1 using the May 15 
> xen-unstable-src.tgz file, and it fails as follows:

You need the e2fsprogs-devel rpm installed (at least that's what it's
called on RH).

A check for /usr/include/ext2fs/ext2fs.h should be added to the check
directory.

Ian
 
> creating build/temp.linux-i686-2.3/src/fsys/ext2
> gcc -pthread -fno-strict-aliasing -DNDEBUG 
> -D_FILE_OFFSET_BITS=64 - DHAVE_LARGEFILE_SUPPORT -O2 
> -march=i586 -mcpu=i686 -fmessage-length=0 - Wall -m32 
> -march=i686 -fPIC -I/usr/include/python2.3 -c 
> src/fsys/ext2/ext2module.c -o build/temp.linux- 
> i686-2.3/src/fsys/ext2/ext2module.o -fno-strict-aliasing -Wall -Werror
> src/fsys/ext2/ext2module.c:17:27: ext2fs/ext2fs.h: No such 
> file or directory
> src/fsys/ext2/ext2module.c:34: error: parse error before "ext2_filsys"
> src/fsys/ext2/ext2module.c:34: warning: no semicolon at end 
> of struct or union
> src/fsys/ext2/ext2module.c:40: error: parse error before "ext2_file_t"
> src/fsys/ext2/ext2module.c:40: warning: no semicolon at end 
> of struct or union
> src/fsys/ext2/ext2module.c: In function `ext2_file_close':
> src/fsys/ext2/ext2module.c:48: error: dereferencing pointer 
> to incomplete type
> src/fsys/ext2/ext2module.c:49: warning: implicit declaration 
> of function `ext2fs_file_close'
> src/fsys/ext2/ext2module.c:49: error: dereferencing pointer 
> to incomplete type
> src/fsys/ext2/ext2module.c: In function `ext2_file_read':
> src/fsys/ext2/ext2module.c:61: error: dereferencing pointer 
> to incomplete type
> src/fsys/ext2/ext2module.c:74: warning: implicit declaration 
> of function `ext2fs_file_read'
> src/fsys/ext2/ext2module.c:74: error: dereferencing pointer 
> to incomplete type
> src/fsys/ext2/ext2module.c: In function `ext2_file_dealloc':
> src/fsys/ext2/ext2module.c:102: error: dereferencing pointer 
> to incomplete type
> src/fsys/ext2/ext2module.c:103: error: dereferencing pointer 
> to incomplete type
> src/fsys/ext2/ext2module.c: At top level:
> src/fsys/ext2/ext2module.c:128: error: invalid application of `sizeof'
> to an incomplete type
> src/fsys/ext2/ext2module.c: In function `ext2_file_open':
> src/fsys/ext2/ext2module.c:154: error: `ext2_file_t' 
> undeclared (first use in this function)
> src/fsys/ext2/ext2module.c:154: error: (Each undeclared 
> identifier is reported only once
> src/fsys/ext2/ext2module.c:154: error: for each function it 
> appears in.)
> src/fsys/ext2/ext2module.c:154: error: parse error before "f"
> src/fsys/ext2/ext2module.c:155: error: `ext2_ino_t' 
> undeclared (first use in this function)
> src/fsys/ext2/ext2module.c:159: error: dereferencing pointer 
> to incomplete type
> src/fsys/ext2/ext2module.c:161: warning: implicit declaration 
> of function `ext2fs_namei_follow'
> src/fsys/ext2/ext2module.c:161: error: dereferencing pointer 
> to incomplete type
> src/fsys/ext2/ext2module.c:161: error: `EXT2_ROOT_INO' 
> undeclared (first use in this function)
> src/fsys/ext2/ext2module.c:161: error: `ino' undeclared 
> (first use in this function)
> src/fsys/ext2/ext2module.c:167: warning: implicit declaration 
> of function `ext2fs_file_open'
> src/fsys/ext2/ext2module.c:167: error: dereferencing pointer 
> to incomplete type
> src/fsys/ext2/ext2module.c:167: error: `f' undeclared (first 
> use in this
> function)
> src/fsys/ext2/ext2module.c:173: error: dereferencing pointer 
> to incomplete type
> src/fsys/ext2/ext2module.c: In function `ext2_file_exist':
> src/fsys/ext2/ext2module.c:181: error: `ext2_ino_t' 
> undeclared (first use in this function)
> src/fsys/ext2/ext2module.c:181: error: parse error before "ino"
> src/fsys/ext2/ext2module.c:185: error: dereferencing pointer 
> to incomplete type
> src/fsys/ext2/ext2module.c:187: error: dereferencing pointer 
> to incomplete type
> src/fsys/ext2/ext2module.c:187: error: `EXT2_ROOT_INO' 
> undeclared (first use in this function)
> src/fsys/ext2/ext2module.c:187: error: `ino' undeclared 
> (first use in this function)
> src/fsys/ext2/ext2module.c: In function `ext2_fs_close':
> src/fsys/ext2/ext2module.c:201: error: dereferencing pointer 
> to incomplete type
> src/fsys/ext2/ext2module.c:202: warning: implicit declaration 
> of function `ext2fs_close'
> src/fsys/ext2/ext2module.c:202: error: dereferencing pointer 
> to incomplete type
> src/fsys/ext2/ext2module.c: In function `ext2_fs_open':
> src/fsys/ext2/ext2module.c:215: error: `ext2_filsys' 
> undeclared (first use in this function)
> src/fsys/ext2/ext2module.c:215: error: parse error before "efs"
> src/fsys/ext2/ext2module.c:221: error: dereferencing pointer 
> to incomplete type
> src/fsys/ext2/ext2module.c:226: warning: implicit declaration 
> of function `ext2fs_open'
> src/fsys/ext2/ext2module.c:227: error: `unix_io_manager' 
> undeclared (first use in this function)
> src/fsys/ext2/ext2module.c:227: error: `efs' undeclared 
> (first use in this function)
> src/fsys/ext2/ext2module.c:233: error: dereferencing pointer 
> to incomplete type
> src/fsys/ext2/ext2module.c: In function `ext2_fs_dealloc':
> src/fsys/ext2/ext2module.c:268: error: dereferencing pointer 
> to incomplete type
> src/fsys/ext2/ext2module.c:269: error: dereferencing pointer 
> to incomplete type
> src/fsys/ext2/ext2module.c: At top level:
> src/fsys/ext2/ext2module.c:300: error: invalid application of `sizeof'
> to an incomplete type
> src/fsys/ext2/ext2module.c: In function `ext2_fs_new':
> src/fsys/ext2/ext2module.c:339: error: dereferencing pointer 
> to incomplete type
> error: command 'gcc' failed with exit status 1
> make[3]: *** [build] Error 1
> make[3]: Leaving directory `/tmp/xen-unstable/tools/pygrub'
> make[2]: *** [install] Error 2
> make[2]: Leaving directory `/tmp/xen-unstable/tools'
> make[1]: *** [tools] Error 2
> make[1]: Leaving directory `/tmp/xen-unstable'
> make: *** [world] Error 2
> lamb22:/tmp/xen-unstable # gcc -v
> Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.3/specs
> Configured with: ../configure --enable-threads=posix 
> --prefix=/usr -- with-local-prefix=/usr/local 
> --infodir=/usr/share/info -- mandir=/usr/share/man 
> --enable-languages=c,c++,f77,objc,java,ada -- 
> disable-checking --libdir=/usr/lib --enable-libgcj 
> --with-gxx-include- dir=/usr/include/g++ --with-slibdir=/lib 
> --with-system-zlib --enable- shared --enable-__cxa_atexit 
> i586-suse-linux Thread model: posix gcc version 3.3.3 (SuSE 
> Linux) lamb22:/tmp/xen-unstable # lamb22:/tmp/xen-unstable #
> 
> SuSE SLES 9 SP1 has gcc version 3.3.3 (SuSE Linux)
> 
> Note: Xen builds and boots just fine on a RHEL 4 box. RHEL 4 
> has gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4).
> 
> 
> 
> --
> Regards,
> 
> David F Barrera
> Linux Technology Center
> Systems and Technology Group, IBM
> 
> "The wisest men follow their own direction. "
>                                                         Euripides
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>