Article delegate-en/4300 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:<_A4299@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: problem comiling HPUX 11.23
24 Dec 2008 06:00:04 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


Hi,

In message <_A4299@delegate-en.ML_> on 12/24/08(14:35:22)
you "Bambic, David (Penske)" <pweiabdyi-bfkmicdyir3r.ml@ml.delegate.org> wrote:
...
 |/usr/ccs/bin/ld: Unsatisfied symbols:
 |   bcmp(void const*, void const*, unsigned long)(first referenced in ../lib/libary.a(String.o)) (code)
 |   bcopy(void const*, void*, unsigned long)(first referenced in ../lib/library. (ystring.o)) (code)
 |collect2: ld returned 1 exit status

Hmm...

 |4  nm maker/bcopy.o
 |Symbols from maker/bcopy.o:
...
 |_Z5bzeroPvj         |         0|extern|entry  |$CODE$
 |bcmp                |         0|extern|entry  |$CODE$
 |bcopy               |         0|extern|entry  |$CODE$

It seems that the Gcc for HP-UX recognizes bcmp and bcopy as special
built-in functions without getting the declarations by headers.  Inserting
the following line to the top of "maker/bcopy.c" might change the behavior.

#include "ystring.h"

Otherwise seeing the result of the following commands will give us hints.

  nm -A */*.o | grep bcopy
  nm -A */*.o | grep bcmp

If the "nm" command on HP-UX does not support "-A" option, the result
without the option will be also helpful enough.

  nm */*.o | grep bcopy
  nm */*.o | grep bcmp

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