Results 1 to 1 of 1



  1. #1
    Junior Member tiefputin1's Avatar
    Join Date
    Oct 2009
    Posts
    71

    [UnAnswered] CellFsGetDirectoryEntries compile error


    hi there,

    long story short..... i have a problem when i'm compiling

    simple.c: In function 'main':
    simple.c:66: warning: 'entries_size' is used uninitialized in this function
    In function `main':
    simple/simple.c:66: undefined reference to `.CellFsGetDirectoryEntries'
    collect2: ld returned 1 exit status
    make: *** [simple.elf] Error 1

    in source it looks like:

    ...
    CellFsDirectoryEntry entries;
    uint32_t data_count, entries_size;
    ...
    some code...
    ....
    err = cellFsOpendir(buf, &dir);
    err = CellFsGetDirectoryEntries(dir, &entries, entries_size,&data_count);


    all other calls dont seem to cause any errors ;(
    thx if someone can help

    ok fixed...
    Cell -> cell heh
    anyways....is there an easy way to access the usb memory stick?
    i'm trying

    err = cellFsOpen("/dev_usb000/log.txt",CELL_FS_O_RDWR|CELL_FS_O_CREAT, &fd, NULL, 0);

    but its not gonna work :x
    Last edited by tiefputin1; 09-06-2010 at 09:32 AM Reason: Automerged Doublepost