LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-20-2005, 01:43 AM   #1
yll
LQ Newbie
 
Registered: Jun 2005
Posts: 3

Rep: Reputation: 0
undefined symbol: __gxx_personality_v0


hello,
My OS is redhat AdvanseServer3.0, kernel is Linux 2.4.21-4, share lib is libstdc++-2-libc6.1-1-2.9.0.so and libstdc++-3-libc6.2-2-2.10.0.so . I want to install slurm with maui. I do accoring to that the document describes. After make and make install When I typed \'slurmctld -D\', the porcess exited, and error is reported:

------------slurmctld version 0.4.22 started 1
debug3: plugin_peek: dlope(/usr/local/slurm/lib/slurm/sched_wiki.so): /usr/local/slurm/lib/slurm/sched_wiki.so: undefined symbol: __gxx_personality_v0
error: cannot find scheduler plugin for sched/wiki
error: cannot resolve scheduler plugin operations
fatal: failed to initialize scheduling plugin

so I fail to run slurm with maui.

I use g++ instead of gcc, the error is still occur.

Are there someone have installed slurm&maui? Please tell me how to do.
my e-mail : yue7786_56@sina.com.
 
Old 06-21-2005, 03:18 AM   #2
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
Have you upgraded gcc and did you have to run ./configure before make? If so, type ./configure --help and see if there are any environmental variables that you can define to specify which compiler to use and which library and include paths to use. I've had a similar problem when compiling KDE 3.4; it used the newer version of gcc to compile, but then used the libs from the old version of gcc to link. This was fixed by specifying the path of the compiler and the path of the libs to ./configure.
ta0kira
 
Old 02-05-2008, 09:53 AM   #3
mircea.lutic
LQ Newbie
 
Registered: Feb 2008
Posts: 1

Rep: Reputation: 0
I have a similar problem with gcc on AIX.
I am using g++
g++ -g -c -D TEST_MLOG MLog.cpp -o MLog.o
g++ -g -c -D TEST_MLOG ml-cnx.cpp -o ml-cnx.o
g++ -g -o mlog MLog.o ml-cnx.o -lstdc++ -Wl,-bnoquiet

Any idea anyone?

Undefined __gxx_personality_v0

(ld): halt 4
(ld): setopt r/o->w
(ld): setopt nodelcsect
(ld): setfflag 4
(ld): savename mlog
(ld): filelist 10 2
(ld): i /lib/crt0.o
(ld): i /tmp//ccs3m8Zh.o
(ld): i MLog.o
(ld): i ml-cnx.o
(ld): lib /usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/../../../libstdc++.a
(ld): lib /usr/lib/libm.a
(ld): lib /usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/../../../libgcc_s.a
(ld): i /usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/libgcc.a
(ld): lib /usr/lib/libg.a
(ld): lib /usr/lib/libc.a
LIBRARY: Shared object libgcc_s.a[shr.o]: 114 symbols imported.
LIBRARY: Shared object libc.a[shr.o]: 2820 symbols imported.
LIBRARY: Shared object libc.a[meth.o]: 2 symbols imported.
LIBRARY: Shared object libc.a[posix_aio.o]: 20 symbols imported.
LIBRARY: Shared object libc.a[aio.o]: 14 symbols imported.
LIBRARY: Shared object libc.a[pse.o]: 5 symbols imported.
LIBRARY: Shared object libc.a[dl.o]: 4 symbols imported.
LIBRARY: Shared object libc.a[pty.o]: 1 symbols imported.
FILELIST: Number of previously inserted files processed: 10
(ld): exports /usr/lib/libg.exp
EXPORTS: Symbols exported: 4
(ld): initfini _GLOBAL__FI_mlog _GLOBAL__FD_mlog
(ld): resolve
RESOLVE: 178 of 4653 symbols were kept.
(ld): addgl /usr/lib/glink.o
ADDGL: Glink code added for 33 symbols.
(ld): er full
ld: 0711-318 ERROR: Undefined symbols were found.
The following symbols are in error:
Symbol Inpndx TY CL Source-File(Object-File) OR Import-File {Shared-object}
RLD: Address Section Rld-type Referencing Symbol
------------------------------------------------------------------------------- ---------------
__gxx_personality_v0 [46] ER PR ml-cnx.cpp(ml-cnx.o)
00001531 .data R_POS [686] _GLOBAL__F __ZN8CnxParms3logEPKcz_AC17F960
__gxx_personality_v0 [32] ER PR MLog.cpp(MLog.o)
00000a5d .data R_POS [498] _GLOBAL__F _MlogUrl_6C3D05B5
ER: The return code is 8.
ld: 0711-317 ERROR: Undefined symbol: __gxx_personality_v0
collect2: ld returned 8 exit status
make: *** [mlog] Error 1
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Undefined symbol __pure_virtual anand_mirasdar Programming 1 08-11-2005 02:20 PM
snort failed: snort: symbol lookup error: undefined symbol: usmAES192PrivProtocol Emmanuel_uk Linux - Security 1 07-10-2005 10:29 AM
undefined symbol: __cxa_pure_virtual BBB Programming 0 03-20-2005 05:07 PM
undefined symbol: X509_free irutgers Linux - Security 2 03-03-2005 07:15 PM
undefined symbol: __ti7QWidget Imran Aziz Linux - Software 1 06-01-2004 05:43 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration