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

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


In message <_A4299@delegate-en.ML_> on 12/24/08(14:35:22)
you "Bambic, David (Penske)" <> 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


 |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

  9 9   Yutaka 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]