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: Makefile mess-up (in QTFileLib)



The excerpt presented is what Buildit generates.  It appears that the
gnu-based ld doesn't care while ld's from other OS' do care.  Here, for
example is what is in the lib as the Buildit script generates:

Copy/paste from my emacs buffer:
Buffers Files Tools Edit Search Mule Help
^@^A^B^@^@\200^@^@^@^A^B^@^@\210^@^@^@^A^B^@^@\214^@^@^@^A^B^@^@\220^@^@^@^A
^B^@^@\23\
0^@^@^@^A^B^@^@\234^@^@^@^A^B^@^@
^@^@^@^A^B^@^@(^@^@^@^A^B^@^@,^@^@^@^A^B^@^@0^@^@^@\
^A^B^@^@^L^@^@^@^A'^@^@
^@^@^@^A^B^@^@L^@^@^@^A^B^@^@t^@^@^@^A^B^@^@?^@^@^A^B^@^@^L\
^A^@^@^A^B^@^@,^A^@^@^A^T^@^@P^A^@^@^A^U^@^@t^A^@^@^A^V^@^@\220^A^@^@^A^W^@^
@,^A^@^@^\
A^Z^@^@?A^@^@^A^[^@^@?^@^@^A^\^@^@^L^B^@^@^A^]^@^@(^B^@^@^A^^^@^@D^B^@^@^A^_
^@^@h^\
B^@^@^A 
^@^@\220^B^@^@^A!^@^@0^B^@^@^A"^@^@?B^@^@^A#^@^@?^@^@^A$^@^@^D^C^@^@^A%^@^\
@ ^C^@^@^A&^@^@<^C^@^@^A^B^@^@d^C^@^@^A^B^@^@/28             1020480591  500
500   \
100664  3818      `
/*
 *
 * @APPLE_LICENSE_HEADER_START@
 *
 * Copyright (c) 1999-2001 Apple Computer, Inc.  All Rights Reserved. The
 * contents of this file constitute Original Code as defined in and are
 * subject to the Apple Public Source License Version 1.2 (the 'License').
 * You may not use this file except in compliance with the License.  Please
 * obtain a copy of the License at http://www.apple.com/publicsource and
 * read it before using this file.
 *
 * This Original Code and all software distributed under the License are
 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS
 * FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.  Please
 * see the License for the specific language governing rights and
 * limitations under the License.
 *
 *
 * @APPLE_LICENSE_HEADER_END@
 *
 */
/*
    File:       InternalStdLib.cpp

    Contains:   Thread safe std lib calls for internal modules and apps


*/


#include <stdlib.h>
...

on 10/4/02 4:08 AM, john at email@hidden wrote:

> Peter,
> 
> It looks like you are not running the "Buildit" script within the top
> directory of the source.  I am wondering if you started out on OS X and
> was mislead by a reference to "make" in the developer documentation.
> The build instructions are in the DevNotes.html file in the
> Documentation directory.  Typing make -f Makefile.POSIX on any of the
> Makefile.POSIX files in the source tree will always fail with many
> errors including the one you reported.
> 
> Below is the text of the build instructions that comes with the source:
> 
> "Building
> 
> If you downloaded a binary package of Darwin Streaming Server, skip to
> the next section on installation.
> 
> To build Darwin Streaming Server on Mac OS X run ProjectBuilder or type
> "make" from within the DarwinStreamingServer directory. This will build
> all of the targets.
> 
> To build Darwin Streaming Server on other UNIX platforms, type
> ./Buildit from within the DarwinStreamingServer directory. The script
> determines the current OS and hardware platform, and builds all of the
> targets for that platform: DarwinStreamingServer, PlaylistBroadcaster,
> qtpasswd, and dynamic modules included in the "APIModules" folder."
> 
> So the part about typing "make" on OS X is incorrect.  I believe you
> are using the latest cvs code, so in that case, Buildit should work on
> all platforms including OS X.  OS X has the ProjectBuilder tool so you
> can use it and the project file StreamingServer.pbproj if you want to
> use a gui. However, any of these command-line build instructions will
> work on OS X v10.2: "./Buildit", or "./Buildit all", or "pbxbuild", or
> "pbxbuild -target QTSSAll".
> 
> john
> 
> On Wednesday, October 2, 2002, at 09:53 AM, Peter Eisch wrote:
> 
>> Will someone with cvs commit capability please work around this:
>> 
>>> ar -r libQTFileExternalLib.a  QTAtom.xo QTAtom_dref.xo QTAtom_elst.xo
>>> \
>>>     QTAtom_hinf.xo QTAtom_mdhd.xo QTAtom_mvhd.xo QTAtom_stco.xo \
>>>     QTAtom_stsc.xo QTAtom_stsd.xo QTAtom_stss.xo QTAtom_stsz.xo \
>>>     QTAtom_stts.xo QTAtom_tkhd.xo QTAtom_tref.xo QTFile.xo \
>>>     QTFile_FileControlBlock.xo QTHintTrack.xo QTRTPFile.xo QTTrack.xo
>>> \
>>>     ../SafeStdLib/InternalStdLib.cpp ../SafeStdLib/InternalStdLib.xo
>>       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> _______________________________________________
> streaming-server-developers mailing list |
> email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/streaming-server-developers
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
streaming-server-developers mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/streaming-server-developers
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Makefile mess-up (in QTFileLib) (From: john <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.