Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Build CentOS 4.4 x86_64 gcc-3.4.6 Fails.



> Subject: Build CentOS 4.4 x86_64 gcc-3.4.6 Fails.
> 
> I tried applying all the patches, yet still no success in the
> ./buildtarball script.
> 
> ./Buildit  runs and completes, for some reason ./buildtarball fails.
> 
> Server.tproj/main.cpp: In function `int main(int, char**)':
> Server.tproj/main.cpp:226: error: no match for 'operator=' in
> 'act.sigaction::sa_mask = 0'
> /usr/include/bits/sigset.h:29: note: candidates are: __sigset_t&
> __sigset_t::operator=(const __sigset_t&)
> Server.tproj/main.cpp:228: error: invalid conversion from `void
> (*)(...)' to `void (*)(int)'
> 
> 
> I updated the ./Buildit script to use the gcc Linker which helped
> complete the Buildit script successfully.
> 
> Any advice as to why I continue to get build errors would be appreciated.
> 
> I see many people have asked this question before me, however it's not
> so clear what solves this problem.
> 
> Thanks in advance for your help.
> 
> -Dee.
>  _______________________________________________


Here some tips:

1) Apply patch from here (for x86_64):
http://lists.apple.com/archives/streaming-server-users/2006/Mar/msg00323.htm
l

2) Install gcc 3 compat packages(CentOS compatible of course, the following
are for suse)?

compat-gcc-8-3.3.4.2.x86_64.rpm
compat-gcc-c++-8-3.3.4.2.x86_64.rpm
compat-libstdc++-8-3.3.4.2.x86_64.rpm
compat-libstdc++-devel-8-3.3.4.2.x86_64.rpm

3) In CommonUtilitiesLib/SocketUtils.h, change static void Initialize(Bool16
lookupDNSName = true);  to static void Initialize(Bool16 lookupDNSName =
false);



Report on success/failure.


Good Luck,
Leon Kolchinsky


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Streaming-server-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/streaming-server-dev/email@hidden

This email sent to email@hidden

References: 
 >Build CentOS 4.4 x86_64 gcc-3.4.6 Fails. (From: David Jedda <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.