maojie / pintos_mac

Stanford Pintos Operating System on Mac
Other
34 stars 20 forks source link

Any idea why 'make' in userprog/ results in these errors? #3

Open mmoffitt opened 10 years ago

mmoffitt commented 10 years ago

Not sure what's up with these files ... I have no problem running 'make' in the threads/ directory.

/Users/michael.moffitt/Development/pintos_mac/userprog/build/../../tests/lib.c:21: undefined reference to `snprintf'
/Users/michael.moffitt/Development/pintos_mac/userprog/build/../../tests/lib.c:22: undefined reference to `vsnprintf'
/Users/michael.moffitt/Development/pintos_mac/userprog/build/../../tests/lib.c:23: undefined reference to `strlcpy'
/Users/michael.moffitt/Development/pintos_mac/userprog/build/../../tests/lib.c:24: undefined reference to `write'
leon-g-xu commented 10 years ago

Hi I am curious if you get this issue fixed? And how do you fix it?

mmoffitt commented 10 years ago

I gave up on pintos_mac ... borrowed a friend's Ubuntu machine.

DanielGibbsNZ commented 9 years ago

I've fixed these errors in https://github.com/jinmel/pintos_mac/pull/1.