Nekochan Net

Official Chat Channel: #nekochan // irc.nekochan.net
It is currently Thu Jul 24, 2014 5:03 am

All times are UTC - 8 hours


Forum rules


Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.



Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Compiling berkeley db
Unread postPosted: Wed Jul 14, 2004 7:56 pm 
Offline
User avatar

Joined: Sun Feb 08, 2004 4:17 pm
Posts: 346
Location: quito
I keep receiving unresolved symbols when configuring apache sources against an installation of berkeley db that I've already installed. I am fairly certain that my compilation of berkeley db was somehow flawed.

Configure.log yields unresolved symbols "pthread_condattr_init" amongst others. This comes after warnings that /usr/lib32/libpthread.so is not used for resolving any symbols.

Anyone seen this before? I am using gcc 3.3.3.


Top
 Profile  
 
 Post subject:
Unread postPosted: Wed Jul 14, 2004 11:27 pm 
Offline

Joined: Fri Apr 18, 2003 12:32 pm
Posts: 260
Location: Vleuten, The Netherlands
I recently tried to build Berkely DB using MIPSpro for Subversion, everything goes fine until I run the subversion admin tools and it complains that Berkely DB isn't working correctly... I eventually gave up on it and downloaded the freeware version ;)


Top
 Profile  
 
 Post subject:
Unread postPosted: Sat Sep 17, 2005 7:07 pm 
Offline

Joined: Sat Sep 17, 2005 7:02 pm
Posts: 11
So far, I've been able to compile subversion, but not install it. My configure options are:

configurion --without-berkeley-db -disable-nls

Even though the build works, 'gmake install' fails. I posted a thread on USENET comp.sys.sgi.apps:

http://groups.google.com/group/comp.sys.sgi.apps/msg/09c6df1e1311e775?hl=en&

Any ideas?


Top
 Profile  
 
Unread postPosted: Sat Dec 26, 2009 10:05 am 
Offline
User avatar

Joined: Fri May 27, 2005 10:43 am
Posts: 803
I get similar errors compiling dbus 1.2.16:

Code:

ld32: ERROR 33: Unresolved data symbol "pthread_condattr_init" -- 1st referenced by .. dbus/.libs/libdbus-convenience.a(dbus-sysdeps-pthread.o).

d32: ERROR 33: Unresolved data symbol "pthread_condattr_destroy" -- 1st referenced by .. dbus/.libs/libdbus-convenience.a(dbus-sysdeps-pthread.o).



The compiler informs that /usr/lib32/libpthread.so is not used for resolving any symbols.
I'm using gcc 4.4.2 and irix 6.5.22

Is there something missing in libpthread on 6.5.22?

_________________
Sitting in a room.....thinkin' shit up. :evil:

:O2: 400MHz R12k - Apple G4 Cube dual 500MHz/GF6200 - Newton Messagepad 2100 - Apple PowerBook 2400c/G3@240 - DECstation5000/133 - Apple Workgroup Server 9150/120 - Apple Macintosh IIfx - Apple Macintosh Color Classic (Mystic upgrade) - Sun Cobalt Cube 3 - Tadpole RDI UltraBook IIi - Digital HiNote Ultra II - HP 200LX


Top
 Profile  
 
Unread postPosted: Sat Dec 26, 2009 10:39 am 
Offline
User avatar

Joined: Wed Nov 01, 2006 10:37 pm
Posts: 2914
Location: NZ
zahal wrote:
Is there something missing in libpthread on 6.5.22?


No.

Try

Code:
nm /usr/lib/libpthread.so

_________________
Land of the Long White Cloud and no Software Patents.


Top
 Profile  
 
Unread postPosted: Sat Dec 26, 2009 11:12 am 
Offline
User avatar

Joined: Fri May 27, 2005 10:43 am
Posts: 803
porter wrote:
zahal wrote:
Is there something missing in libpthread on 6.5.22?


No.

Try

Code:
nm /usr/lib/libpthread.so


No symbols there, but nevermind, issue was with command line option to use pthread.
Using -pthread instead of -lpthread compilation is succesful.

_________________
Sitting in a room.....thinkin' shit up. :evil:

:O2: 400MHz R12k - Apple G4 Cube dual 500MHz/GF6200 - Newton Messagepad 2100 - Apple PowerBook 2400c/G3@240 - DECstation5000/133 - Apple Workgroup Server 9150/120 - Apple Macintosh IIfx - Apple Macintosh Color Classic (Mystic upgrade) - Sun Cobalt Cube 3 - Tadpole RDI UltraBook IIi - Digital HiNote Ultra II - HP 200LX


Top
 Profile  
 
Unread postPosted: Sat Dec 26, 2009 11:18 am 
Offline
User avatar

Joined: Wed Nov 01, 2006 10:37 pm
Posts: 2914
Location: NZ
I meant lib32...

