Contact Us

Home > Error Undefined > Error Undefined Symbol .main Aix

Error Undefined Symbol .main Aix

ld: 0711-317 ERROR: Undefined symbol: .CORBA::ORB::decrrefcount() ld: 0711-317 ERROR: Undefined symbol: .CORBA::ORB::duplicate(CORBA::ORB*) ld: 0711-317 ERROR: Undefined symbol: .CORBA::Object::decrrefcount() ld: 0711-317 ERROR: Undefined symbol: .ACEOS::memset(void*,int,unsigned long) ld: 0711-317 ERROR: Undefined symbol: .CORBA::ORB::nil() Second example: --------------- cp foo.c foo.C g++ -c foo.C ar rs libfoo.a foo.C gcc main.c -L. -lfoo Now, I get this: ld: 0711-317 ERROR: Undefined symbol: At the moment i am still trying to compile a new gcc version and i will also look for some useful AIX linker flags, maybe it helps. The environment on our machine was messed up with some values from the old version 1.4. check over here

Forum Actions Marquer les forums comme lus Bugs & Suggestions Réseau social Groupes Liste des utilisateurs FAQ forum Voir l'équipe du site Blogs Agenda Règles Blogs Projets Recherche avancée Index du I believe it has to do something with Linking, but I cannot figure out what it is. > gcc -o EOD -I/opt/oracle/ora9i/precomp/public -I/opt/oracle/ora9i/rdbms/demo -I/opt/oracle/ora9i/rdbms/public -L. -L/opt/oracle/ora9i/lib32/ -lnsl -lclntsh -lgeneric9 ld: 0711-317 FILELIST: Number of previously inserted files processed: 5 (ld): resolve RESOLVE: 39 of 5644 symbols were kept. (ld): addgl /usr/lib/glink.o ADDGL: Gling code added for 4 symbols. The object files in essl did not have the underscore.

Bert Quote:Bert May 2nd 9:59 pmAlex, Can you check if sgesvd_ is actually in the essl library you are linking against (and if it has the underscore at the end)? It seems that OF-1.4.1-dev can not build the right paths in the dependency files. I compiled successfully the netcdf libraries following the instruction for 64-bit machines.

I compiled the code with this statement: > xlf90_r main.f90 -q64 -I/usr/local/include -L/usr/local/lib -lnetcdf > > I get this errors: > > ** main === End of Compilation 1 === > UPDATE!! Hot Network Questions How do I answer why I want to join a smaller company given I have worked at larger ones? base10 doesn't work How do you say "root beer"?

LIBRARY: Shared object libmpi_r.a[mpifort64_r.o]: 1580 symbols imported. Page 1 of 2 1 2 > LinkBack Thread Tools Display Modes November 24, 2007, 21:48 Hello, I got the following #1 matthias Member Matthias Walter Join Maybe Gary's on vacation ... > > Anyway, if you just go find all the posts that Gary's made in the last > 5 years to this newsgroup, and understand them, On Linux the link line is: -lclntst9 -lnsl -ldl -lm For Solaris, you need a few more libraries: -lclntst9 -lnsl -lsocket -lgen -ldl -laio -lkstat -lm Thanks to Josh Chu on

Browse other questions tagged c aix or ask your own question. I've added some extra text about Oracle's libclntst.a static library. The Solution Use GNU ld to prelink together all of the libraries and .o files produced by the GNU compiler with the -Ur flag to form a prelink file. -U is Perhaps someone with more experience with gcc/g++ on AIX can answer that question.

Follow Unidata Unidata Unidata is s a member of the UCAR Community Programs, managed by the University Corporation for Atmospheric Research, and funded by the National Science Foundation. TH Are "ŝati" and "plaĉi al" interchangeable? Can Communism become a stable economic strategy? Any help appreciated.

Applications like foamFlex++ are working without problems. Dans ton makefile, tu lui indiques qu'il y a une dependance sur libfichier.a, qu'il doit donc faire avant. Maintenant, le mieux serait que je puisse remplacer le -O (qui je crois ne sert pas trop) par le -c dont vous me parlez. share|improve this answer edited Oct 18 '11 at 18:24 answered Oct 18 '11 at 17:39 trojanfoe 91.6k11133169 Hi there, thanks for the tip....I will try that out tomorrow for

If you do not want to have your interactions made available in this way, you must let us know in each email you send to us. Ed said, 22 February, 2012 @ 21:47 Thanks! WebDéveloppement Web et Webmarketing Développement Web AJAX Apache ASP CSS Dart Flash / Flex JavaScript PHP Ruby & Rails TypeScript Web sémantique Webmarketing (X)HTML EDIEnvironnements de Développement Intégré EDI 4D Delphi this content LIBRARY: Shared object libstdc++.a[]: 3769 symbols imported.

You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment other than by its Why would a password requirement prohibit a number in the last character? I've also tried compiling using gmake USE_64TO32=y all options result in the same error while linking to the blas libraries.

That's good to know. -- Gary R.

What version of netcdf are you using? December 17, 2007, 15:01 Thanks Matthias, your help is #10 msrinath80 Senior Member Srinath Madhavan (a.k.a pUl|) Join Date: Mar 2009 Location: Edmonton, AB, Canada Posts: 703 Rep Power: If you can't find the doent, send me an email, and I will send you a copy. Si tu utilises GNUmake, regarde aussi .PHONY dans la doc.

Répondre avec citation 1 0 24/08/2012,14h07 #5 Kaamui Membre expérimenté Développeur informatiqueInscrit ennovembre 2011Messages668Détails du profilInformations personnelles :Sexe : Localisation : France, Vienne (Poitou Charente)Informations professionnelles :Activité : Développeur informatiqueInformations The time now is 10:38 PM. LIBRARY: Shared object libmpi_r.a[mpipoe64_r.o]: 113 symbols imported. have a peek at these guys My gcc version is 4.0.0 on AIX version 5.2 And the .c files were created by Pro*C/C++: Release Can somebody please help me Regards Jayashree Nair Can somebody please help

Nullius in verba Répondre avec citation 0 0 24/08/2012,10h44 #2 Jean-Marc.Bourguet Expert éminent Inscrit ennovembre 2005Messages5145Détails du profilInformations forums :Inscription : novembre 2005Messages : 5145Points : 6 857Points6 857 Code asked 4 years ago viewed 2827 times active 4 years ago Related 0Problem compiling Python 2.6.4 on AIX 5.30Undefined symbol building WWW::Curl::Easy Perl module on AIX 5.30Sem_timedwait error on AIX1Exception across Log in to reply. How to convert a set of sequential integers into a set of unique random numbers?

Is Teichmüller distance bigger than Weil-Petersson distance on Teichmüller space? collect2: ld returned 8 exit status make: 1254-004 The error code from the last command is 1.