Skip to content

Instantly share code, notes, and snippets.

@timothyhahn
Created March 17, 2013 02:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timothyhahn/5179233 to your computer and use it in GitHub Desktop.
Save timothyhahn/5179233 to your computer and use it in GitHub Desktop.
make -C /lib/modules/3.2.0-38-generic/build M=/home/tyh25/cs370/sources/cs370/tar/module modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-38-generic'
CC [M] /home/tyh25/cs370/sources/cs370/tar/module/tarfs.o
/home/tyh25/cs370/sources/cs370/tar/module/tarfs.c: In function ‘add_tarfs_instance’:
/home/tyh25/cs370/sources/cs370/tar/module/tarfs.c:83:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
/home/tyh25/cs370/sources/cs370/tar/module/tarfs.c: In function ‘tarfs_read_file’:
/home/tyh25/cs370/sources/cs370/tar/module/tarfs.c:173:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
/home/tyh25/cs370/sources/cs370/tar/module/tarfs.c:189:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
/home/tyh25/cs370/sources/cs370/tar/module/tarfs.c:192:15: warning: initialization from incompatible pointer type [enabled by default]
/home/tyh25/cs370/sources/cs370/tar/module/tarfs.c: In function ‘tarfs_write_file’:
/home/tyh25/cs370/sources/cs370/tar/module/tarfs.c:218:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
/home/tyh25/cs370/sources/cs370/tar/module/tarfs.c:223:18: warning: initialization from incompatible pointer type [enabled by default]
/home/tyh25/cs370/sources/cs370/tar/module/tarfs.c: In function ‘process_tar_file’:
/home/tyh25/cs370/sources/cs370/tar/module/tarfs.c:460:6: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
/home/tyh25/cs370/sources/cs370/tar/module/tarfs.c: In function ‘tarfs_fill_super’:
/home/tyh25/cs370/sources/cs370/tar/module/tarfs.c:521:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
/home/tyh25/cs370/sources/cs370/tar/module/tarfs.c: In function ‘tarfs_get_super’:
/home/tyh25/cs370/sources/cs370/tar/module/tarfs.c:566:2: error: implicit declaration of function ‘get_sb_single’ [-Werror=implicit-function-declaration]
/home/tyh25/cs370/sources/cs370/tar/module/tarfs.c: At top level:
/home/tyh25/cs370/sources/cs370/tar/module/tarfs.c:573:2: error: unknown field ‘get_sb’ specified in initializer
/home/tyh25/cs370/sources/cs370/tar/module/tarfs.c:573:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/home/tyh25/cs370/sources/cs370/tar/module/tarfs.c:573:2: warning: (near initialization for ‘tarfs_type.fs_flags’) [enabled by default]
/home/tyh25/cs370/sources/cs370/tar/module/tarfs.c:573:2: error: initializer element is not computable at load time
/home/tyh25/cs370/sources/cs370/tar/module/tarfs.c:573:2: error: (near initialization for ‘tarfs_type.fs_flags’)
/home/tyh25/cs370/sources/cs370/tar/module/tarfs.c:292:23: warning: ‘tarfs_create_dir’ defined but not used [-Wunused-function]
cc1: some warnings being treated as errors
make[2]: *** [/home/tyh25/cs370/sources/cs370/tar/module/tarfs.o] Error 1
make[1]: *** [_module_/home/tyh25/cs370/sources/cs370/tar/module] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-38-generic'
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment