Comments (7)
[ 70%] Building C object src/CMakeFiles/vita-elf-create.dir/elf-create-argp.c.o
[ 73%] Building C object src/CMakeFiles/vita-elf-create.dir/vita-elf.c.o
/userdev/vita/vitasdkcompile/buildscripts/build/vita-toolchain_build-prefix/src/vita-toolchain_build/src/vita-elf.c:505:91: error:
use of undeclared identifier 'MAP_NORESERVE'
...PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESER... ^
1 error generated.
gmake[5]: *** [src/CMakeFiles/vita-elf-create.dir/build.make:111: src/CMakeFiles/vita-elf-create.dir/vita-elf.c.o] Error 1
gmake[4]: *** [CMakeFiles/Makefile2:292: src/CMakeFiles/vita-elf-create.dir/all] Error 2
gmake[3]: *** [Makefile:128: all] Error 2
gmake[2]: *** [CMakeFiles/vita-toolchain_build.dir/build.make:113: vita-toolchain_build-prefix/src/vita-toolchain_build-stamp/vita-toolchain_build-build] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:343: CMakeFiles/vita-toolchain_build.dir/all] Error 2
gmake: *** [Makefile:84: all] Error 2
from buildscripts.
Above I tried gmake because i
I thought that would work but it did not.
from buildscripts.
Also if I do not edit CMakeLists.txt and set the host and build to amd64 it wont work because otherwise it sets them to amd64-- and this error comes up when doing cmake ..
userdev/vita/vitasdkcompile/buildscripts/build # cmake ..
-- The C compiler identification is Clang 3.8.0
-- The CXX compiler identification is Clang 3.8.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/CC
-- Check for working CXX compiler: /usr/bin/CC -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/local/bin/git (found version "2.9.2")
FATALUnsupported system: FreeBSD
FATALUnsupported system: FreeBSD
-- Host: amd64--
-- Build: amd64--
-- Target: arm-vita-eabi
-- Configuring done
-- Generating done
-- Build files have been written to: /userdev/vita/vitasdkcompile/buildscripts/build
from buildscripts.
MAP_NORESERVE
is not supported by FreeBSD, try adding this code somewhere:
#ifndef MAP_NORESERVE
#define MAP_NORESERVE 0
#endif
from buildscripts.
I will try this later. The reason I wanted to compile is I could not use the one SDK which gets instaled on vitasdk.org
I got an error when compilig Vita Projects that GLIBC_2.14 was not found.
I was then hinted by an freebsd irc user to uninstall the port linux_base-c6 and instead install the port linux_base-c7 . Both of them emulate the linux environment ( if set up right 64 bit ).
Not I could compile it fine BUT I had to use gmake. make fails.
from buildscripts.
What I meant is : Now I could compile the projects with c7 installed.
from buildscripts.
This was fixed by vitasdk/vita-toolchain@25d343b and #44, although you still have to move libelf.h out of the way in /usr/include before you try to build, or else you'll wind up with a broken vita-elf-create.
from buildscripts.
Related Issues (20)
- multiple definition of `getcwd'
- build-toolchain fails to compile with clang on Mac OS X due to bracket depth HOT 2
- GCC 6 support HOT 5
- binutils bug 20595 HOT 5
- Improve build scripts HOT 3
- gcc6.patch (works for 7 too) HOT 2
- Bintrail not updated anymore HOT 1
- vita-elf-create assertion failure HOT 9
- Failed to build HOT 3
- Windows builds are missing libwinpthread-1.dll HOT 5
- Windows builds ICE when linking with LTO-enabled libvita2d
- sourceforge URLs should be changed HOT 1
- Fails to patch GCC HOT 4
- macOS: "libelf.h" is missing -- -isysroot issues HOT 2
- Keep winpthread sync with global package
- Provide pacman MSYS2/MinGW repository HOT 1
- Intermittent build errors with GDB
- HENkaku build failed under GCC10
- How to build a Docker image equivalent to vitasdk/vitasdk? HOT 3
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.