Hello, Due to the poor design of Win32, everytime there is a new subroutine or a change in any argument to a subroutine or a new external variable, the .def files must be modified. On Unix/Linux systems, this is totally automatically done by the linker.
Since we do not build the Win32 version after every change, it often gets out of sync as is this case. If you want to be able to fix it yourself, please read the README.mingw32 file in the src/win32 directory, which explains how to do it, or simply notify us as you have done here, and we will fix it. In this case, I will fix it this evening ... Best regards, Kern On Tuesday 16 September 2008 17:35:20 Robert Hawkins wrote: > Hello, > > I am trying to build the win32 software from the SVN trunk, using Ubuntu > 8.04, but I am getting the following build errors: > > Linking ../release/cats_mysql.dll > libcats.exp:fake:(.edata+0x134): undefined reference to > `db_update_job_end_record(JCR*, B_DB*, JOB_DBR*, bool)' collect2: ld > returned 1 exit status > make[1]: *** [../release/cats_mysql.dll] Error 1 > make[1]: Leaving directory `/home/win32/bacula/src/win32/cats' > > !!!!! Make of cats failed !!!!! > > <...> > > Linking ../release/bacula-dir.exe > job.o: In function > `_Z21update_job_end_recordP3JCR':/home/win32/bacula/src/win32/dird/../../di >rd/job.c:857: undefined reference to `db_update_job_end_record(JCR*, B_DB*, > JOB_DBR*)' job.o: In function > `_Z14update_job_endP3JCRi':/home/win32/bacula/src/win32/dird/../../dird/job >.c:857: undefined reference to `db_update_job_end_record(JCR*, B_DB*, > JOB_DBR*)' job.o: In function > `_Z10job_threadPv':/home/win32/bacula/src/win32/dird/../../dird/job.c:857: > undefined reference to `db_update_job_end_record(JCR*, B_DB*, JOB_DBR*)' > ua_update.o: In function > `_Z10update_cmdP9UAContextPKc':/home/win32/bacula/src/win32/dird/../../dird >/ua_update.c:814: undefined reference to `db_update_stats(JCR*, B_DB*, long > long)' > > :/home/win32/bacula/src/win32/dird/../../dird/ua_update.c:814: undefined > : reference to `db_update_stats(JCR*, B_DB*, long long)' > > collect2: ld returned 1 exit status > make[1]: *** [../release/bacula-dir.exe] Error 1 > make[1]: Leaving directory `/home/win32/bacula/src/win32/dird' > > !!!!! Make of dird failed !!!!! > > <...> > > bscan.o: In function > `_Z9record_cbP3DCRP10DEV_RECORD':/home/win32/bacula/src/win > 32/stored/../../stored/bscan.c:625: undefined reference to > `db_update_job_end_re cord(JCR*, B_DB*, JOB_DBR*)' > > :/home/win32/bacula/src/win32/stored/../../stored/bscan.c:1128: undefined > : reference to `db_update_job_end_record(JCR*, B_DB*, JOB_DBR*)' > > collect2: ld returned 1 exit status > make[1]: *** [../release/bscan.exe] Error 1 > make[1]: Leaving directory `/home/win32/bacula/src/win32/stored' > > !!!!! Make of stored failed !!!!! > > > Can anyone help? > > Thanks, > Robert > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Bacula-devel mailing list > Bacula-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-devel ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel