I find the option: 

 #define HAVE_OLD_SOCKOPT 1 

 On config.h and bnet.c is ok to compile, but on jcr.c other errors: 

g++   -c   -I. -I..  -g -O2 -Wall  jcr.c 
jcr.c: In function `struct JCR * new_jcr(int, void (*)(JCR *))': 
jcr.c:214: assignment to `void (*)()' from `void (*)(int)' 
make: *** [jcr.o] Error 1 

 I try to compile bacula version 1.36.2 

 Thanks 
 Mauricio Okumura. 


Em (22:37:06), [EMAIL PROTECTED] escreveu: 


>You didn't mention what version you are trying to build, but as far as I 
can 
>tell by assuming 1.36.3, your system does not have POSIX compliant 
>functions, 
>so you are out of luck unless you can get such a library (and header files) 
>somewhere -- for setsockopt -- for modify the code to work with your 
system. 
>Quite possibly, there will be other functions with similar problems ... 
> 
>On Wednesday 25 May 2005 20:08, mokumura wrote: 
>> I have an NEC UX/4800 like SVR4, on compile i have the errors: 
>> 
>> g++ -c -I. -I.. -g -O2 -Wall bnet.c 
>> bnet.c: In function `struct BSOCK * bnet_open(JCR *, const char *, char 
*, 
>> char *, int, int *)': 
>> bnet.c:712: ANSI C++ forbids implicit conversion from `void *' in 
argument 
>> passing 
>> bnet.c:737: ANSI C++ forbids implicit conversion from `void *' in 
argument 
>> passing 
>> bnet.c: In function `bool bnet_set_buffer_size(BSOCK *, unsigned int, 
>> int)': bnet.c:858: ANSI C++ forbids implicit conversion from `void *' in 
>> argument passing 
>> bnet.c:882: ANSI C++ forbids implicit conversion from `void *' in 
argument 
>> passing 
>> make: *** [bnet.o] Error 1 
>> 
>> I try to build client for bacula, my enviroment are gcc 2.95.3, but some 
>> library are too old. 
>> Are there a way to bypass this error ? 
>> 
>> Thanks 
>> Mauricio Okumura 
> 
>-- 
>Best regards, 
> 
>Kern 
> 
> ("> 
> /\ 
> V_V 
> 
>---------- 

Reply via email to