airpwn / sams2

Automatically exported from code.google.com/p/sams2
GNU General Public License v2.0
0 stars 0 forks source link

Sams 2 rc2 Make Error #553

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
OS freebsd 6.2

getfsusage.lo -MD -MP -MF .deps/getfsusage.Tpo -c getfsusage.cpp  -fPIC -DPIC 
-o .libs/getfsusage.o
getfsusage.cpp: In function `int get_fs_usage(fs_info*)':
getfsusage.cpp:126: warning: left shift count >= width of type
getfsusage.cpp:127: warning: left shift count >= width of type
getfsusage.cpp:129: warning: left shift count >= width of type
getfsusage.cpp:130: warning: left shift count >= width of type
getfsusage.cpp:133: warning: left shift count >= width of type
getfsusage.cpp:134: warning: left shift count >= width of type
getfsusage.cpp: In function `char* get_fsusage()':
getfsusage.cpp:307: error: `MNT_NOWAIT' was not declared in this scope
getfsusage.cpp:307: error: `getmntinfo' was not declared in this scope
getfsusage.cpp:311: error: cannot increment a pointer to incomplete type 
`statfs'
getfsusage.cpp:317: error: invalid use of undefined type `struct statfs'
getfsusage.cpp:304: error: forward declaration of `struct statfs'
getfsusage.cpp:318: error: invalid use of undefined type `struct statfs'
getfsusage.cpp:304: error: forward declaration of `struct statfs'
getfsusage.cpp:319: error: invalid use of undefined type `struct statfs'
getfsusage.cpp:304: error: forward declaration of `struct statfs'
getfsusage.cpp:307: warning: unused variable 'MNT_NOWAIT'
getfsusage.cpp:307: warning: unused variable 'getmntinfo'
*** Error code 1

Stop in /root/sams-2.0.0-rc2/plugins/fsusage.
*** Error code 1

Original issue reported on code.google.com by hunter.c...@gmail.com on 10 Jun 2011 at 8:34

GoogleCodeExporter commented 9 years ago

Original comment by bl...@nixdev.net on 10 Jun 2011 at 9:54