I am trying to compile the latest version of e2fsprogs. I have the next
error during compilation:
make[2]: se ingresa al directorio `/usr/src/e2fsprogs/build/lib/ext2fs'
CC ../../../lib/ext2fs/alloc_tables.c
../../../lib/ext2fs/alloc_tables.c: In function
‘ext2fs_allocate_group_table’:
../../../lib/ext2fs/alloc_tables.c:122: error: expected expression
before ‘<<’ token
../../../lib/ext2fs/alloc_tables.c:125: error: ‘prev_block’ undeclared
(first use in this function)
../../../lib/ext2fs/alloc_tables.c:125: error: (Each undeclared
identifier is reported only once
../../../lib/ext2fs/alloc_tables.c:125: error: for each function it
appears in.)
../../../lib/ext2fs/alloc_tables.c:126: error: expected expression
before ‘==’ token
../../../lib/ext2fs/alloc_tables.c:130: error: expected expression
before ‘>>’ token
../../../lib/ext2fs/alloc_tables.c:130:9: error: invalid suffix
"db77ec039ff241dab0f1e267fabcfa814fbaf4c" on integer constant
../../../lib/ext2fs/alloc_tables.c:157: error: expected expression
before ‘<<’ token
../../../lib/ext2fs/alloc_tables.c:161: error: expected expression
before ‘==’ token
../../../lib/ext2fs/alloc_tables.c:165: error: expected expression
before ‘>>’ token
../../../lib/ext2fs/alloc_tables.c:165:9: error: invalid suffix
"db77ec039ff241dab0f1e267fabcfa814fbaf4c" on integer constant
make[2]: *** [alloc_tables.o] Error 1
make[2]: se sale del directorio `/usr/src/e2fsprogs/build/lib/ext2fs'
make[1]: *** [all-libs-recursive] Error 1
make[1]: se sale del directorio `/usr/src/e2fsprogs/build'
make: *** [all] Error 2
Could you give some advice to solve the compilation problem ?
I want to compile my own binary because I don't want to mix stable with
testing or unstable versions of Debian.
Regards, Adrian
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
01-19-2009, 07:37 PM
Kamaraju S Kusumanchi
e2fsprogs compilation problem
Adrian Chapela wrote:
> Hello,
>
> I am trying to compile the latest version of e2fsprogs. I have the next
> error during compilation:
>
> make[2]: se ingresa al directorio `/usr/src/e2fsprogs/build/lib/ext2fs'
> CC ../../../lib/ext2fs/alloc_tables.c
> ../../../lib/ext2fs/alloc_tables.c: In function
> ‘ext2fs_allocate_group_table’:
> ../../../lib/ext2fs/alloc_tables.c:122: error: expected expression
> before ‘<<’ token
> ../../../lib/ext2fs/alloc_tables.c:125: error: ‘prev_block’ undeclared
> (first use in this function)
> ../../../lib/ext2fs/alloc_tables.c:125: error: (Each undeclared
> identifier is reported only once
> ../../../lib/ext2fs/alloc_tables.c:125: error: for each function it
> appears in.)
> ../../../lib/ext2fs/alloc_tables.c:126: error: expected expression
> before ‘==’ token
> ../../../lib/ext2fs/alloc_tables.c:130: error: expected expression
> before ‘>>’ token
> ../../../lib/ext2fs/alloc_tables.c:130:9: error: invalid suffix
> "db77ec039ff241dab0f1e267fabcfa814fbaf4c" on integer constant
> ../../../lib/ext2fs/alloc_tables.c:157: error: expected expression
> before ‘<<’ token
> ../../../lib/ext2fs/alloc_tables.c:161: error: expected expression
> before ‘==’ token
> ../../../lib/ext2fs/alloc_tables.c:165: error: expected expression
> before ‘>>’ token
> ../../../lib/ext2fs/alloc_tables.c:165:9: error: invalid suffix
> "db77ec039ff241dab0f1e267fabcfa814fbaf4c" on integer constant
> make[2]: *** [alloc_tables.o] Error 1
> make[2]: se sale del directorio `/usr/src/e2fsprogs/build/lib/ext2fs'
> make[1]: *** [all-libs-recursive] Error 1
> make[1]: se sale del directorio `/usr/src/e2fsprogs/build'
> make: *** [all] Error 2
>
>
> Could you give some advice to solve the compilation problem ?
>
May be some of the dependencies are missing on your system. Try
sudo apt-get build-dep e2fsprogs
raju
--
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org