Code:
bash-2.05b$ nm /usr/lib32/libpthread.so | grep MIPS_TEXT | grep pthread
[36]    | 201609564|     596|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_cancel
[37]    | 201610708|     476|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_setcanceltype
[39]    | 201611796|      32|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_condattr_init
[40]    | 201611828|       8|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_condattr_destroy
[41]    | 201611836|      24|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_condattr_getpshared
[42]    | 201611860|      68|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_condattr_setpshared
[43]    | 201618324|     180|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_atfork
[44]    | 201621408|     540|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_key_create
[45]    | 201621948|     212|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_setspecific
[46]    | 201622160|     144|FUNC |GLOB |DEFAULT  |MIPS_TEXT|__pthread_getspecific_addr
[47]    | 201622304|      44|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_getspecific
[48]    | 201622348|      80|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_key_delete
[50]    | 201626248|      24|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_mutexattr_getpshared
[51]    | 201626364|     164|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_mutexattr_setprotocol
[52]    | 201626528|      16|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_mutexattr_getprotocol
[53]    | 201626624|     148|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_mutexattr_settype
[54]    | 201626772|      16|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_mutexattr_gettype
[55]    | 201634464|     488|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_mutex_setprioceiling
[56]    | 201634952|      16|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_mutex_getprioceiling
[57]    | 201635504|     436|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_once
[58]    | 201638768|      12|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_equal
[59]    | 201638780|     944|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_join
[60]    | 201639724|     448|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_detach
[62]    | 201644560|      16|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_attr_getstacksize
[63]    | 201644588|      16|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_attr_getstackaddr
[64]    | 201644604|      12|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_attr_setguardsize
[65]    | 201644616|      16|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_attr_getguardsize
[66]    | 201644696|      20|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_attr_getdetachstate
[67]    | 201645132|      64|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_attr_getscope
[68]    | 201645196|      68|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_attr_setinheritsched
[69]    | 201645264|      24|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_attr_getinheritsched
[70]    | 201645288|      84|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_attr_setschedpolicy
[71]    | 201645372|      24|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_attr_getschedpolicy
[72]    | 201645396|     192|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_attr_setschedparam
[73]    | 201645588|      24|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_attr_getschedparam
[75]    | 201645864|      32|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_rwlockattr_init
[76]    | 201645896|       8|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_rwlockattr_destroy
[77]    | 201645904|      24|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_rwlockattr_getpshared
[78]    | 201645928|      68|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_rwlockattr_setpshared
[79]    | 201646204|     124|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_rwlock_destroy
[80]    | 201646328|      88|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_rwlock_tryrdlock
[81]    | 201646416|      88|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_rwlock_trywrlock
[82]    | 201669056|     140|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_getrunon_np
[83]    | 201669196|     132|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_setrunon_np
[84]    | 201669328|     260|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_getschedparam
[85]    | 201669588|     628|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_setschedparam
[265]   | 201610160|     548|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_setcancelstate
[266]   | 201611184|     280|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_testcancel
[267]   | 201611464|      16|FUNC |GLOB |DEFAULT  |MIPS_TEXT|__pthread_cancel_list
[268]   | 201611928|      76|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_cond_init
[269]   | 201612004|     144|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_cond_destroy
[270]   | 201612148|     476|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_cond_signal
[271]   | 201612792|     664|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_cond_broadcast
[272]   | 201613620|     652|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_cond_wait
[273]   | 201614732|    1380|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_cond_timedwait
[274]   | 201626200|      40|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_mutexattr_init
[275]   | 201626240|       8|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_mutexattr_destroy
[276]   | 201626272|      92|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_mutexattr_setpshared
[277]   | 201626544|      64|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_mutexattr_setprioceiling
[278]   | 201626608|      16|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_mutexattr_getprioceiling
[279]   | 201626900|     104|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_mutex_init
[280]   | 201627004|     148|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_mutex_destroy
[281]   | 201627152|     336|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_mutex_trylock
[282]   | 201628084|     396|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_mutex_lock
[283]   | 201631252|     404|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_mutex_unlock
[284]   | 201638216|      80|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_self
[285]   | 201638296|     472|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_create
[286]   | 201640172|     408|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_exit
[287]   | 201644464|      56|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_attr_init
[288]   | 201644520|       8|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_attr_destroy
[289]   | 201644528|      32|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_attr_setstacksize
[290]   | 201644576|      12|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_attr_setstackaddr
[291]   | 201644632|      64|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_attr_setdetachstate
[292]   | 201644716|     416|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_attr_setscope
[293]   | 201645996|     208|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_rwlock_init
[294]   | 201646504|     772|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_rwlock_rdlock
[295]   | 201647604|     760|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_rwlock_wrlock
[296]   | 201648644|     688|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_rwlock_unlock
[297]   | 201651620|     784|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_kill
[298]   | 201652404|     644|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_sigmask
[299]   | 201668404|      40|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_getconcurrency
[300]   | 201668444|     612|FUNC |GLOB |DEFAULT  |MIPS_TEXT|pthread_setconcurrency

_________________
Land of the Long White Cloud and no Software Patents.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group