Last active
          November 6, 2015 20:34 
        
      - 
      
- 
        Save panicbit/30db5df9f946a5ceb4b6 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | $ make | |
| rustc -O -C code-model=kernel -C relocation-model=static --crate-type lib -o main.o --emit obj main.rs | |
| make -C /lib/modules/4.2.3-1-ARCH/build M=$(HOME)/tmp/rust.ko modules | |
| make[1]: Entering directory '/usr/lib/modules/4.2.3-1-ARCH/build' | |
| CC [M] $(HOME)/tmp/rust.ko/stub.o | |
| LD [M] $(HOME)/tmp/rust.ko/hello.o | |
| Building modules, stage 2. | |
| MODPOST 1 modules | |
| WARNING: "_ZN6option13_$LT$impl$GT$6unwrap14_MSG_FILE_LINE20h8793f02bd16d261dX9ME" [$(HOME)/tmp/rust.ko/hello.ko] undefined! | |
| WARNING: "_ZN9panicking5panic20h98c7cbfc94ff8f45EGKE" [$(HOME)/tmp/rust.ko/hello.ko] undefined! | |
| CC $(HOME)/tmp/rust.ko/hello.mod.o | |
| LD [M] $(HOME)/tmp/rust.ko/hello.ko | |
| make[1]: Leaving directory '/usr/lib/modules/4.2.3-1-ARCH/build' | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment