|
|
i'm trying to compile mlpov on Mandrake 9,0 (using gcc version 3.2, mlpov81
and povray source 3.5c) but i get this error message:
parstxtr.o: In function `Parse_Image(int)':
parstxtr.o(.text+0x4a7): undefined reference to
`Read_HDR_Image(Image_Struct*, char*)'
collect2: ld returned 1 exit status
make[1]: *** [povray] Error 1
make[1]: Leaving directory `/home/francesco/povray-3.50c/src'
make: *** [all-recursive] Error 1
has anyone succeeded? any tips?
thanks in advance
francesco
Post a reply to this message
|
|
|
|
francesco wrote:
> i'm trying to compile mlpov on Mandrake 9,0 (using gcc version 3.2,
> mlpov81 and povray source 3.5c) but i get this error message:
>
> parstxtr.o: In function `Parse_Image(int)':
> parstxtr.o(.text+0x4a7): undefined reference to
> `Read_HDR_Image(Image_Struct*, char*)'
> collect2: ld returned 1 exit status
> make[1]: *** [povray] Error 1
> make[1]: Leaving directory `/home/francesco/povray-3.50c/src'
> make: *** [all-recursive] Error 1
>
> has anyone succeeded? any tips?
> thanks in advance
> francesco
The same problem here. Unfortunately I haven't a clue how to avoid this
error. I asked Mael about this but he can't explain it either:
http://news.povray.org/povray.programming/29428/
Regards,
Andreas
PS: if you can compile it, please let me know.
--
http://www.render-zone.com
Post a reply to this message
|
|
|
|
francesco wrote:
> i'm trying to compile mlpov on Mandrake 9,0 (using gcc version 3.2, mlpov81
> and povray source 3.5c) but i get this error message:
>
> parstxtr.o: In function `Parse_Image(int)':
> parstxtr.o(.text+0x4a7): undefined reference to
> `Read_HDR_Image(Image_Struct*, char*)'
> collect2: ld returned 1 exit status
> make[1]: *** [povray] Error 1
> make[1]: Leaving directory `/home/francesco/povray-3.50c/src'
> make: *** [all-recursive] Error 1
It would be easier to diagnose if you included every line output back to
and including the command that is issuing the error (a line in make's
output that probably begins with 'gcc').
This is a linking error. Without seeing more of the error, and without
having the source in front of me I can only make the following guess:
Somewhere earlier in the compilation Read_HDR_Image(Image_Struct*,
char*) will have been defined in a file, and this file compiled into an
object file. The object file should appear in the gcc command that
produces the error. If it does not then there may be some problem with
the Makefile, you might try re-running the gcc command manually with the
particular object file manually added to the input list. If the file
does appear in the command then for some reason gcc is rejecting it or
can't find Read_HDR_Image(Image_Struct*, char*) in it.
Post a reply to this message
|
|