POV-Ray : Newsgroups : povray.unofficial.patches : mlpov on linux Server Time
31 Oct 2024 21:27:24 EDT (-0400)
  mlpov on linux (Message 1 to 3 of 3)  
From: francesco
Subject: mlpov on linux
Date: 10 Feb 2003 11:50:04
Message: <web.3e47d7ee61c841ad3260406c0@news.povray.org>
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

From: Andreas Kreisig
Subject: Re: mlpov on linux
Date: 10 Feb 2003 12:22:43
Message: <3e47dfe3@news.povray.org>
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

From: Edward Coffey
Subject: Re: mlpov on linux
Date: 10 Feb 2003 20:03:37
Message: <3E484EE3.6000303@alphalink.com.au>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.