[XviD-users] Building on an IMac Intel : SUCCESS
Tate Jones
tate at bluedog.com.au
Sun Feb 26 08:06:40 CET 2006
Resolved.
1. I added this to the SPECIFIC_LDFLAGS in the platform.inc file.
-read_only_relocs suppress
2. Added -DPREFIX to resolve the underscore _ in symbol files
AS=nasm
AFLAGS=-I$(<D)/ -f macho -DPREFIX
ASSEMBLY_EXTENSION=asm
3. Don't forget to add -f macho in the AFLAGS
On 26/02/2006, at 12:02 PM, pete wrote:
> On Wed, 22 Feb 2006 07:04:43 +1000 Tate Jones <tate at bluedog.com.au>
> wrote:
>> I continued further with the following error. Any ideas?
>>
>>
>> L: libxvidcore.a
>> ranlib: file: libxvidcore.a(timer.o) has no symbols
>> ranlib: file: libxvidcore.a(timer.o) has no symbols
>
> timer.c is used for profiling activities, and only contains symbols
> when
> PROFILING is defined.
>
> you should be able to ignore these warnings. if not, try removing the
> "utils/timer.c" entry from xvidcore/build/sources.inc.
>
>> L: libxvidcore.so.4
>> /usr/bin/ld: libxvidcore.so-temp.o has local relocation entries in
>> non-writable section (__TEXT,__text)
>> collect2: ld returned 1 exit status
>> make: *** [libxvidcore.so.4] Error 1
>
> hmm, can you provide some more information on the error, for example,
> which object file this error applies to (ie, enable "--verbose"
> with ld).
>
> -- pete
>
> _______________________________________________
> XviD-users mailing list
> XviD-users at xvid.org
> http://list.xvid.org/mailman/listinfo/xvid-users
More information about the XviD-users
mailing list