Comments (17)
What kind of error (building gcc,binutils,linking...) ?
from buildscripts.
Welp, I'm compiling on Ubuntu 15 x86_64 (to test compilation. Once I have managed successful compilation on this, I'll re-attempt on ARM. ARM devices take forever to compile this):
Here is my first error output:
source/xm.c:646:84: warning: multi-character character constant [-Wmultichar] if( read32() != 'etxE' || read32() != 'dedn' || read32() != 'doM ' || read32() != ':elu' || read8() != ' ' ) ^ gcc -o mmutil adpcm.o files.o gba.o it.o kiwi.o main.o mas.o mod.o msl.o nds.o s3m.o samplefix.o simple.o upload.o wav.o xm.o -lm make[1]: Entering directory '/home/lavanoid/Documents/buildscripts/.devkitARM/mmutil-1.8.6' test -z "/opt/devkitpro/devkitARM/bin" || /bin/mkdir -p "/opt/devkitpro/devkitARM/bin" /usr/bin/install -c mmutil '/opt/devkitpro/devkitARM/bin' make[1]: Nothing to be done for 'install-data-am'. make[1]: Leaving directory '/home/lavanoid/Documents/buildscripts/.devkitARM/mmutil-1.8.6' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether /usr/bin/make sets $(MAKE)... yes checking whether /usr/bin/make supports nested variables... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by /usr/bin/make... GNU checking dependency style of gcc... none checking for libusb_init in -lusb... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for USB... no configure: error: *** Required libusb-1.0 >= 1.0.0 not installed *** error configuring dfu-util-0.8.1.tar.bz2
from buildscripts.
Just installed libusb. Re-compiling
from buildscripts.
If you really, really followed those instructions then I highly recommend you format your system and reinstall it. Those are awful. You should never under any circumstances extract a random archive to / as root.
The instructions you should be following are in https://github.com/devkitPro/buildscripts/blob/master/README.TXT and you should use the released buildscripts rather than using the scripts from git. The scripts in git are often in progress to the next release and may require dependencies which currently only exist on developer machines.
Your current error is lack of libusb-dev.
from buildscripts.
I already have the mentioned packages installed, in the README.TXT. As for those archives mentioned in GBATemp, I'm not that idiotic and I haven't used them (although I have checked their contents).
Sorry for my ignorance but where is the released buildscripts?
from buildscripts.
http://sourceforge.net/projects/devkitpro/files/buildscripts/
from buildscripts.
Ah I see. Thank you, both!
from buildscripts.
New error:
make[1]: Entering directory '/home/lavanoid/Downloads/buildscripts/.devkitARM/dfu-util-0.8.1'
Making all in src
make[2]: Entering directory '/home/lavanoid/Downloads/buildscripts/.devkitARM/dfu-util-0.8.1/src'
CC main.o
In file included from main.c:34:0:
portable.h:17:17: fatal error: io.h: No such file or directory
compilation terminated.
Makefile:334: recipe for target 'main.o' failed
make[2]: *** [main.o] Error 1
make[2]: Leaving directory '/home/lavanoid/Downloads/buildscripts/.devkitARM/dfu-util-0.8.1/src'
Makefile:289: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/lavanoid/Downloads/buildscripts/.devkitARM/dfu-util-0.8.1'
Makefile:229: recipe for target 'all' failed
make: *** [all] Error 2
error building dfu-util-0.8.1
from buildscripts.
@lavanoid
dfu-util isn't necessary for 3DS, you can either ignore this for now & disable dfu-util building or use the patch from upstream. https://sourceforge.net/p/dfu-util/dfu-util/ci/861753401c3f6d4f2937294b5eb6133b0a583b0c/
@mariogamer2 please don't advise people by googling random headers.
from buildscripts.
https://gist.github.com/lavanoid/c5559e24d4c7f12174e6b6d2ef620334
Had to paste the error in a gist, since I'm on mobile and I have nooo idea what's the best way of using markup to show the error.
from buildscripts.
@lavanoid: As the error states, you need the makeinfo
program of the texinfo
package.
Executing # apt-get install texinfo
should make it available.
from buildscripts.
Ahh, sorry. I was half asleep when I read the error message (seems like I was so tired that I failed to recognise that part).
from buildscripts.
Installed the package "texinfo" but the same error still occurs.
Edit: This is being compiled within a Kali Nethunter CHROOT, on a HTC One M7.
from buildscripts.
Well, a changed root does not really care if you install packages on the host system.
May I ask what you are even trying to accomplish there?
from buildscripts.
Huh? Everything I'm doing is taking place in a CHROOT environment, since I can't exactly install packages into Android...
I installed everything within the CHROOT. Honestly your question has confused me... I installed the package within the Kali CHROOT.
from buildscripts.
My main goal is to be able to use the DKP toolchains from within the CHROOT, on a mobile device that has an ARMv7 SoC.
from buildscripts.
Is this still an issue or did you succeed in building?
from buildscripts.
Related Issues (20)
- The legal status of devkitARM's various crt0 files is unclear HOT 1
- GDB fails to build with Python 3.7 HOT 4
- when i install devkitA64,return 404 HOT 2
- bin2s doesn't replace dashes (and probably more stuff) with underscores
- 404 error when downloading gdb-8.2 HOT 6
- Fail to extract "-.tar" HOT 2
- Linux installation for user HOT 1
- Bug report link is broken HOT 1
- (please delete this issue) HOT 2
- (please delete this issue) HOT 2
- libnx 2.2.0 bz2 unavailable HOT 1
- Include rules in build HOT 3
- Fatal error: invalid -march= option: 'armv4t' HOT 3
- return value uninitialized in utimes HOT 1
- Latest devkitPPC GCC Regression HOT 9
- attempt to download binutils-2.34.tar.xz results in 404 HOT 4
- Missing source archives HOT 4
- buildscripts fail (404) requesting these files from download.devkitpro.org HOT 7
- ioctl missing from libsysbase HOT 17
- Some parts of the devkitARM build scripts assume /opt/devkitpro is the installation directory and fail to build if a different path is chosen HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from buildscripts.