[vtkusers] Make Error

Mathieu Malaterre mathieu.malaterre at kitware.com
Tue Sep 21 10:43:03 EDT 2004


John-Edward,

	I quickly look at the CVS history and found that this line was changed :

http://public.kitware.com/cgi-bin/viewcvs.cgi/IO/vtkBMPReader.cxx?r1=1.44&r2=1.45

	Try applying this fix and let us know how it works.

HTH
Mathieu

John-Edward Kind wrote:
> Sorry to reply to myself but I don't think the CMakeError.log I included 
> is relavent.  I have solved that issue.  I hadn't copied the .h file to 
> all the places I thought I had.  I'm still getting the same 
> vtkBMPReader.cxx compile error though.
> 
> John
> 
> John-Edward Kind wrote:
> 
>> I think I may be having the same problem, certainly a related one. 
>> Assuming it si the same I have also noticed that a CMakeError.log is 
>> being generated which I have included.  I have found the source code 
>> for the prctl.h header on the internet and have tried putting it in 
>> all the various shared include directories and /sys directories and 
>> the problem is still being reported.
>> Hope someone can help with this
>> John
>>
>>
>> Darshan Pai wrote:
>>
>>> I tried to compile vtk 4.2 on Solaris 9 .
>>> Every thing was running good until it encountered an error trying to
>>> compile vtkBMPREADER.o
>>>
>>> this is the error /export/home/../VTK/IO/vtkBMPReader.cxx:569:   
>>> instantiated from here
>>> /export/home/../VTK/IO/vtkBMPReader.cxx:511: error: ISO C++ says that
>>> these are ambiguous, even though the worst conversion for the first is
>>> better than the worst conversion for the second:
>>>
>>>
>>> ANy help appreciated
>>> _______________________________________________
>>> This is the private VTK discussion list. Please keep messages 
>>> on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>>  
>>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> Determining if the include file sys/prctl.h exists failed with the 
>> following output:
>> Building object file CheckIncludeFile.o...
>> /sundisk1/winnie/bin/gcc -o CheckIncludeFile.o           
>> -I/sundisk7/john/VTK/CMakeTmp    -c 
>> /sundisk7/john/VTK/CMakeTmp/CheckIncludeFile.c
>> /sundisk7/john/VTK/CMakeTmp/CheckIncludeFile.c:1:23: sys/prctl.h: No 
>> such file or directory
>> make: *** [CheckIncludeFile.o] Error 1
>>
>>
>> Determining the endianes of the system passed. The system is big 
>> endianTest produced following output:
>> Building object file TestBigEndian.o...
>> /sundisk1/winnie/bin/gcc -o TestBigEndian.o           
>> -I/sundisk7/john/VTK/CMakeTmp    -c 
>> /sundisk1/winnie/share/CMake/Modules/TestBigEndian.c
>> Building executable /sundisk7/john/VTK/CMakeTmp/cmTryCompileExec...
>> /sundisk1/winnie/bin/gcc             -fPIC  TestBigEndian.o    -o 
>> /sundisk7/john/VTK/CMakeTmp/cmTryCompileExec 
>>
>> Determining if the function gethostbyname exists failed with the 
>> following output:
>> Building object file CheckFunctionExists.o...
>> /sundisk1/winnie/bin/gcc -o CheckFunctionExists.o          
>> -DCHECK_FUNCTION_EXISTS=gethostbyname -I/sundisk7/john/VTK/CMakeTmp    
>> -c /sundisk1/winnie/share/CMake/Modules/CheckFunctionExists.c
>> Building executable /sundisk7/john/VTK/CMakeTmp/cmTryCompileExec...
>> /sundisk1/winnie/bin/gcc            
>> -DCHECK_FUNCTION_EXISTS=gethostbyname -fPIC  CheckFunctionExists.o    
>> -o /sundisk7/john/VTK/CMakeTmp/cmTryCompileExec  Undefined            
>> first referenced
>> symbol                  in file
>> gethostbyname                       CheckFunctionExists.o
>> ld: fatal: Symbol referencing errors. No output written to 
>> /sundisk7/john/VTK/CMakeTmp/cmTryCompileExec
>> collect2: ld returned 1 exit status
>> make: *** [/sundisk7/john/VTK/CMakeTmp/cmTryCompileExec] Error 1
>>
>>
>> Determining if the function connect exists failed with the following 
>> output:
>> Building object file CheckFunctionExists.o...
>> /sundisk1/winnie/bin/gcc -o CheckFunctionExists.o          
>> -DCHECK_FUNCTION_EXISTS=connect -I/sundisk7/john/VTK/CMakeTmp    -c 
>> /sundisk1/winnie/share/CMake/Modules/CheckFunctionExists.c
>> Building executable /sundisk7/john/VTK/CMakeTmp/cmTryCompileExec...
>> /sundisk1/winnie/bin/gcc            -DCHECK_FUNCTION_EXISTS=connect 
>> -fPIC  CheckFunctionExists.o    -o 
>> /sundisk7/john/VTK/CMakeTmp/cmTryCompileExec  Undefined            
>> first referenced
>> symbol                  in file
>> connect                             CheckFunctionExists.o
>> ld: fatal: Symbol referencing errors. No output written to 
>> /sundisk7/john/VTK/CMakeTmp/cmTryCompileExec
>> collect2: ld returned 1 exit status
>> make: *** [/sundisk7/john/VTK/CMakeTmp/cmTryCompileExec] Error 1
>>
>>
>> Determining if the function pthread_create exists in the pthreads 
>> failed with the following output:
>> Building object file CheckFunctionExists.o...
>> /sundisk1/winnie/bin/gcc -o CheckFunctionExists.o          
>> -DCHECK_FUNCTION_EXISTS=pthread_create 
>> -I/sundisk7/john/VTK/CMakeTmp    -c 
>> /sundisk1/winnie/share/CMake/Modules/CheckFunctionExists.c
>> Building executable /sundisk7/john/VTK/CMakeTmp/cmTryCompileExec...
>> /sundisk1/winnie/bin/gcc            
>> -DCHECK_FUNCTION_EXISTS=pthread_create -fPIC  CheckFunctionExists.o    
>> -o /sundisk7/john/VTK/CMakeTmp/cmTryCompileExec  -lpthreads ld: fatal: 
>> library -lpthreads: not found
>> ld: fatal: File processing errors. No output written to 
>> /sundisk7/john/VTK/CMakeTmp/cmTryCompileExec
>> collect2: ld returned 1 exit status
>> make: *** [/sundisk7/john/VTK/CMakeTmp/cmTryCompileExec] Error 1
>>
>>
>> Determining if the include file strstrea.h exists failed with the 
>> following output:
>> Building object file CheckIncludeFile.o...
>> /sundisk1/winnie/bin/g++ -o CheckIncludeFile.o           
>> -I/sundisk7/john/VTK/CMakeTmp    -c 
>> /sundisk7/john/VTK/CMakeTmp/CheckIncludeFile.cxx
>> /sundisk7/john/VTK/CMakeTmp/CheckIncludeFile.cxx:1:22: strstrea.h: No 
>> such file or directory
>> make: *** [CheckIncludeFile.o] Error 1
>>
>>
>> Determining if the include file strstream.h exists failed with the 
>> following output:
>> Building object file CheckIncludeFile.o...
>> /sundisk1/winnie/bin/g++ -o CheckIncludeFile.o           
>> -I/sundisk7/john/VTK/CMakeTmp    -c 
>> /sundisk7/john/VTK/CMakeTmp/CheckIncludeFile.cxx
>> /sundisk7/john/VTK/CMakeTmp/CheckIncludeFile.cxx:1:23: strstream.h: No 
>> such file or directory
>> make: *** [CheckIncludeFile.o] Error 1
>>
>>
>>  
>>
> 
> 
> 
> _______________________________________________
> This is the private VTK discussion list. Please keep messages on-topic. 
> Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 






More information about the vtkusers mailing list