Article delegate-en/4715 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A4714@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: Delegate - AIX 6.1 Compilation Errors
17 Dec 2009 01:20:00 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


Hi,

In message <_A4714@delegate-en.ML_> on 12/17/09(09:46:55)
you Antonio Hernandez Jr <payjabdyi-ytjem447qmlr.ml@ml.delegate.org> wrote:
 |$ grep pthread maker/*list
 |__pthread_create.o
 |_-pthread_create.o
 |__pthread_kill.o
 |
 |$ ls -l maker/*pthread*
 |-rw-r--r--    1 guest server            64 Aug 16 15:25
 |maker/_-pthread_create.c
 |-rwxr-xr-x    1 guest server          5085 Aug 25 19:24
 |maker/__pthread_create.c
 |-rw-r--r--    1 guest server          2041 Aug 17 14:12
 |maker/__pthread_kill.c
 |-rw-r--r--    1 guest server           165 Aug 16 15:25
 |maker/pthread_kill.c

So the problem is why these source files referring the pthread functions
failed to be compiled.
For example, the man page of pthread_create() on AIX seems to show that
it is a very usual pthread_create (http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.basetechref/doc/basetrf1/pthread_create.htm)
The result of the following command may show us hints.

  % nm -A maker/*.o | grep Thread
  % gcc -c -O2 -DQSC -Igen -Iinclude maker/__pthread_create.c
  % gcc -c -O2 -DQSC -Igen -Iinclude maker/__pthread_kill.c

It seems that LWP on AIX are partially used, but it is not supported
in recent versions and pthread must be used instead...

Cheers,
Yutaka
--
  9 9   Yutaka Sato <y.sato@delegate.org> http://delegate.org/y.sato/
 ( ~ )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V