At 04:08 PM 3/12/2007 -0700, Greg Roelofs wrote:
>> I did:
>
>> $ cp scripts/makefile.linux Makefile
>> $ vi Makefile
>
>You probably want to start with makefile.gcmmx if you're
going to use
>the MMX support. (If you don't want MMX support--which
wasn't thread-
>safe, last I checked--then you may need to define a
PNG_NO_ASM macro,
>or something like that. I'm not sure what the current
names are.
Use makefile.nommx
The 64-bit compilers won't assemble the MMX assembly code
properly.
>> ../libpng12.so: undefined reference to
`png_mmx_support'
>> collect2: ld returned 1 exit status
>> make: *** [pngtest] Error 1
>
>> I found a post on this mailing list saying to add
this line at the end of
>> the Makefile:
>> pnggccrd.o pnggccrd.pic.o: png.h pngconf.h
>
>> I tried that but still have the same error
message.
>
>You need to add the .o files to the relevant
dependency-lists of the
>libraries, too. Here you've said only that the object
files depend on
>the sources.
>
>Greg
>
>
Followups to png-mng-implement please.
Glenn
------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
png-mng-implement mailing list
png-mng-implement lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/png-m
ng-implement
|