Homebrew make error

-LuCas-

Active Member
OP
Newcomer
Joined
Dec 6, 2014
Messages
34
Trophies
0
Age
25
XP
61
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
225
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
22
XP
278
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.
 
General chit-chat
Help Users
  • K3N1 @ K3N1:
    Ask @x65943 he's trained for that stuff
  • JuanMena @ JuanMena:
    Kissing random dudes choking in celery? Really? Need to study for that?
  • K3N1 @ K3N1:
    Yes it requires a degree
  • K3N1 @ K3N1:
    I could also yank out the rest of my teeth but theirs professionals for that
  • x65943 @ x65943:
    If your throat closes, putting oxygen in your mouth will not solve anything - as you will be introducing oxygen prior to the area of obstruction
  • JuanMena @ JuanMena:
    Just kiss me Kyle.
  • x65943 @ x65943:
    You either need to be intubated to bypass obstruction or create a stoma inferior to the the area of obstruction to survive
  • x65943 @ x65943:
    "Just kiss me Kyle." And I thought all the godreborn gay stuff was a smear campaign
  • JuanMena @ JuanMena:
    If I die, tell my momma I won't be carrying Baby Jesus this christmas :sad::cry:
  • K3N1 @ K3N1:
    Smear campaigns are in The political section now?
  • JuanMena @ JuanMena:
    Chary! Chary! Chary, Chary, Chary!
  • Sonic Angel Knight @ Sonic Angel Knight:
    Pork Provolone :P
  • Psionic Roshambo @ Psionic Roshambo:
    Sounds yummy
  • K3N1 @ K3N1:
    Sweet found my Wii u PSU right after I ordered a new one :tpi:
  • JuanMena @ JuanMena:
    It was waiting for you to order another one.
    Seems like, your PSU was waiting for a partner.
  • JuanMena @ JuanMena:
    Keep them both
    separated or you'll have more PSUs each year.
  • K3N1 @ K3N1:
    Well one you insert one PSU into the other one you get power
  • JuanMena @ JuanMena:
    It literally turns it on.
  • K3N1 @ K3N1:
    Yeah power supplies are filthy perverts
  • K3N1 @ K3N1:
    @Psionic Roshambo has a new friend
    +1
  • JuanMena @ JuanMena:
    It's Kyle, the guy that went to school to be a Certified man Kisser.
  • Psionic Roshambo @ Psionic Roshambo:
    Cartmans hand has taco flavored kisses
  • A @ abraarukuk:
    hi guys
    I @ Iron_Masuku: Hello