Closed GoogleCodeExporter closed 8 years ago
I've seen this issue as well on a Mac that I upgraded from Leopard to Snow
Leopard.
Here's how I fixed it:
$ cd /usr/libexec/gcc/
$ sudo ln -s i686-apple-darwin10 i686-apple-darwin9
I know this is bad but I don't know enough about how gcc works to figure out
what
the right thing is :-) And it worked again.
Can you test if this fixes the issue? If it doesn't you should probably delete
the
symlink you created.
Thanks for your help!
Original comment by ga...@google.com
on 6 Mar 2010 at 6:08
After make the link I have the issue no. 4
Tnx for your Help!
Original comment by soe...@gmail.com
on 6 Mar 2010 at 8:35
Issue 4 has been merged into this issue.
Original comment by gaborcse...@gmail.com
on 8 Mar 2010 at 7:12
soeste: Is this issue solved for you? Can you provide more info about what's
still
going wrong? A compiler error log would be super helpful
Thanks, Gabor
Original comment by gaborcse...@gmail.com
on 8 Mar 2010 at 7:15
Had the same problem. Had to perform a hacky workaround; but I actually have
something running in the simulator now.
1. cd
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.
sdk/usr/lib
(This is where crt1.10.5.o lives)
ln -s crt1.10.5.o crt1.10.6
2. Edit build-all-deps.sh so that it builds only 1 target. E.g. the relevant
lines
in mine look like this:
#PLATFORMS="iPhoneSimulator"
PLATFORMS="iPhoneSimulator iPhoneOS"
#CONFIGS="Release"
CONFIGS="Debug Release"
(This will build iPhoneSimulator Release)
3. Run build-all-deps.sh `pwd`/binaries
It fell over with some permission denied thing, but not before it built the
files I
needed!
4. Manually copy the files over.
cp -R binaries/Developer/Platforms/iPhoneSimulator.platform
../../mailcore/libetpan/binaries/Developer/Platforms
5. Build in XCode, and success, hopefully.
It's not pretty but it works. Will try and do a proper fix later, if no one's
beaten
me to it.
Nathanael
Original comment by beta...@gmail.com
on 10 Mar 2010 at 12:44
Oh PS, you should be building for Simulator 3.0 | Release.
Original comment by beta...@gmail.com
on 10 Mar 2010 at 12:46
I am also getting that problem. Waiting for a proper fix.
Original comment by patrick....@gmail.com
on 10 Mar 2010 at 1:46
Gabor: Could you probably post a full directory listing of *your* /mailcore/
folder?
I have a similar issue with "ld: library not found for -lsasl2" and probably
could figure out what's wrong, if I
could see what's good :-)
thx/pi
Original comment by pip...@gmail.com
on 10 Mar 2010 at 3:37
@piprog - Full listing is attached.
I generated this using the following commandline (the grep is to exclude
mercurial
files):
$ find . | grep -v .hg > mailcore_listing.txt
Gabor
Original comment by gaborcse...@gmail.com
on 10 Mar 2010 at 6:41
Attachments:
@Gabor: joy finally! I started from scratch and the current checkout worked
perfectly!
thx/pi
Original comment by pip...@gmail.com
on 11 Mar 2010 at 8:45
ld: library not found for -lcrypto
collect2: ld returned 1 exit status
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2
failed with exit code 1
not been able to compile for any platform using multiple grabs and sh files?
i'm on snow leopard.
any ideas?
cheers
Nik
Original comment by nik.bu...@gmail.com
on 21 Mar 2010 at 6:01
@nik.burns: Your issue is totally independent of this one. The lcrt error
referenced
here is a build problem in pull_dependencies, a missing lcrypto is when
building the
actual iPhone App.
Can you make a new bug for your issue?
Before you do that, can you make sure you're on the newest build? I just
checked in
something that might fix the problem you're seeing,
Finally, if you do open a new bug, can you include which configuration you're
trying
to build (e.g. Debug | iPhone Simulator 3.1.3)?
Thanks, Gabor
Original comment by ga...@google.com
on 22 Mar 2010 at 4:42
Original issue reported on code.google.com by
soe...@gmail.com
on 6 Mar 2010 at 5:39