Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Error compiling ultradefrag on Linux (Ubuntu)

Help
Brad Baker
2014-03-04
2014-03-04
  • Brad Baker
    Brad Baker
    2014-03-04

    I am trying to compile ultradefrag for use on ubuntu to defrag my ntfs volumes. I have ntfs-3g-dev and ntfs-3g packages installed. But when I run a make in the ultradefrag src folder I get the following error:

    cd wincalls; make wincalls.a
    make[1]: Entering directory /home/myuser/Desktop/ultradefrag-5.0.0AB.7/src/wincalls' gcc -DLXGC=1 -O2 -I/usr/include/ntfs-3g -I/usr/include -I../include -I../dll/zenwinx -c ntfs-3g.c ntfs-3g.c: In function ‘ntfs_open’: ntfs-3g.c:147:27: error: ‘MS_RDONLY’ undeclared (first use in this function) vol = ntfs_mount(device,MS_RDONLY); ^ ntfs-3g.c:147:27: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [ntfs-3g.o] Error 1 make[1]: Leaving directory/home/myuser/Desktop/ultradefrag-5.0.0AB.7/src/wincalls'
    make: *** [wincalls.a] Error 2

    Why am I getting this error and how can I work around it?

    Thanks
    Brad

     
  • Stefan Pendl
    Stefan Pendl
    2014-03-04

    UltraDefrag is a Windows only program and was never tested nor compiled on anything else but Windows.

    Any question about an unofficial port must be asked at the site the unofficial source code has been downloaded from.

    Sorry for the inconvenience.


    Stefan

     
  • Brad Baker
    Brad Baker
    2014-03-04

    Sorry about that - I assumed the port was by the original author(s).

    I'll inquire on the Tuxera forums (http://tuxera.com/forum/)

    Thanks for the reply,
    Brad