List:Backup« Previous MessageNext Message »
From:Jørgen Løland Date:August 18 2009 1:01pm
Subject:Error compiling using target 'distcheck'
View as plain text  
There are errors in backup files when compiling with distcheck target. 
Does anyone feel responsible?

$ make distcheck
(...)
../../../unittest/backup/test_stream.c:7:23: error: my_global.h: No such 
file or directory
../../../unittest/backup/test_stream.c:8:20: error: my_sys.h: No such 
file or directory
In file included from ../../../unittest/backup/test_stream.c:10:
../../../unittest/backup/stream_test.h:4:22: error: m_string.h: No such 
file or directory
In file included from ../../../unittest/backup/test_stream.c:10:
../../../unittest/backup/stream_test.h:25: error: expected 
specifier-qualifier-list before ‘size_t’
../../../unittest/backup/stream_test.h:37: error: expected ‘=’,
‘,’, 
‘;’, ‘asm’ or ‘__attribute__’ before
‘stream_block_size’
../../../unittest/backup/test_stream.c:14: error: expected ‘=’,
‘,’, 
‘;’, ‘asm’ or ‘__attribute__’ before
‘stream_block_size’
../../../unittest/backup/test_stream.c: In function ‘reset_io_counts’:
../../../unittest/backup/test_stream.c:53: warning: incompatible 
implicit declaration of built-in function ‘bzero’
../../../unittest/backup/test_stream.c: In function ‘backup_stream_open_wr’:
../../../unittest/backup/test_stream.c:70: error: ‘O_WRONLY’ undeclared 
(first use in this function)
../../../unittest/backup/test_stream.c:70: error: (Each undeclared 
identifier is reported only once
../../../unittest/backup/test_stream.c:70: error: for each function it 
appears in.)
../../../unittest/backup/test_stream.c:70: error: ‘O_CREAT’ undeclared 
(first use in this function)
../../../unittest/backup/test_stream.c:70: error: ‘O_TRUNC’ undeclared 
(first use in this function)
../../../unittest/backup/test_stream.c:82: error: ‘stream_block_size’ 
undeclared (first use in this function)
../../../unittest/backup/test_stream.c: In function ‘backup_stream_open_rd’:
../../../unittest/backup/test_stream.c:97: error: ‘O_RDONLY’ undeclared 
(first use in this function)
../../../unittest/backup/test_stream.c: In function ‘stream_write’:
../../../unittest/backup/test_stream.c:217: error: ‘size_t’ undeclared 
(first use in this function)
../../../unittest/backup/test_stream.c:217: error: expected ‘;’ before 
‘howmuch’
../../../unittest/backup/test_stream.c:234: error: ‘howmuch’ undeclared 
(first use in this function)
../../../unittest/backup/test_stream.c:236: error: ‘MY_NABP’ undeclared 
(first use in this function)
../../../unittest/backup/test_stream.c:245: error: ‘struct st_io_counts’ 
has no member named ‘write_bytes’
../../../unittest/backup/test_stream.c: In function ‘stream_read’:
../../../unittest/backup/test_stream.c:263: error: ‘size_t’ undeclared 
(first use in this function)
../../../unittest/backup/test_stream.c:263: error: expected ‘;’ before 
‘howmuch’
../../../unittest/backup/test_stream.c:279: error: ‘howmuch’ undeclared 
(first use in this function)
../../../unittest/backup/test_stream.c:293: error: ‘struct st_io_counts’ 
has no member named ‘read_bytes’
../../../unittest/backup/test_stream.c: In function ‘stream_forward’:
../../../unittest/backup/test_stream.c:310: error: ‘size_t’ undeclared 
(first use in this function)
../../../unittest/backup/test_stream.c:310: error: expected ‘;’ before 
‘howmuch’
../../../unittest/backup/test_stream.c:324: error: ‘howmuch’ undeclared 
(first use in this function)
../../../unittest/backup/test_stream.c:326: error: ‘SEEK_CUR’ undeclared 
(first use in this function)
make[3]: *** [test_stream.lo] Error 1
make[3]: Leaving directory 
`/localhome/jl208045/mysql/mysql-6.0-backup-review1/mysql-5.4.4-alpha/_build/unittest/backup'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/localhome/jl208045/mysql/mysql-6.0-backup-review1/mysql-5.4.4-alpha/_build/unittest'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/localhome/jl208045/mysql/mysql-6.0-backup-review1/mysql-5.4.4-alpha/_build'
make: *** [distcheck] Error 2

-- 
Jørgen Løland
Thread
Error compiling using target 'distcheck'Jørgen Løland18 Aug
Re: Error compiling using target 'distcheck'Rafal Somla20 Aug