linux/magic.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux