compilation fails Percona Server 5.1.50-rel12.1 on FreeBSD
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
Critical
|
Oleg Tsarev |
Bug Description
I think we used to have a similar bug on FreeBSD:
gcc -DMYSQL_SERVER -DDEFAULT_
mysqld.cc:50:20: error: mntent.h: No such file or directory
mysqld.cc:51:24: error: sys/statfs.h: No such file or directory
In file included from mysqld.cc:52:
../include/
mysqld.cc: In function 'void init_cachedev()':
mysqld.cc:4389: error: aggregate 'statfs stfs_data_home_dir' has incomplete type and cannot be defined
mysqld.cc:4390: error: aggregate 'statfs stfs' has incomplete type and cannot be defined
mysqld.cc:4402: warning: deprecated conversion from string constant to 'char*'
mysqld.cc:4406: error: invalid use of incomplete type 'struct statfs'
mysqld.cc:4389: error: forward declaration of 'struct statfs'
mysqld.cc:4408: warning: deprecated conversion from string constant to 'char*'
mysqld.cc:4412: error: 'setmntent' was not declared in this scope
mysqld.cc:4415: warning: deprecated conversion from string constant to 'char*'
mysqld.cc:4419: error: 'getmntent' was not declared in this scope
mysqld.cc:4421: error: invalid use of incomplete type 'struct mntent'
mysqld.cc:4391: error: forward declaration of 'struct mntent'
mysqld.cc:4421: error: invalid use of incomplete type 'struct statfs'
mysqld.cc:4389: error: forward declaration of 'struct statfs'
mysqld.cc:4423: error: 'fsid_t' was not declared in this scope
mysqld.cc:4426: error: 'endmntent' was not declared in this scope
mysqld.cc:4430: warning: deprecated conversion from string constant to 'char*'
mysqld.cc:4434: error: invalid use of incomplete type 'struct mntent'
mysqld.cc:4391: error: forward declaration of 'struct mntent'
mysqld.cc:4437: warning: deprecated conversion from string constant to 'char*'
mysqld.cc:4446: warning: deprecated conversion from string constant to 'char*'
gmake[3]: *** [mysqld.o] Error 1
Full output
http://
Changed in percona-server: | |
assignee: | nobody → Oleg Tsarev (tsarev) |
milestone: | none → 5.1.50-12.1 |
importance: | Undecided → Medium |
Changed in percona-server: | |
status: | New → Triaged |
importance: | Medium → Critical |
Changed in percona-server: | |
status: | Triaged → Fix Committed |
Changed in percona-server: | |
status: | Fix Committed → Fix Released |
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PS-324