Article delegate-en/4714 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]

Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: Delegate - AIX 6.1 Compilation Errors
17 Dec 2009 00:47:00 GMT Antonio Hernandez Jr <payjabdyi-mnhltaxpynjr.ml@ml.delegate.org>


Hello,

Please see the results of the patch and the thread* errors below.

$ cat maker/_-strcasestr.c
#if !defined(__osf__) && !defined(_MSC_VER) && !defined(__sun__)  \
 && !defined(_AIX) \
 && !defined(__hpux__) \
 && !defined(__hpux)
int SUBST_strcasestr = 0;
#include <string.h>
char *Strcasestr(const char *s1,const char *s2){
        return strcasestr(s1,s2);
}
#endif

$make -f Makefile.QSC
...
        /usr/bin/ranlib ../lib/libdelegate.a
        "/home/guest/delegate9.9.7-pre8/mkmake.exe" -touch
"../lib/libdelegate.a"
        gcc -DQSC -O2             -I../gen -I../include -DQSC -O2
-c embed.c -DADMINPASS=\"\" -DADMIN=\"guest@Server\"  -DIMPSIZE=10000
        gcc  -L../lib -o ./embed embed.o
version.o ../srcsign.o  ../lib/library.a ../lib/libcfi.a ../lib/libmimekit.a ../lib/libmd5.a
  -lnsl -ldl -lpthread -lpam -lc ../lib/libsubst.a
ld: 0711-317 ERROR: Undefined symbol: ThreadSigmask
ld: 0711-317 ERROR: Undefined symbol: ThreadKill
ld: 0711-317 ERROR: Undefined symbol: ThreadDestroy
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
make: The error code from the last command is 1.


Stop.
make: The error code from the last command is 2.


Stop.
mkmake: ERROR LOG is left at /home/guest/delegate9.9.7-pre8/src/mkmake.err
mkmake: ERROR LOG is left at /home/guest/delegate9.9.7-pre8/src/mkmake.err
make: The error code from the last command is 2.


Stop.
make: The error code from the last command is 2.


Stop.

$
$ 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

$ nm -A maker/*pthread*.o$ nm -A maker/*pthread*.o
nm: maker/*pthread*.o: 0654-200 Cannot open the specified file.
nm: No such file or directory
$ pwd
/home/guest/delegate9.9.7-pre8
$

Thank you and Regards,

Antonio "Mark" Hernandez, Jr.




                                                                           
             feedback@delegate                                             
             .org (Yutaka                                                  
             Sato)                                                      To 
                                       feedback@delegate.org               
             2009/12/16 19:16                                           cc 
                                       Antonio Hernandez                   
                                       Jr/Japan/Contr/IBM@IBMJP,           
             Please respond to         feedback@delegate.org               
             feedback@delegate                                     Subject 
                   .org                Re: [DeleGate-En] Delegate - AIX    
                                       6.1 Compilation Errors              
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Hi,

In message
<_A4712@delegate-en.ML_> on
12/16/09(18:53:55)
you Antonio Hernandez Jr <payjabdyi-mnhltaxpynjr.ml@ml.delegate.org> wrote:
 |I downloaded the new package and here is what I got.
...
 |-c embed.c -DADMINPASS=\"\" -DADMIN=\"guest@Server\"  -DIMPSIZE=10000
 |        gcc  -L../lib -o ./embed embed.o
 |
version.o ../srcsign.o  ../lib/library.a ../lib/libcfi.a ../lib/libmimekit.a ../lib/libmd5.a

 |  -lnsl -ldl -lpthread -lpam -lc ../lib/libsubst.a
 |ld: 0711-317 ERROR: Undefined symbol: .strcasestr
 |ld: 0711-317 ERROR: Undefined symbol: ThreadSigmask
 |ld: 0711-317 ERROR: Undefined symbol: ThreadKill
 |ld: 0711-317 ERROR: Undefined symbol: ThreadDestroy

The error on .strcasestr will be fixed by addning "!defined(_AIX)" to
the fle "maker/_-strcasestr.c" as the enclosed patch.
On the errors of Thrad*, the result of the following command will be
helpful to see what is the problem.

  % grep pthread maker/*list
  % ls -l maker/*pthread*
  % nm -A maker/*pthread*.o

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

*** dist/src/delegate9.9.7-pre8/maker/_-strcasestr.c         Wed Dec  9
06:50:56 2009
--- ./maker/_-strcasestr.c           Wed Dec 16 18:56:43 2009
***************
*** 1,4 ****
--- 1,6 ----
  #if !defined(__osf__) && !defined(_MSC_VER) && !defined(__sun__)  \
+  && !defined(_AIX) \
   && !defined(__hpux__) \
   && !defined(__hpux)
  int SUBST_strcasestr = 0;



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