Hi Martin!
Thanks for your help!

When I do this gmake returns me the second error I post here :-( :

# gmake
g++   -c   -I. -I..  -g -O2 -Wall  conio.c
In file included from ../bacula.h:113,
                 from conio.c:52:
/usr/bin/../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-020209/include/pthread.h:166: warning: missing white space after `#define PTHREAD_ONCE_INIT'
g++   -L../lib -L../cats -o bconsole console.o console_conf.o authenticate.o conio.o \
       -ltermcap -lbac -lm -lpthread
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
gmake: *** [bconsole] Error 1


On 9/22/05, Martin Simmons <[EMAIL PROTECTED]> wrote:
>>>>> On Wed, 21 Sep 2005 18:33:30 -0300, Fernanda Santoro <[EMAIL PROTECTED]> said:

  Fernanda> After do ranlib -t -X 32 libbac.a, gmake returns another error:
  Fernanda> ==== Make of filed is good ====

  Fernanda> /tmp/bacula/bacula-1.36.1/autoconf/install-sh -c -m 0754 bacula-fd
  Fernanda> /usr/sbin/bacula-fd
  Fernanda> ==> Found existing bacula-fd.conf , installing new conf file as
  Fernanda> bacula-fd.conf.new
  Fernanda> /tmp/bacula/bacula-1.36.1/autoconf/install-sh -c -m 640
  Fernanda> bacula-fd.conf/usr/etc/bacula-
  Fernanda> fd.conf.new
  Fernanda> g++ -c -I. -I.. -g -O2 -Wall conio.c
  Fernanda> In file included from ../bacula.h:113,
  Fernanda> from conio.c:52:
  Fernanda> /usr/bin/../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-020209/include/pthread.h:166:
  Fernanda> warning: missing white space after `#define PTHREAD_ONCE_INIT'
  Fernanda> conio.c: In function `void con_init (FILE *)':
  Fernanda> conio.c:249: cannot convert `void (*) (...)' to `void (*) ()' for argument
  Fernanda> `1' to `atexit (void (*) ())'
  Fernanda> make: 1254-004 The error code from the last command is 1.


  Fernanda> Stop.
  Fernanda> make: 1254-004 The error code from the last command is 1.


  Fernanda> Stop.

  Fernanda> Do you have any idea?

Try changing the line (probably line 249) in conio.c from

void con_term();

to

void con_term(void);

__Martin

Reply via email to