FBI Building

Discussion in '3DS - Homebrew Development and Emulators' started by leerz, Mar 14, 2016.

  1. leerz
    OP

    leerz GBAtemp Advanced Fan

    Member
    538
    135
    Jan 11, 2015
    Makati
    So, I've forked FBI and added some features / delete after install and other stuff (maybe a tinyformat clone and maybe creation of the dbs folder from within this tool.

    I know some basic stuff, but technically I'm a newb.

    thanks to Zoogie for helping me earlier, (pointing that I need the submodules etc etc)


    anyway, I didn't want to flood the fbi release thread as that wasn't the correct avenue for helping build FBI, so far so good on my fbi build, then I just hit a speedbump

    Code:
    
    C:\devkitPro\FBI\src>make
    khaxinit.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/devkitPro/FBI/src/build/khaxinit.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/devkitPro/FBI/src/source -I/c/devkitPro/FBI/src/include -I/c/devkitPro/citrus/include -I/c/devkitPro/portlibs/armv6k/include -I/c/devkitPro/portlibs/3ds/include -I/c/devkitPro/libctru/include -I./lib/include -I/c/devkitPro/FBI/src/build -DARM11 -D_3DS -DVERSION_STRING="\"svchax\"" -std=gnu++11 -fno-rtti -fno-exceptions -c /c/devkitPro/FBI/src/source/libkhax/khaxinit.cpp -o khaxinit.o
    main.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/devkitPro/FBI/src/build/main.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/devkitPro/FBI/src/source -I/c/devkitPro/FBI/src/include -I/c/devkitPro/citrus/include -I/c/devkitPro/portlibs/armv6k/include -I/c/devkitPro/portlibs/3ds/include -I/c/devkitPro/libctru/include -I./lib/include -I/c/devkitPro/FBI/src/build -DARM11 -D_3DS -DVERSION_STRING="\"svchax\"" -std=gnu++11 -fno-rtti -fno-exceptions -c /c/devkitPro/FBI/src/source/main.cpp -o main.o
    ui.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/devkitPro/FBI/src/build/ui.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/devkitPro/FBI/src/source -I/c/devkitPro/FBI/src/include -I/c/devkitPro/citrus/include -I/c/devkitPro/portlibs/armv6k/include -I/c/devkitPro/portlibs/3ds/include -I/c/devkitPro/libctru/include -I./lib/include -I/c/devkitPro/FBI/src/build -DARM11 -D_3DS -DVERSION_STRING="\"svchax\"" -std=gnu++11 -fno-rtti -fno-exceptions -c /c/devkitPro/FBI/src/source/ui.cpp -o ui.o
    linking FBI.elf
    main.o: In function `onProgress(unsigned long long, unsigned long long)':
    c:/devkitPro/FBI/src/source/main.cpp:44: multiple definition of `onProgress(unsigned long long, unsigned long long)'
    main.o:c:/devkitPro/FBI/src/source/main.cpp:44: first defined here
    main.o: In function `networkInstall()':
    c:/devkitPro/FBI/src/source/main.cpp:59: multiple definition of `networkInstall()'
    main.o:c:/devkitPro/FBI/src/source/main.cpp:59: first defined here
    main.o: In function `installROP()':
    c:/devkitPro/FBI/src/source/main.cpp:106: multiple definition of `installROP()'
    main.o:c:/devkitPro/FBI/src/source/main.cpp:106: first defined here
    main.o: In function `installCIA(ctr::fs::MediaType, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, int)':
    c:/devkitPro/FBI/src/source/main.cpp:174: multiple definition of `installCIA(ctr::fs::MediaType, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, int)'
    main.o:c:/devkitPro/FBI/src/source/main.cpp:174: first defined here
    main.o: In function `deleteCIA(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, int)':
    c:/devkitPro/FBI/src/source/main.cpp:260: multiple definition of `deleteCIA(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, int)'
    main.o:c:/devkitPro/FBI/src/source/main.cpp:260: first defined here
    main.o: In function `deleteTitle(ctr::app::App)':
    c:/devkitPro/FBI/src/source/main.cpp:285: multiple definition of `deleteTitle(ctr::app::App)'
    main.o:c:/devkitPro/FBI/src/source/main.cpp:285: first defined here
    main.o: In function `launchTitle(ctr::app::App)':
    c:/devkitPro/FBI/src/source/main.cpp:301: multiple definition of `launchTitle(ctr::app::App)'
    main.o:c:/devkitPro/FBI/src/source/main.cpp:301: first defined here
    main.o: In function `onLoop()':
    c:/devkitPro/FBI/src/source/main.cpp:317: multiple definition of `onLoop()'
    main.o:c:/devkitPro/FBI/src/source/main.cpp:317: first defined here
    main.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_data(char*)':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1734: multiple definition of `main'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1734: first defined here
    main.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_data(char*)':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1734: multiple definition of `installInfo[abi:cxx11]'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1734: first defined here
    main.o: In function `__gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::deallocate(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, unsigned int)':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1742: multiple definition of `prevProgress'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1742: first defined here
    main.o: In function `std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::size() const':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: multiple definition of `mode'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: first defined here
    main.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Alloc_hider::_Alloc_hider(char*, std::allocator<char> const&)':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: multiple definition of `destination'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: first defined here
    main.o: In function `std::_Function_base::_Base_manager<bool (*)(unsigned long long, unsigned long long)>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation)':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: multiple definition of `freeSpace'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: first defined here
    main.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_data(char*)':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1734: multiple definition of `showNetworkPrompts'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1734: first defined here
    main.o: In function `std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::~vector()':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: multiple definition of `exit'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: first defined here
    main.o: In function `std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::~vector()':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: multiple definition of `extensions[abi:cxx11]'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: first defined here
    main.o: In function `std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::~vector()':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: multiple definition of `rops'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: first defined here
    main.o: In function `std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_deallocate(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, unsigned int)':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: multiple definition of `ropNames'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: first defined here
    collect2.exe: error: ld returned 1 exit status
    make[1]: *** [/c/devkitPro/FBI/src/output/FBI.elf] Error 1
    make: *** [build] Error 2
    
    C:\devkitPro\FBI\src>

    Zoogie was right, this is more of a "help a newb build" thing, your thoughts on this is welcome! looking forward on pushing through with the build and make a proper beta *hopefulyl :)


    Thank you

    Lrz
     
  2. zoogie

    zoogie simple pimp tool

    Member
    6,576
    8,476
    Nov 30, 2014
    United States
    It tells you what the problem is. Somehow you have multiple occurances of the same functions in FBI.
    It's possible steveice moved those functions from FBI to citrus (his custom library) and so when you use the old FBI (Dec 1) with the latest citrus, you get that problem. That's just my guess.

    This why I included the old (concurrent with the old FBI) version of citrus in that zip package. It won't be included during compilation by default though! You have to run make install INSIDE the INCLUDED citrus and it has to be successful.
     
  3. leerz
    OP

    leerz GBAtemp Advanced Fan

    Member
    538
    135
    Jan 11, 2015
    Makati
    I've started from scratch
    latest devkitpro

    fbizipfile
    added the modules
    built citrus
    built fbi


    Code:
    
    C:\devkitPro\FBI>cd citrus
    
    C:\devkitPro\FBI\citrus>make install
    citrus_default_font.bin
    citrus_default_shader.pica
    app.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/devkitPro/FBI/citrus/build/app.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/devkitPro/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/devkitPro/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/devkitPro/FBI/citrus/source/citrus/app.cpp -o app.o
    battery.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/devkitPro/FBI/citrus/build/battery.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/devkitPro/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/devkitPro/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/devkitPro/FBI/citrus/source/citrus/battery.cpp -o battery.o
    core.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/devkitPro/FBI/citrus/build/core.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/devkitPro/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/devkitPro/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/devkitPro/FBI/citrus/source/citrus/core.cpp -o core.o
    err.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/devkitPro/FBI/citrus/build/err.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/devkitPro/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/devkitPro/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/devkitPro/FBI/citrus/source/citrus/err.cpp -o err.o
    fs.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/devkitPro/FBI/citrus/build/fs.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/devkitPro/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/devkitPro/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/devkitPro/FBI/citrus/source/citrus/fs.cpp -o fs.o
    gpu.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/devkitPro/FBI/citrus/build/gpu.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/devkitPro/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/devkitPro/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/devkitPro/FBI/citrus/source/citrus/gpu.cpp -o gpu.o
    gput.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/devkitPro/FBI/citrus/build/gput.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/devkitPro/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/devkitPro/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/devkitPro/FBI/citrus/source/citrus/gput.cpp -o gput.o
    hid.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/devkitPro/FBI/citrus/build/hid.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/devkitPro/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/devkitPro/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/devkitPro/FBI/citrus/source/citrus/hid.cpp -o hid.o
    ir.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/devkitPro/FBI/citrus/build/ir.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/devkitPro/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/devkitPro/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/devkitPro/FBI/citrus/source/citrus/ir.cpp -o ir.o
    news.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/devkitPro/FBI/citrus/build/news.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/devkitPro/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/devkitPro/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/devkitPro/FBI/citrus/source/citrus/news.cpp -o news.o
    nor.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/devkitPro/FBI/citrus/build/nor.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/devkitPro/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/devkitPro/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/devkitPro/FBI/citrus/source/citrus/nor.cpp -o nor.o
    snd.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/devkitPro/FBI/citrus/build/snd.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/devkitPro/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/devkitPro/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/devkitPro/FBI/citrus/source/citrus/snd.cpp -o snd.o
    soc.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/devkitPro/FBI/citrus/build/soc.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/devkitPro/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/devkitPro/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/devkitPro/FBI/citrus/source/citrus/soc.cpp -o soc.o
    utf.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/devkitPro/FBI/citrus/build/utf.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/devkitPro/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/devkitPro/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/devkitPro/FBI/citrus/source/citrus/utf.cpp -o utf.o
    wifi.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/devkitPro/FBI/citrus/build/wifi.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/devkitPro/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/devkitPro/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/devkitPro/FBI/citrus/source/citrus/wifi.cpp -o wifi.o
    khaxinit.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/devkitPro/FBI/citrus/build/khaxinit.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/devkitPro/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/devkitPro/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/devkitPro/FBI/citrus/source/libkhax/khaxinit.cpp -o khaxinit.o
    svchax.c
    arm-none-eabi-gcc -MMD -MP -MF /c/devkitPro/FBI/citrus/build/svchax.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/devkitPro/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/devkitPro/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -std=gnu99 -c /c/devkitPro/FBI/citrus/source/libkhax/svchax.c -o svchax.o
    libcitrus.a
    arm-none-eabi-gcc-ar -rc /c/devkitPro/FBI/citrus/lib/libcitrus.a citrus_default_font.bin.o citrus_default_shader.shbin.o app.o battery.o core.o err.o fs.o gpu.o gput.o hid.o ir.o news.o nor.o snd.o soc.o utf.o wifi.o khaxinit.o svchax.o
    mkdir -p /c/devkitPro/citrus
    bzip2 -cd citrus.tar.bz2 | tar -x -C /c/devkitPro/citrus
    
    C:\devkitPro\FBI\citrus>cd ..
    
    C:\devkitPro\FBI>make
    khaxinit.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/devkitPro/FBI/build/khaxinit.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/devkitPro/FBI/source -I/c/devkitPro/FBI/include -I/c/devkitPro/citrus/include -I/c/devkitPro/portlibs/armv6k/include -I/c/devkitPro/portlibs/3ds/include -I/c/devkitPro/libctru/include -I./lib/include -I/c/devkitPro/FBI/build -DARM11 -D_3DS -DVERSION_STRING="\"svchax\"" -std=gnu++11 -fno-rtti -fno-exceptions -c /c/devkitPro/FBI/source/libkhax/khaxinit.cpp -o khaxinit.o
    main.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/devkitPro/FBI/build/main.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/devkitPro/FBI/source -I/c/devkitPro/FBI/include -I/c/devkitPro/citrus/include -I/c/devkitPro/portlibs/armv6k/include -I/c/devkitPro/portlibs/3ds/include -I/c/devkitPro/libctru/include -I./lib/include -I/c/devkitPro/FBI/build -DARM11 -D_3DS -DVERSION_STRING="\"svchax\"" -std=gnu++11 -fno-rtti -fno-exceptions -c /c/devkitPro/FBI/source/main.cpp -o main.o
    ui.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/devkitPro/FBI/build/ui.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/devkitPro/FBI/source -I/c/devkitPro/FBI/include -I/c/devkitPro/citrus/include -I/c/devkitPro/portlibs/armv6k/include -I/c/devkitPro/portlibs/3ds/include -I/c/devkitPro/libctru/include -I./lib/include -I/c/devkitPro/FBI/build -DARM11 -D_3DS -DVERSION_STRING="\"svchax\"" -std=gnu++11 -fno-rtti -fno-exceptions -c /c/devkitPro/FBI/source/ui.cpp -o ui.o
    linking FBI.elf
    main.o: In function `onProgress(unsigned long long, unsigned long long)':
    c:/devkitPro/FBI/source/main.cpp:44: multiple definition of `onProgress(unsigned long long, unsigned long long)'
    main.o:c:/devkitPro/FBI/source/main.cpp:44: first defined here
    main.o: In function `networkInstall()':
    c:/devkitPro/FBI/source/main.cpp:59: multiple definition of `networkInstall()'
    main.o:c:/devkitPro/FBI/source/main.cpp:59: first defined here
    main.o: In function `installROP()':
    c:/devkitPro/FBI/source/main.cpp:106: multiple definition of `installROP()'
    main.o:c:/devkitPro/FBI/source/main.cpp:106: first defined here
    main.o: In function `installCIA(ctr::fs::MediaType, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, int)':
    c:/devkitPro/FBI/source/main.cpp:174: multiple definition of `installCIA(ctr::fs::MediaType, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, int)'
    main.o:c:/devkitPro/FBI/source/main.cpp:174: first defined here
    main.o: In function `deleteCIA(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, int)':
    c:/devkitPro/FBI/source/main.cpp:260: multiple definition of `deleteCIA(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, int)'
    main.o:c:/devkitPro/FBI/source/main.cpp:260: first defined here
    main.o: In function `deleteTitle(ctr::app::App)':
    c:/devkitPro/FBI/source/main.cpp:285: multiple definition of `deleteTitle(ctr::app::App)'
    main.o:c:/devkitPro/FBI/source/main.cpp:285: first defined here
    main.o: In function `launchTitle(ctr::app::App)':
    c:/devkitPro/FBI/source/main.cpp:301: multiple definition of `launchTitle(ctr::app::App)'
    main.o:c:/devkitPro/FBI/source/main.cpp:301: first defined here
    main.o: In function `onLoop()':
    c:/devkitPro/FBI/source/main.cpp:317: multiple definition of `onLoop()'
    main.o:c:/devkitPro/FBI/source/main.cpp:317: first defined here
    main.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_data(char*)':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1734: multiple definition of `main'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1734: first defined here
    main.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_data(char*)':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1734: multiple definition of `installInfo[abi:cxx11]'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1734: first defined here
    main.o: In function `__gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::deallocate(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, unsigned int)':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1742: multiple definition of `prevProgress'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1742: first defined here
    main.o: In function `std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::size() const':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: multiple definition of `mode'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: first defined here
    main.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Alloc_hider::_Alloc_hider(char*, std::allocator<char> const&)':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: multiple definition of `destination'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: first defined here
    main.o: In function `std::_Function_base::_Base_manager<bool (*)(unsigned long long, unsigned long long)>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation)':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: multiple definition of `freeSpace'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: first defined here
    main.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_data(char*)':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1734: multiple definition of `showNetworkPrompts'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1734: first defined here
    main.o: In function `std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::~vector()':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: multiple definition of `exit'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: first defined here
    main.o: In function `std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::~vector()':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: multiple definition of `extensions[abi:cxx11]'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: first defined here
    main.o: In function `std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::~vector()':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: multiple definition of `rops'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: first defined here
    main.o: In function `std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_deallocate(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, unsigned int)':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: multiple definition of `ropNames'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: first defined here
    collect2.exe: error: ld returned 1 exit status
    make[1]: *** [/c/devkitPro/FBI/output/FBI.elf] Error 1
    make: *** [build] Error 2
    
    C:\devkitPro\FBI>
     
  4. zoogie

    zoogie simple pimp tool

    Member
    6,576
    8,476
    Nov 30, 2014
    United States
    That's weird. One thing that could be an issue is that your FBI is in the same directory as devkitpro's libraries. It's never a good idea to put your projects inside devkitpro.
     
  5. leerz
    OP

    leerz GBAtemp Advanced Fan

    Member
    538
    135
    Jan 11, 2015
    Makati
    just tried that now, moved from devkitpro folder to c\3dsprojects\fbi
    i deleted the build folder for both citrus and fbi

    Code:
    
    C:\3dsprojects\FBI>cd citrus
    
    C:\3dsprojects\FBI\citrus>make
    citrus_default_font.bin
    citrus_default_shader.pica
    app.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/3dsprojects/FBI/citrus/build/app.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/3dsprojects/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/3dsprojects/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/3dsprojects/FBI/citrus/source/citrus/app.cpp -o app.o
    battery.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/3dsprojects/FBI/citrus/build/battery.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/3dsprojects/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/3dsprojects/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/3dsprojects/FBI/citrus/source/citrus/battery.cpp -o battery.o
    core.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/3dsprojects/FBI/citrus/build/core.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/3dsprojects/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/3dsprojects/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/3dsprojects/FBI/citrus/source/citrus/core.cpp -o core.o
    err.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/3dsprojects/FBI/citrus/build/err.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/3dsprojects/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/3dsprojects/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/3dsprojects/FBI/citrus/source/citrus/err.cpp -o err.o
    fs.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/3dsprojects/FBI/citrus/build/fs.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/3dsprojects/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/3dsprojects/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/3dsprojects/FBI/citrus/source/citrus/fs.cpp -o fs.o
    gpu.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/3dsprojects/FBI/citrus/build/gpu.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/3dsprojects/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/3dsprojects/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/3dsprojects/FBI/citrus/source/citrus/gpu.cpp -o gpu.o
    gput.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/3dsprojects/FBI/citrus/build/gput.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/3dsprojects/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/3dsprojects/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/3dsprojects/FBI/citrus/source/citrus/gput.cpp -o gput.o
    hid.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/3dsprojects/FBI/citrus/build/hid.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/3dsprojects/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/3dsprojects/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/3dsprojects/FBI/citrus/source/citrus/hid.cpp -o hid.o
    ir.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/3dsprojects/FBI/citrus/build/ir.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/3dsprojects/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/3dsprojects/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/3dsprojects/FBI/citrus/source/citrus/ir.cpp -o ir.o
    news.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/3dsprojects/FBI/citrus/build/news.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/3dsprojects/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/3dsprojects/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/3dsprojects/FBI/citrus/source/citrus/news.cpp -o news.o
    nor.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/3dsprojects/FBI/citrus/build/nor.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/3dsprojects/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/3dsprojects/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/3dsprojects/FBI/citrus/source/citrus/nor.cpp -o nor.o
    snd.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/3dsprojects/FBI/citrus/build/snd.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/3dsprojects/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/3dsprojects/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/3dsprojects/FBI/citrus/source/citrus/snd.cpp -o snd.o
    soc.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/3dsprojects/FBI/citrus/build/soc.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/3dsprojects/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/3dsprojects/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/3dsprojects/FBI/citrus/source/citrus/soc.cpp -o soc.o
    utf.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/3dsprojects/FBI/citrus/build/utf.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/3dsprojects/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/3dsprojects/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/3dsprojects/FBI/citrus/source/citrus/utf.cpp -o utf.o
    wifi.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/3dsprojects/FBI/citrus/build/wifi.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/3dsprojects/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/3dsprojects/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/3dsprojects/FBI/citrus/source/citrus/wifi.cpp -o wifi.o
    khaxinit.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/3dsprojects/FBI/citrus/build/khaxinit.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/3dsprojects/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/3dsprojects/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /c/3dsprojects/FBI/citrus/source/libkhax/khaxinit.cpp -o khaxinit.o
    svchax.c
    arm-none-eabi-gcc -MMD -MP -MF /c/3dsprojects/FBI/citrus/build/svchax.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/3dsprojects/FBI/citrus/include -I/c/devkitPro/libctru/include -I/c/3dsprojects/FBI/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -std=gnu99 -c /c/3dsprojects/FBI/citrus/source/libkhax/svchax.c -o svchax.o
    libcitrus.a
    arm-none-eabi-gcc-ar -rc /c/3dsprojects/FBI/citrus/lib/libcitrus.a citrus_default_font.bin.o citrus_default_shader.shbin.o app.o battery.o core.o err.o fs.o gpu.o gput.o hid.o ir.o news.o nor.o snd.o soc.o utf.o wifi.o khaxinit.o svchax.o
    
    C:\3dsprojects\FBI\citrus>cd ..
    
    C:\3dsprojects\FBI>make
    khaxinit.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/3dsprojects/FBI/build/khaxinit.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/3dsprojects/FBI/source -I/c/3dsprojects/FBI/include -I/c/devkitPro/citrus/include -I/c/devkitPro/portlibs/armv6k/include -I/c/devkitPro/portlibs/3ds/include -I/c/devkitPro/libctru/include -I./lib/include -I/c/3dsprojects/FBI/build -DARM11 -D_3DS -DVERSION_STRING="\"svchax\"" -std=gnu++11 -fno-rtti -fno-exceptions -c /c/3dsprojects/FBI/source/libkhax/khaxinit.cpp -o khaxinit.o
    main.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/3dsprojects/FBI/build/main.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/3dsprojects/FBI/source -I/c/3dsprojects/FBI/include -I/c/devkitPro/citrus/include -I/c/devkitPro/portlibs/armv6k/include -I/c/devkitPro/portlibs/3ds/include -I/c/devkitPro/libctru/include -I./lib/include -I/c/3dsprojects/FBI/build -DARM11 -D_3DS -DVERSION_STRING="\"svchax\"" -std=gnu++11 -fno-rtti -fno-exceptions -c /c/3dsprojects/FBI/source/main.cpp -o main.o
    ui.cpp
    arm-none-eabi-g++ -MMD -MP -MF /c/3dsprojects/FBI/build/ui.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/3dsprojects/FBI/source -I/c/3dsprojects/FBI/include -I/c/devkitPro/citrus/include -I/c/devkitPro/portlibs/armv6k/include -I/c/devkitPro/portlibs/3ds/include -I/c/devkitPro/libctru/include -I./lib/include -I/c/3dsprojects/FBI/build -DARM11 -D_3DS -DVERSION_STRING="\"svchax\"" -std=gnu++11 -fno-rtti -fno-exceptions -c /c/3dsprojects/FBI/source/ui.cpp -o ui.o
    linking FBI.elf
    main.o: In function `onProgress(unsigned long long, unsigned long long)':
    c:/3dsprojects/FBI/source/main.cpp:44: multiple definition of `onProgress(unsigned long long, unsigned long long)'
    main.o:c:/3dsprojects/FBI/source/main.cpp:44: first defined here
    main.o: In function `networkInstall()':
    c:/3dsprojects/FBI/source/main.cpp:59: multiple definition of `networkInstall()'
    main.o:c:/3dsprojects/FBI/source/main.cpp:59: first defined here
    main.o: In function `installROP()':
    c:/3dsprojects/FBI/source/main.cpp:106: multiple definition of `installROP()'
    main.o:c:/3dsprojects/FBI/source/main.cpp:106: first defined here
    main.o: In function `installCIA(ctr::fs::MediaType, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, int)':
    c:/3dsprojects/FBI/source/main.cpp:174: multiple definition of `installCIA(ctr::fs::MediaType, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, int)'
    main.o:c:/3dsprojects/FBI/source/main.cpp:174: first defined here
    main.o: In function `deleteCIA(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, int)':
    c:/3dsprojects/FBI/source/main.cpp:260: multiple definition of `deleteCIA(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, int)'
    main.o:c:/3dsprojects/FBI/source/main.cpp:260: first defined here
    main.o: In function `deleteTitle(ctr::app::App)':
    c:/3dsprojects/FBI/source/main.cpp:285: multiple definition of `deleteTitle(ctr::app::App)'
    main.o:c:/3dsprojects/FBI/source/main.cpp:285: first defined here
    main.o: In function `launchTitle(ctr::app::App)':
    c:/3dsprojects/FBI/source/main.cpp:301: multiple definition of `launchTitle(ctr::app::App)'
    main.o:c:/3dsprojects/FBI/source/main.cpp:301: first defined here
    main.o: In function `onLoop()':
    c:/3dsprojects/FBI/source/main.cpp:317: multiple definition of `onLoop()'
    main.o:c:/3dsprojects/FBI/source/main.cpp:317: first defined here
    main.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_data(char*)':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1734: multiple definition of `main'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1734: first defined here
    main.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_data(char*)':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1734: multiple definition of `installInfo[abi:cxx11]'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1734: first defined here
    main.o: In function `__gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::deallocate(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, unsigned int)':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1742: multiple definition of `prevProgress'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1742: first defined here
    main.o: In function `std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::size() const':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: multiple definition of `mode'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: first defined here
    main.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Alloc_hider::_Alloc_hider(char*, std::allocator<char> const&)':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: multiple definition of `destination'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: first defined here
    main.o: In function `std::_Function_base::_Base_manager<bool (*)(unsigned long long, unsigned long long)>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation)':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: multiple definition of `freeSpace'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: first defined here
    main.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_data(char*)':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1734: multiple definition of `showNetworkPrompts'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1734: first defined here
    main.o: In function `std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::~vector()':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: multiple definition of `exit'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: first defined here
    main.o: In function `std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::~vector()':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: multiple definition of `extensions[abi:cxx11]'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: first defined here
    main.o: In function `std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::~vector()':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: multiple definition of `rops'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: first defined here
    main.o: In function `std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_deallocate(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, unsigned int)':
    c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: multiple definition of `ropNames'
    main.o:c:\devkitpro\devkitarm\arm-none-eabi\include\c++\5.3.0/functional:1754: first defined here
    collect2.exe: error: ld returned 1 exit status
    make[1]: *** [/c/3dsprojects/FBI/output/FBI.elf] Error 1
    make: *** [build] Error 2
    
    C:\3dsprojects\FBI>
     
  6. zoogie

    zoogie simple pimp tool

    Member
    6,576
    8,476
    Nov 30, 2014
    United States
    I downloaded my posted FBI and compiled with no issue. Try this, delete the citrus folder inside devkitpro then run the make install again inside the included citrus. Then make FBI and see if the same issue persists.
     
  7. leerz
    OP

    leerz GBAtemp Advanced Fan

    Member
    538
    135
    Jan 11, 2015
    Makati
    i tried both make install and just make
    this is awfully weird,
    rd citrus from devkitpro folder
    rd build in citrus
    rd build in fbi


    make citrus
    make fbi (buildtools cannot be found / it references on the citrus devkit folder)

    so i ran

    make install on citrus
    then make fbi

    same problem with the elf output


    ---i'll retry again with a fresh devkitpro
    do i need the libctru from steveice?
     
    Last edited by leerz, Mar 14, 2016
  8. zoogie

    zoogie simple pimp tool

    Member
    6,576
    8,476
    Nov 30, 2014
    United States
    If you're building the FBI I posted, you can use the regular libctru.
     
  9. leerz
    OP

    leerz GBAtemp Advanced Fan

    Member
    538
    135
    Jan 11, 2015
    Makati
    same thing, maybe it is because of the modules i downloaded?
     
  10. leerz
    OP

    leerz GBAtemp Advanced Fan

    Member
    538
    135
    Jan 11, 2015
    Makati
    up on this, what else can i try?