[CentOS] linux/magic.h

hce webmail.hce at gmail.com
Sun Oct 25 11:58:03 UTC 2009


Hi,

I had following errors while I was compiling VLC 1.0.2 on CentOS 5.2:

modules/access/file.c:52:28: error: linux/magic.h: No such file or directory
../../../modules/access/file.c: In function ‘IsRemote’:
../../../modules/access/file.c:141: error: ‘AFS_SUPER_MAGIC’
undeclared (first use in this function)
../../../modules/access/file.c:141: error: (Each undeclared identifier
is reported only once
../../../modules/access/file.c:141: error: for each function it appears in.)
../../../modules/access/file.c:142: error: ‘CODA_SUPER_MAGIC’
undeclared (first use in this function)
../../../modules/access/file.c:143: error: ‘NCP_SUPER_MAGIC’
undeclared (first use in this function)
../../../modules/access/file.c:144: error: ‘NFS_SUPER_MAGIC’
undeclared (first use in this function)
../../../modules/access/file.c:145: error: ‘SMB_SUPER_MAGIC’
undeclared (first use in this function)
make[5]: *** [libaccess_file_plugin_la-file.lo] Error 1

What package is the magic.h belong to? Is the version too old, need be updated?

There is only a magic.h in /usr/include directory, but not in
/usr/include/linux directory. There is no AFS_SUPER_MAGIC, .....

What I am missing here?

Thank you.


More information about the CentOS mailing list