Cant Compile Luma3DS anymore

Discussion in '3DS - Flashcards & Custom Firmwares' started by Dracari, Jul 16, 2017.

  1. Dracari
    OP

    Dracari GBAtemp Maniac

    Member
    1,426
    389
    Apr 5, 2009
    United States
    (being able to atleast myself, compile Latest Builds , has been resolved as of c11f64b)
    (woulda posted it in the main thread for luma but i see it's been closed )

    i've tried making sure DevKitARM was upto date, armips , and libctru nothin. its something i've blantly missed or something that just wont cut it anymore on a windows build system as i see automate dbuild servers still able to compile the latest Master branch commits for me the ability stopped 6 commits ago. Now all i get is this:

    Code:
    arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -g -mcpu=mpcore -mfloat-abi=hard -mtp=soft -fno-builtin -std=c11 -O2 -flto -ffast-math -mword-relocations -fomit-frame-pointer -ffunction-sections -fdata-sections -I/c/devkitPro/libctru/include -Iinclude -DARM11 -D_3DS   -c -o build/gdb/watchpoints.o source/gdb/watchpoints.c
    /usr/bin/sed: -e expression #1, char 12: unknown option to `s'
    /usr/bin/sed: -e expression #1, char 12: unknown option to `s'
    /usr/bin/sed: -e expression #1, char 12: unknown option to `s'
    /usr/bin/sed: -e expression #1, char 12: unknown option to `s'
    arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -g -mcpu=mpcore -mfloat-abi=hard -mtp=soft -fno-builtin -std=c11 -O2 -flto -ffast-math -mword-relocations -fomit-frame-pointer -ffunction-sections -fdata-sections -I/c/devkitPro/libctru/include -Iinclude -DARM11 -D_3DS   -c -o build/gdb/xfer.o source/gdb/xfer.c
    In file included from source/gdb/xfer.c:29:0:
    source/gdb/../../build/xml_data.h:3:1: error: expected expression before ';' token
     ;
     ^
    source/gdb/../../build/xml_data.h:7:1: error: expected expression before ';' token
     ;
     ^
    source/gdb/../../build/xml_data.h:7:1: error: invalid initializer
    source/gdb/xfer.c: In function 'GDB_HandleXferFeatures':
    source/gdb/xfer.c:48:40: error: 'target_xml' undeclared (first use in this function)
             return GDB_SendStreamData(ctx, target_xml, offset, length, sizeof(target_xml) - 1, false);
                                            ^~~~~~~~~~
    source/gdb/xfer.c:48:40: note: each undeclared identifier is reported only once for each function it appears in
    source/gdb/xfer.c:48:68: warning: passing argument 5 of 'GDB_SendStreamData' makes integer from pointer without a cast [-Wint-conversion]
             return GDB_SendStreamData(ctx, target_xml, offset, length, sizeof(target_xml) - 1, false);
                                                                        ^~~~~~
    In file included from source/gdb/xfer.c:28:0:
    include/gdb/net.h:43:5: note: expected 'u32 {aka long unsigned int}' but argument is of type 'const char *'
     int GDB_SendStreamData(GDBContext *ctx, const char *streamData, u32 offset, u32 length, u32 totalSize, bool forceEmptyLast);
         ^~~~~~~~~~~~~~~~~~
    source/gdb/xfer.c: In function 'GDB_HandleXferOsDataCfwVersion':
    source/gdb/xfer.c:68:25: error: 'osdata_cfw_version_template_xml' undeclared (first use in this function); did you mean 'osdata_memory_template_xml'?
             char buf[sizeof(osdata_cfw_version_template_xml) + 64];
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                             osdata_memory_template_xml
    source/gdb/xfer.c:68:14: error: size of array 'buf' has non-integer type
             char buf[sizeof(osdata_cfw_version_template_xml) + 64];
                  ^~~
    make[1]: *** [build/gdb/xfer.o] Error 1
    make[1]: Leaving directory `/c/Github/Luma3DS/sysmodules/rosalina'
    make: *** [build/rosalina.cxi] Error 2
    
    C:\Github\Luma3DS>
    to those still able to compile the latest commits, any idea? i sorta prefer to build the nighties myself and not really rely on a Automated build server.
     
    Last edited by Dracari, Jul 25, 2017
  2. Februarysn0w

    Februarysn0w School Idol Festival

    Member
    1,205
    518
    Oct 31, 2014
    Mino city Osaka
    Yes, I can compile latest commit. but, I'm not sure for these error. sorry.

    what on my computer installed. /My computer is Windows 10-64bit.
    DevkitARM, libctru ( installed with this command "make install"). latest makerom, firmtool and armips.


    P.S
    attached latest commit build. If you need it.
     

    Attached Files:

    • boot.7z
      File size:
      95.6 KB
      Views:
      9
    Last edited by Februarysn0w, Jul 23, 2017
  3. Dracari
    OP

    Dracari GBAtemp Maniac

    Member
    1,426
    389
    Apr 5, 2009
    United States
    well i dont know what it was about it but now since Commit c11f64b, i can compile again. before then the last i could recall being able to was 557f205
     
    Februarysn0w likes this.