On Mon, 2007-10-01 at 10:22 +0200, Zvika Shaubi wrote:

> I tried to compile the new release of openHPI but for some reason I
> got an error (file in wrong format). Have you encounter such an error
> before?
> 
> I will try to move back to the previous release and see if it is
> something with the new release. Can you check it out or advice me what
> to fix/check?
> 
>  
> 
>  
> 
> gcc
> -shared  .libs/sahpi_enum_utils.o .libs/sahpiatca_enum_utils.o 
> .libs/sahpi_event_encode.o .libs/announcement_utils.o
> 
>  .libs/el_utils.o .libs/epath_utils.o .libs/rpt_utils.o 
> .libs/sahpi_event_utils.o .libs/sahpi_struct_utils.o .libs/sahpi
> 
> _time_utils.o .libs/uid_utils.o  -luuid /usr/lib/libltdl.so -L/lib64
> -lgthread-2.0 -lglib-2.0 -lm -lpthread  -pthread -p
> 
> thread -pthread -Wl,-soname -Wl,libopenhpiutils.so.2
> -o .libs/libopenhpiutils.so.2.10.0
> 
> /usr/lib/libltdl.so: could not read symbols: File in wrong format
> 
> collect2: ld returned 1 exit status

We have not seen that issue.  OpenHPI 2.10 seems to compile fine on an
x86-based system here, under Ubuntu and RHEL.  I also tried an older
ia64 platform running Debian Sarge, and it compiles there as well.

Renier found the following page which described similar symptoms:

  http://lists4.opensuse.org/opensuse-ia64/2004-12/msg00001.html

Is this your situation?  Does a manual compile while pointing to the
64-bit libs fix the error?  If so, it seems like you might have a
misconfigured 64bit system in which non-64bit libs are found first.

In any case, if you can't make any progress, please post what sort of
system you're using (type of architecture, OS distribution), and also
the output of ./configure for the compile.


-- 
Bryan Sutula <[EMAIL PROTECTED]>


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel

Reply via email to