OK. New code was added, because the default accept() has in certain circumstances undesirable consequences for Bacula (during execution of scripts, those scripts can inject data into certain file descriptors in the core code of Bacula). If you have just changed baccept() to accept(), your binary version will not contain the new code. The fix I proposed below, if it works, would allow the new code to function correctly.
Best regards, Kern On 3/1/19 5:26 PM, Andrea Venturoli wrote: > On 3/1/19 5:14 PM, Kern Sibbald wrote: >> Were you careful to run a ./configure ... on the machine you then did >> the make on? If Bacula picked up an old Linux created >> <bacula>/src/config.h file that could explain the accept4 error. > > Yes. > > > >> In any case, I would make sure that your <bacula>/src/config.h file does >> not contain a line that reads: >> >> #define HAVE_ACCEPT4 1 >> >> If it does, then comment that line out (// at the beginning of the line >> or simply deleting the line). >> >> Then the build should work > > Thanks, but I said I just changed the sources, so I'm ok now. > I just wrote to report this. > > > > bye > av. > _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users