Hi, i don't know if this solution is the correct one, but i simply changed the following in src/config.h after running configure
bash-2.05b# diff config.h-orig config.h 214c214 < /* #undef HAVE_OLD_SOCKOPT */ --- > #define HAVE_OLD_SOCKOPT 1 277c277 < #define HAVE_GETDOMAINNAME 1 --- > /* #undef HAVE_GETDOMAINNAME */ this worked for me... chris > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Arno Lehmann > Sent: Monday, October 10, 2005 11:00 PM > To: Mentzell, Jon > Cc: Bacula-users@lists.sourceforge.net > Subject: Re: [Bacula-users] Issues compiling Bacula client on > Solaris 7 > > Hi, > > On 10.10.2005 22:35, Mentzell, Jon wrote: > > > > > > > I have a bacula server running on a NetBSD system, and I'm > trying to add > > a few clients. Our most important data resides on a Enterprise 250 > > running Solaris 7 (we're trying to get a couple backups so we can > > upgrade it to 8 or 9). I'm unable to get the client to compile > > properly. Am I missing something simple? > > I don't know if it's simple... > > Anyway, my impression: > ... > ./configure reports: > > > checking resolv.h usability... no > > checking resolv.h presence... yes > > configure: WARNING: resolv.h: present but cannot be compiled > > configure: WARNING: resolv.h: check for missing > prerequisite headers? > > configure: WARNING: resolv.h: see the Autoconf documentation > > configure: WARNING: resolv.h: section "Present But > Cannot Be Compiled" > > configure: WARNING: resolv.h: proceeding with the > preprocessor's result > > configure: WARNING: resolv.h: in the future, the compiler > will take precedence > > configure: WARNING: ## > ------------------------------------------ ## > > configure: WARNING: ## Report this to the > AC_PACKAGE_NAME lists. ## > > configure: WARNING: ## > ------------------------------------------ ## > > checking for resolv.h... yes > ... > make in src/lib: > > > g++ -c -I. -I.. -g -O2 -Wall address_conf.c > > address_conf.c: In member function `const char* > IPADDR::get_address(char*, int)': > > address_conf.c:191: error: `inet_ntop' undeclared (first > use this function) > > address_conf.c:191: error: (Each undeclared identifier is > reported only once for each function it appears in.) > > address_conf.c: In function `char* sockaddr_to_ascii(const > sockaddr*, char*, int)': > > address_conf.c:585: error: `inet_ntop' undeclared (first > use this function) > > make[1]: *** [address_conf.o] Error 1 > > make[1]: Leaving directory > `/home/jmentzel/bacula/bacula-1.36.3/src/lib' > > To me, this looks as they are related. > > You need to find out how to use the resolver libraries under > your OS - > unfortunately, I can't help you there, but either someone here on the > list might, or you could use google with a more detailed > search. A quick > search I just did told me that under solaris there might be another > lbrary, rt, to use for resolving, while configure tries > resolv. I don't > know how to fix this, but perhaps this is a useful hint. > > Arno > -- > IT-Service Lehmann [EMAIL PROTECTED] > Arno Lehmann http://www.its-lehmann.de > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, > discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users