Menu

#18 can't compile scramdisk with recent kernel?

closed-fixed
None
5
2008-07-12
2008-07-12
Eric F.
No

hello,

i'm trying to compile scramdisk on debian sid on kernel 2.6.25-1-686

after a moment, I got this:

g++ -I. -I../crypto -I../driver -O2 -Wall -c -o sdmount.o sdmount.cpp
sdmount.cpp: In function ‘int main(int, char**)’:
sdmount.cpp:215: error: ‘strcmp’ was not declared in this scope
sdmount.cpp:220: error: ‘strcpy’ was not declared in this scope
sdmount.cpp:222: error: ‘strcpy’ was not declared in this scope
sdmount.cpp:225: error: ‘strcpy’ was not declared in this scope
sdmount.cpp:332: error: ‘strerror’ was not declared in this scope

Discussion

  • Hans-Ulrich Juettner

    Logged In: YES
    user_id=1281148
    Originator: NO

    This isn't a problem with the sources of utilities.
    New versions of gcc are missing some includes.

     
  • Hans-Ulrich Juettner

    • assigned_to: nobody --> huj
     
  • Hans-Ulrich Juettner

    Logged In: YES
    user_id=1281148
    Originator: NO

    The missing includes in some files in the utils directory have been added.
    The new source archive ScramDisk_1.3-1.tar.gz has been released to fix the problem.

     
  • Hans-Ulrich Juettner

    • status: open --> closed-fixed
     
  • Eric F.

    Eric F. - 2008-07-12

    Logged In: YES
    user_id=970756
    Originator: YES

    ok, that's great, and will be less misleading for people. I managed to compile scramdisk from the cvs sources also. Maybe you could also precise in a readme what the requirement to compile scramdisk are (for ex. qt3 instead of qt4 and such...)

     

Log in to post a comment.