All of lore.kernel.org
 help / color / mirror / Atom feed
* x86 Build break (SuSE SLES 9 SP1) - error: dereferencing pointer to incomplete type
@ 2005-05-16 15:07 David F Barrera
  2005-05-16 15:10 ` Steven Hand
  0 siblings, 1 reply; 5+ messages in thread
From: David F Barrera @ 2005-05-16 15:07 UTC (permalink / raw)
  To: xen-devel


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

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: x86 Build break (SuSE SLES 9 SP1) - error: dereferencing pointer to incomplete type
  2005-05-16 15:07 x86 Build break (SuSE SLES 9 SP1) - error: dereferencing " David F Barrera
@ 2005-05-16 15:10 ` Steven Hand
  0 siblings, 0 replies; 5+ messages in thread
From: Steven Hand @ 2005-05-16 15:10 UTC (permalink / raw)
  To: David F Barrera; +Cc: xen-devel


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

The new pygrub stuff adds a new build requirement on e2fsprogs-devel; 
either install the rpm or just don't build pygrub for now. 


cheers,

S.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: x86 Build break (SuSE SLES 9 SP1) - error:dereferencing pointer to incomplete type
@ 2005-05-16 15:12 Ian Pratt
  2005-05-16 15:37 ` aq
  0 siblings, 1 reply; 5+ messages in thread
From: Ian Pratt @ 2005-05-16 15:12 UTC (permalink / raw)
  To: David F Barrera, xen-devel

 

> 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@lists.xensource.com
> http://lists.xensource.com/xen-devel
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: x86 Build break (SuSE SLES 9 SP1) - error:dereferencing pointer to incomplete type
  2005-05-16 15:12 x86 Build break (SuSE SLES 9 SP1) - error:dereferencing pointer to incomplete type Ian Pratt
@ 2005-05-16 15:37 ` aq
  2005-05-16 15:49   ` David F Barrera
  0 siblings, 1 reply; 5+ messages in thread
From: aq @ 2005-05-16 15:37 UTC (permalink / raw)
  To: Ian Pratt; +Cc: David F Barrera, xen-devel

On 5/17/05, Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk> wrote:
> 
> 
> > 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).
> 

to compile pygrub, you need ext2fs library package, which depends on
what your distro is:
     - e2fslibs-dev on Debian based distributions (Debian, Ubuntu,
Xandros, Libranet, Xandros, etc...)
     - e2fsprogs-devel on RedHat, Fedora Core
     - libext2fs2-devel on Mandriva/Mandrake        

regards,
aq

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: x86 Build break (SuSE SLES 9 SP1) - error:dereferencing pointer to incomplete type
  2005-05-16 15:37 ` aq
@ 2005-05-16 15:49   ` David F Barrera
  0 siblings, 0 replies; 5+ messages in thread
From: David F Barrera @ 2005-05-16 15:49 UTC (permalink / raw)
  To: aq; +Cc: Ian Pratt, xen-devel

Thanks for the replies. I installed e2fslibs-dev, and it built just
fine. 

On Tue, 2005-05-17 at 00:37 +0900, aq wrote:
> On 5/17/05, Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk> wrote:
> > 
> > 
> > > 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).
> > 
> 
> to compile pygrub, you need ext2fs library package, which depends on
> what your distro is:
>      - e2fslibs-dev on Debian based distributions (Debian, Ubuntu,
> Xandros, Libranet, Xandros, etc...)
>      - e2fsprogs-devel on RedHat, Fedora Core
>      - libext2fs2-devel on Mandriva/Mandrake        
> 
> regards,
> aq
> 
-- 
Regards,

David F Barrera
Linux Technology Center
Systems and Technology Group, IBM

"The wisest men follow their own direction. "
                                                        Euripides

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-05-16 15:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-16 15:12 x86 Build break (SuSE SLES 9 SP1) - error:dereferencing pointer to incomplete type Ian Pratt
2005-05-16 15:37 ` aq
2005-05-16 15:49   ` David F Barrera
  -- strict thread matches above, loose matches on Subject: below --
2005-05-16 15:07 x86 Build break (SuSE SLES 9 SP1) - error: dereferencing " David F Barrera
2005-05-16 15:10 ` Steven Hand

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.