Homebrew make error

-LuCas-

Active Member
OP
Newcomer
Joined
Dec 6, 2014
Messages
34
Trophies
0
Age
27
XP
81
Country
Italy
I think it's a stupid question but I don't know how to fix this error. Anyone can help me please ?

Code:
main.c
arm-none-eabi-gcc -MMD -MP -MF /c/Users/-/Desktop/3ds-helloworld-master/build/main.d -g -Wall -O2 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=softfp -I/c/Users/-/Desktop/3ds/include -I/c/devkitPro/libctru/include -I/c/Users/-/Desktop/3ds/build -DARM11 -D_3DS -c /c/Users/-/Desktop/3ds/source/main.c -o main.o
linking 3ds.elf
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/4.9.2/../../../../arm-none-eabi/bin/ld.exe: cannot find 3dsx_crt0.o: No such file or directory
collect2.exe: error: ld returned 1 exit status
make[1]: *** [/c/Users/-/Desktop/3ds/3ds.elf] Error 1
"make": *** [build] Error 2
 

randomdev

Well-Known Member
Member
Joined
Jun 7, 2015
Messages
155
Trophies
0
XP
247
Country
Brazil
I have a make error when I try to compile a sample in c++, and I don't want to start a new thread;
here's the error:

Code:
arm-none-eabi-g++ -MMD -MP -MF /c/Users/user/Desktop/test/build/main.d -g -Wall
-O2 -mword-relocations -fomit-frame-pointer
-ffast-math -march=armv6k -mtune=mp core -mfloat-abi=hard
-I/c/Users/user/Desktop/test/include -I/c/devkitPro/portlibs/armv6k/include
-I/c/devkitPro/portlibs/3ds/include -I/c/devkitPro/libctru/include
-I/c/Users/user/Desktop/test/build -DARM11 -D_3DS -fno-rtti -fno-exceptions -std=gnu++11
-c /c/Users/user/Desktop/test/source/main.cpp -o main.o
linking test.elf
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/4.9.2/../../../../arm-none-e
abi/bin/ld.exe: cannot find -lz
collect2.exe: error: ld returned 1 exit status
make[1]: *** [/c/Users/user/Desktop/test/test.elf] Error 1
make: *** [build] Error 2

can anyone help me please ? thanks !
 

lolzvid

Well-Known Member
Member
Joined
Dec 26, 2014
Messages
148
Trophies
0
Age
23
XP
288
Country
Brazil
I have a make error when I try to compile a sample in c++, and I don't want to start a new thread;
here's the error:

Code:
arm-none-eabi-g++ -MMD -MP -MF /c/Users/user/Desktop/test/build/main.d -g -Wall
-O2 -mword-relocations -fomit-frame-pointer
-ffast-math -march=armv6k -mtune=mp core -mfloat-abi=hard
-I/c/Users/user/Desktop/test/include -I/c/devkitPro/portlibs/armv6k/include
-I/c/devkitPro/portlibs/3ds/include -I/c/devkitPro/libctru/include
-I/c/Users/user/Desktop/test/build -DARM11 -D_3DS -fno-rtti -fno-exceptions -std=gnu++11
-c /c/Users/user/Desktop/test/source/main.cpp -o main.o
linking test.elf
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/4.9.2/../../../../arm-none-e
abi/bin/ld.exe: cannot find -lz
collect2.exe: error: ld returned 1 exit status
make[1]: *** [/c/Users/user/Desktop/test/test.elf] Error 1
make: *** [build] Error 2

can anyone help me please ? thanks !
Seems like you have the same problem as OP.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • IAMXVII @ IAMXVII:
    I have my own copy of Monster Hunter G and there is an available english translation, but I want to know what is the current way to patch it, since I know Riivolution works mainly with physical discs and not wbfs, unless Im wrong
  • Skelletonike @ Skelletonike:
    No idea
  • Skelletonike @ Skelletonike:
    It's better to just ask in the forums
    +2
  • The Real Jdbye @ The Real Jdbye:
    @IAMXVII the patch is provided as an xdelta patch, you patch it with the xdelta patcher
  • The Real Jdbye @ The Real Jdbye:
    i don't know why people always think the shoutbox is the right place to ask hacking questions
    +1
  • IAMXVII @ IAMXVII:
    Well, what other chat should I go to?
  • IAMXVII @ IAMXVII:
    I made my account no more than 35 mins ago
  • IAMXVII @ IAMXVII:
    Save your elitism for some other wanker
  • IAMXVII @ IAMXVII:
    But regardless, thanks for the pointer
  • OctoAori20 @ OctoAori20:
    Hi hi
  • SylverReZ @ SylverReZ:
    Just post on the Wii section if this is what you're looking for. https://gbatemp.net/forums/nintendo-wii.105/

    This isn't a place like Reddit or Discord.
  • SylverReZ @ SylverReZ:
    The general chit-chat is usually for off-topic banter or what-have-you, and a lot of modding-related questions go unnoticed quite quickly due to other on-going talks.
  • Cranesbill @ Cranesbill:
    Hey guys quick question: How can there be handwriting's that "looks like a guys" and "looks like a girls" ?
  • OctoAori20 @ OctoAori20:
    Hrm... Idunno-
  • SylverReZ @ SylverReZ:
    @Cranesbill, Everybody's writing is unique, doesn't necessarily apply differently to gender.
  • SylverReZ @ SylverReZ:
    I write usually in curved and fancy, because this is how my family writes.
  • Cranesbill @ Cranesbill:
    Grammar doesn’t matter in this situation
  • The Real Jdbye @ The Real Jdbye:
    @IAMXVII mholdschool discord server, for one
  • Cranesbill @ Cranesbill:
    I’m saying like there was someone who wanted to know whose paper this was since there was no name and he said, “It’s probably a guy since it has a guy handwriting”
  • The Real Jdbye @ The Real Jdbye:
    which is probably where you found the patch
  • The Real Jdbye @ The Real Jdbye:
    wtf is "guy handwriting"
  • The Real Jdbye @ The Real Jdbye:
    @IAMXVII making a thread in the right section always gets better answers than the shoutbox
  • SylverReZ @ SylverReZ:
    @The Real Jdbye, Discord servers should never be a dumping ground, that results to gatekeeping and becoming lost forever.
  • Cranesbill @ Cranesbill:
    THATS WHAT IM FUCKING ASKINH HOLY SHIT
  • SylverReZ @ SylverReZ:
    @The Real Jdbye, "wtf is 'guy handwriting'?" - that's what I'm guessing.
    SylverReZ @ SylverReZ: @The Real Jdbye, "wtf is 'guy handwriting'?" - that's what I'm guessing.