Hi Martin!

Now you can why where this problem is with the following report? I'll try download the last patch level of AIX 4.3 maintenace packages, this is a readme recomendation but I wouldn't like to apply  it because I'm afraid of what may cause to the system.

g++ -v -L../lib -L../cats -o bconsole console.o console_conf.o authenticate.o conio.o -ltermcap -lbac -lm -lpthread
Reading specs from /usr/bin/../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-020209/specs
gcc version 2.9-aix51-020209
 /usr/bin/../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-020209/collect2 -bpT:0x10000000 -bpD:0x20000000 -btextro -bnodelcsect -o bconsole /lib/crt0.o -L../lib -L../cats -L/usr/bin/../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-020209 -L/usr/bin/../lib/gcc-lib -L/opt/freeware/GNUPro/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-020209 -L/usr/bin/../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-020209/../../.. -L/opt/freeware/GNUPro/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-020209/../../.. console.o console_conf.o authenticate.o conio.o -ltermcap -lbac -lpthread -lstdc++ -lm /usr/bin/../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-020209/libgcc.a -lc /usr/bin/../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-020209/libgcc.a
ld: 0711-317 ERROR: Undefined symbol: win32_client
ld: 0711-317 ERROR: Undefined symbol: TERM_msg
ld: 0711-317 ERROR: Undefined symbol: OK_msg
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status

One more time, thanks for the help!
Fernanda.

On 9/23/05, Martin Simmons <[EMAIL PROTECTED]> wrote:
>>>>> On Thu, 22 Sep 2005 17:09:38 -0300, Fernanda Santoro <[EMAIL PROTECTED]> said:

  Fernanda> Thanks again!
  Fernanda> I try running ranlib and then gmake but the error persists:
  Fernanda> ==== Make of filed is good ====

  Fernanda> gmake[1]: Leaving directory `/tmp/bacula/temp/bacula-1.36.1/src/filed'
  Fernanda> ==>Entering directory /tmp/bacula/temp/bacula-1.36.1/src/console
  Fernanda> gmake[1]: Entering directory `/tmp/bacula/temp/bacula-1.36.1/src/console'
  Fernanda> g++ -L../lib -L../cats -o bconsole console.o console_conf.o authenticate.o
  Fernanda> conio.o \
  Fernanda> -ltermcap -lbac -lm -lpthread
  Fernanda> ld: 0711-317 ERROR: Undefined symbol: win32_client
  Fernanda> ld: 0711-317 ERROR: Undefined symbol: TERM_msg
  Fernanda> ld: 0711-317 ERROR: Undefined symbol: OK_msg
  Fernanda> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
  Fernanda> information.
  Fernanda> collect2: ld returned 8 exit status
  Fernanda> gmake[1]: *** [bconsole] Error 1
  Fernanda> gmake[1]: Leaving directory `/tmp/bacula/temp/bacula-1.36.1/src/console'


  Fernanda> -e ====== Error in /tmp/bacula/temp/bacula-1.36.1/src/console =
  Fernanda> ======


  Fernanda> ==>Entering directory /tmp/bacula/temp/bacula-1.36.1/rescue
  Fernanda> gmake[1]: Entering directory `/tmp/bacula/temp/bacula- 1.36.1/rescue'
  Fernanda> gmake[1]: Nothing to be done for `all'.
  Fernanda> gmake[1]: Leaving directory `/tmp/bacula/temp/bacula-1.36.1/rescue'
  Fernanda> ==>Entering directory /tmp/bacula/temp/bacula- 1.36.1/rescue/linux
  Fernanda> gmake[1]: Entering directory `/tmp/bacula/temp/bacula-1.36.1/rescue/linux'
  Fernanda> gmake[1]: Nothing to be done for `all'.
  Fernanda> gmake[1]: Leaving directory `/tmp/bacula/temp/bacula- 1.36.1/rescue/linux'

  Fernanda> Any more sugestions?
  Fernanda> I need so much install bacula on Aix and I can't find the answer on google.

Sorry, I can't see how this can happen with a working gcc and ld.  The symbol
TERM_msg is only referenced in one function (bget_msg) and that function is
not referenced by anything in bconsole.

You could try

cd console
g++ -v -L../lib -L../cats -o bconsole console.o console_conf.o authenticate.o \
conio.o -ltermcap -lbac -lm -lpthread

so we can see what the arguments to ld are.

__Martin

Reply via email to