Homebrew make error

-LuCas-

Active Member
OP
Newcomer
Joined
Dec 6, 2014
Messages
34
Trophies
0
Age
26
XP
71
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
236
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.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Well start walking towards them +1