Sponsored Content
Full Discussion: Wrong ELF class
Operating Systems Solaris Wrong ELF class Post 302643599 by q8devilish on Sunday 20th of May 2012 02:13:03 AM
Old 05-20-2012
Wrong ELF class

guys anyone knows a solution for this?
wrong ELF class: ELFCLASS64

Code:
pwrcard:cms-dev:/pcard16/pwrcard/src/interfaces/interface_host>isainfo -v
64-bit sparcv9 applications
        vis2 vis
32-bit sparc applications
        vis2 vis v8plus div32 mul32
pwrcard:cms-dev:/pcard16/pwrcard/src/interfaces/interface_host>uname -a
SunOS cms-dev 5.10 Generic_118833-24 sun4u sparc SUNW,Sun-Fire-V240
pwrcard:cms-dev:/pcard16/pwrcard/src/interfaces/interface_host>make -f Makefile
cc -D_REETRANT -g -lpthread  -lodm -lcfg -L/pcard16/pwrcard/usr/lib -lpthr -lqueue -ltools -lutils -lcomora -lpiso -lget -lprivtlv -lprocessing -lhsmtdes -lauthotlv -L/oracle/product/10g/lib -L/oracle/product/10g/lib -lclntsh -lphost -lnethost host_main.o host_ini.o host_params.o host_net_mng.o host_thread_adm.o host_process_adm.o host_services.o fct_shut_down.o host_thread_bal.o host_process_bal.o host_thread_line.o host_process_line.o host_thread_timeout.o host_process_timeout.o host_thread_saf.o host_process_saf.o host_manage_saf.o  host_thread_sig.o host_thread_ctl.o host_ftr_req.o host_ftr_rep.o host_aut_req.o host_aut_rep.o host_advice.o host_reversal.o -o HOST_BANK
ld: fatal: library -lodm: not found
ld: fatal: library -lcfg: not found
ld: fatal: file /oracle/product/10g/lib/libclntsh.so: wrong ELF class: ELFCLASS64
ld: fatal: file host_thread_sig.o: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to HOST_BANK
*** Error code 1
make: Fatal error: Command failed for target `HOST_BANK'
pwrcard:cms-dev:/pcard16/pwrcard/src/interfaces/interface_host>

 

10 More Discussions You Might Find Interesting

1. Solaris

wrong ELF class: ELFCLASS32 when trying to run ps as particular user

I get the following error when running /usr/bin/ps on Solaris 10 as a particular non-privileged user: ld.so.1: ps: fatal: /usr/dt/lib/libXm.so.3: wrong ELF class: ELFCLASS32 Killed However I can run /usr/bin/ps successfuly as root or as any other non-privileged user. What could it be about this... (5 Replies)
Discussion started by: aussieos
5 Replies

2. UNIX for Dummies Questions & Answers

car class (not school class)

im just trying to have some fun and kill some time writing a c++ program that has a person type in a car make and model then gives them a year and a price. or something like that. i always have problems getting it goin but once the ball is rolling im usually pretty good. anyone wanna help me out? ... (1 Reply)
Discussion started by: rickym2626
1 Replies

3. Programming

C++ class definition with a member of the same class

Hi, i have a question about C++. Is it possible to declare a class with a member ot the same class? For example, a linked list or i want to convert this C code to C++ class (Elemento) typedef struct elemento { char name; char value; List<struct elemento> ltElementos; ... (7 Replies)
Discussion started by: pogdorica
7 Replies

4. Solaris

Wrong ELF data format: ELFDATA2MSB at /usr/perl5/5.8.4/lib/i86pc-solaris-64int/DynaLoader.pm

We are trying to install our project on solaris 10 x86 machine. we are getting the following error. Can't load '/u01/apps/WatchMark/FlexPM//R39FOA1/sw/perl/lib/auto/DBI/DBI.so' for module DBI: ld.so.1: perl: fatal: /u01/apps/WatchMark/FlexPM//R39FOA1/sw/perl/lib/auto/DBI/DBI.so: wrong ELF data... (3 Replies)
Discussion started by: Jagandadi
3 Replies

5. Programming

static use for class inside the same class c++

Hi, I believe the next code is wrong: class Egg { Egg e; int i; Egg(int ii=0) : i(ii) {} }; because you would end up with an endless definition (memory allocation) of Egg objects, thus int i. Ok, so God Eckel proposes for a singleton: class Egg { static Egg e; int... (5 Replies)
Discussion started by: xavipoes
5 Replies

6. Shell Programming and Scripting

Why result is wrong here ? whether break statement is wrong ?

Hi ! all I am just trying to check range in my datafile pls tell me why its resulting wrong admin@IEEE:~/Desktop$ cat test.txt 0 28.4 5 28.4 10 28.4 15 28.5 20 28.5 25 28.6 30 28.6 35 28.7 40 28.7 45 28.7 50 28.8 55 28.8 60 28.8 65 28.1... (2 Replies)
Discussion started by: Akshay Hegde
2 Replies

7. UNIX for Advanced & Expert Users

Get pointer for existing device class (struct class) in Linux kernel module

Hi all! I am trying to register a device in an existing device class, but I am having trouble getting the pointer to an existing class. I can create a class in a module, get the pointer to it and then use it to register the device with: *cl = class_create(THIS_MODULE, className);... (0 Replies)
Discussion started by: hdaniel@ualg.pt
0 Replies

8. Programming

Size of Derived class, upon virtual base class inheritance

I have the two class definition as follows. class A { public: int a; }; class B : virtual public A{ }; The size of class A is shown as 4, and size of class B is shown as 16. Why is this effect ?. (2 Replies)
Discussion started by: techmonk
2 Replies

9. Programming

C++ : Base class member function not accessible from derived class

Hello All, I am a learner in C++. I was testing my inheritance knowledge with following piece of code. #include <iostream> using namespace std; class base { public : void display() { cout << "In base display()" << endl; } void display(int k) {... (2 Replies)
Discussion started by: anand.shah
2 Replies

10. Solaris

Install Apache 2.4.20 on Solaris 10 --- Error "ld: fatal: file ab.o: wrong ELF class: ELFCLASS32"

I am following the "Compilling and Installing" guide from Apache > HTTP Server > Documentation > Version 2.4 page The configure running OK: # export CC="gcc -m64" # ./configure \ --prefix=/usr/local/apache2/httpd-2.4.20 \ --with-port=80 \ --with-mpm=worker \ --enable-mods-shared=most \... (0 Replies)
Discussion started by: jhuang
0 Replies
CMS_add0_cert(3)						      OpenSSL							  CMS_add0_cert(3)

NAME
CMS_add0_cert, CMS_add1_cert, CMS_get1_certs, CMS_add0_crl, CMS_get1_crls, - CMS certificate and CRL utility functions SYNOPSIS
#include <openssl/cms.h> int CMS_add0_cert(CMS_ContentInfo *cms, X509 *cert); int CMS_add1_cert(CMS_ContentInfo *cms, X509 *cert); STACK_OF(X509) *CMS_get1_certs(CMS_ContentInfo *cms); int CMS_add0_crl(CMS_ContentInfo *cms, X509_CRL *crl); int CMS_add1_crl(CMS_ContentInfo *cms, X509_CRL *crl); STACK_OF(X509_CRL) *CMS_get1_crls(CMS_ContentInfo *cms); DESCRIPTION
CMS_add0_cert() and CMS_add1_cert() add certificate cert to cms. must be of type signed data or enveloped data. CMS_get1_certs() returns all certificates in cms. CMS_add0_crl() and CMS_add1_crl() add CRL crl to cms. CMS_get1_crls() returns any CRLs in cms. NOTES
The CMS_ContentInfo structure cms must be of type signed data or enveloped data or an error will be returned. For signed data certificates and CRLs are added to the certificates and crls fields of SignedData structure. For enveloped data they are added to OriginatorInfo. As the 0 implies CMS_add0_cert() adds cert internally to cms and it must not be freed up after the call as opposed to CMS_add1_cert() where cert must be freed up. The same certificate or CRL must not be added to the same cms structure more than once. RETURN VALUES
CMS_add0_cert(), CMS_add1_cert() and CMS_add0_crl() and CMS_add1_crl() return 1 for success and 0 for failure. CMS_get1_certs() and CMS_get1_crls() return the STACK of certificates or CRLs or NULL if there are none or an error occurs. The only error which will occur in practice is if the cms type is invalid. SEE ALSO
ERR_get_error(3), CMS_sign(3), CMS_encrypt(3) HISTORY
CMS_add0_cert(), CMS_add1_cert(), CMS_get1_certs(), CMS_add0_crl() and CMS_get1_crls() were all first added to OpenSSL 0.9.8 1.0.1e 2013-02-11 CMS_add0_cert(3)
All times are GMT -4. The time now is 01:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy