Comments (12)
Looks to be the same issue as
http://code.google.com/p/iphone-dev/issues/detail?id=14&colspec=ID%20Type%20Stat
us%20Opsys%20Priority%20Owner%20Summary
Original comment by [email protected]
on 13 Sep 2007 at 5:24
from iphone-dev.
I've seen an error like this before, back before odcctools could compile on
linux.
Original comment by [email protected]
on 13 Sep 2007 at 5:26
from iphone-dev.
Try building in a 32 bit chroot, if the error stays, then its not related to
issue 14.
Original comment by [email protected]
on 13 Sep 2007 at 6:00
from iphone-dev.
Original comment by [email protected]
on 13 Sep 2007 at 5:05
- Added labels: OpSys-BSD
from iphone-dev.
I'm having trouble getting a 32 bit chroot going, but I have confirmed that all
of
the errors stem from unknown 64 bit types in /usr/include/sys/types.h.
Anything like
int64_t or uint64_t is throwing an error. I suspect it is the same thing as
issue 14.
I'll fight with chroot and see if I can get that going.
Original comment by [email protected]
on 13 Sep 2007 at 5:14
from iphone-dev.
Those 64-bit errors are a duplicate of issue 37. I'll take a look.
Original comment by [email protected]
on 15 Sep 2007 at 2:52
- Changed state: Accepted
from iphone-dev.
Hmmf, same problem on a pure, fresh install of i386 BSD. The specific error
changes
because many things that were defineed as int64_t on amd64 are int32_t on i386.
But
the same problems.
The issue seems to stem from conflicts between odcctools/include/i386/types.h
and
BSD's /usr/include/sys/types.h. I've tried just symlinking odcc's versions
back to
BSD's but that throws a million errors.
I'll switch to a 32 bit Linux tomorrow.
Original comment by [email protected]
on 15 Sep 2007 at 7:43
from iphone-dev.
Bah, screw it. I ended up picking up a mac mini just to be done with it. I do
still
have both freebsd amd64 and i386 around, so if you need any info from them I'm
happy
to help.
Thanks for all of your hard work!
Original comment by [email protected]
on 15 Sep 2007 at 8:30
from iphone-dev.
i also try to build it on a freebsd, and could get past the first 2 errors :
first i got this:
In file included from /usr/include/stdlib.h:42,
from ../../../odcctools/libstuff/allocate.c:30:
/usr/include/sys/_types.h:98: error: conflicting types for '__mbstate_t'
../../../odcctools/include/i386/_types.h:74: error: previous declaration of
'__mbstate_t' was here
This comes from a conflict between odcctools's mbstate_t type, and the bsd's
similarly named type. Could resolve it by renaming odcctools's type (as it
isn't used
outside the file)
that is, in
/usr/home/eino/iphone/toolchain/iphone-dev/odcctools/include/i386/_types.h :
on lines 74 and 75, changed mbstate_t to mbstate_t_ocdtools
New compilation brought the second problem:
In file included from ../../../odcctools/libstuff/allocate.c:30:
/usr/include/stdlib.h:53: error: syntax error before "size_t"
/usr/include/stdlib.h:89: error: syntax error before "size_t"
/usr/include/stdlib.h:90: error: syntax error before ')' token
...
This comes from diverse types (like __ssize_t) not defined in odcctools'
version of
machine/_types.h
I could bypass this by using BSD's version; that is, i renamed
_types.h to UNUSED_types.h
in directory
/usr/home/eino/iphone/toolchain/iphone-dev/odcctools/include/foreign/machine
Now, have an error about it not finding sys/appleapiopts.h. But i guess i have
to
link to xcode. I'll tell more when i can get further.
Original comment by [email protected]
on 19 Jan 2008 at 10:50
from iphone-dev.
hello, i have the same problems. I appreciate your work, good luck trying to
bring
it up on freebsd :)
Original comment by [email protected]
on 21 Jan 2008 at 12:55
from iphone-dev.
hi good morning.......
i am getting an error like
error: syntax error before "size_t"
error: syntax error before "size_t"
when i am writng an driver to open for a device rs-232...
the command was
int rs_open (strct file *filp, char *buf, size_t count, loff_t *t)
thanks in advance for any suggestiong......
Original comment by [email protected]
on 1 Feb 2008 at 4:29
from iphone-dev.
Isn't this because we in FreeBSD land are using a different include tree to you
in
Linux land? I had a very similar problem in Cinelerra, and fetching a Linux
include
tree from my Fedora 7 install seemed to work.
GCC is another matter, though...
Original comment by [email protected]
on 17 Mar 2008 at 8:50
from iphone-dev.
Related Issues (20)
- Impossible toolchain compilation on Linux HOT 2
- compilation failed HOT 1
- #error Add the correct JBLEN size for your target here HOT 3
- SJ99 - iPhone toolchain SDK v2.0.1, THE BEST SDK SUPPORT MAC OS 10.6.X
- A lot of warnings & errors on Ubuntu Lucid Lynx x86
- error building lvmm-gcc on Ubuntu HOT 1
- Good news to all toolchain users, one-key to install toolchain and no need to config anything! HOT 1
- gcc problems whith iphone-dev installlation on 64 bit gnu/linux (deb/deb based) HOT 1
- Make odcctools failed on MacOS10.6.3
- make LLVM-GCC error
- Can't Compile LLVM-SVN on Ubuntu 10.10 Maverick HOT 1
- native 64bit toolchain on linux HOT 10
- problems while performing 'make' HOT 2
- Can't compile llvm because it can't find lgcc_s HOT 1
- Error while running make ENABLE_OPTIMIZED=1
- compilation LLVM
- make odcctools failed due to error
- llvm-gcc-4.2-iphone: configure: error: You must specify valid path to your LLVM tree with --enable-llvm=DIR
- error building llvm HOT 1
- error Darwin CC Tools IPad 2 HOT 4
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 iphone-dev.