Hello,

Yes, sorry. I don't often think about updating the Win32 def files when I add 
a new subroutine :-(

I've now corrected the problems and put it in the SVN.

I suspect that the errors you saw were because one needs to run the make in 
the src/win32 directory first (the doc has a small error, it seems to me).

Best regards,

Kern

On Wednesday 11 July 2007 16:07, John Drescher wrote:
> dird # make
> Linking ../release/bacula-dir.exe
> autoprune.o: In function `_Z13prune_volumesP3JCRbP9MEDIA_DBR':
> /mnt/vg/projects/bacula/trunk/bacula/src/win32/dird/../../dird/autoprune.c:94:
> undefined reference to `dbid_list::dbid_list()'
> /mnt/vg/projects/bacula/trunk/bacula/src/win32/dird/../../dird/autoprune.c:155:
> undefined reference to `db_get_query_dbids(JCR*, B_DB*, POOL_MEM&,
> dbid_list&)'
> autoprune.o: In function `_Z13prune_volumesP3JCRbP9MEDIA_DBR':
> /mnt/vg/projects/bacula/trunk/bacula/src/win32/dird/../../lib/mem_pool.h:92:
> undefined reference to `dbid_list::~dbid_list()'
> autoprune.o: In function `_Z13prune_volumesP3JCRbP9MEDIA_DBR':
> /mnt/vg/projects/bacula/trunk/bacula/src/win32/dird/../../dird/autoprune.c:105:
> undefined reference to `dbid_list::~dbid_list()'
> /mnt/vg/projects/bacula/trunk/bacula/src/win32/dird/../../dird/autoprune.c:207:
> undefined reference to `dbid_list::~dbid_list()'
> collect2: ld returned 1 exit status
> make: *** [../release/bacula-dir.exe] Error 1
> 
> I believe the problem is that bacula_cats.def needs to be updated to
> reflect the new class dbid_list that was added to src/cats/sql.c and a
> few other functions
> 
> However when I try the make_def I get the following errors:
> 
> ; sql.o
> nm: sql.o: File format not recognized
> 
> ; sql_create.o
> nm: sql_create.o: File format not recognized
> 
> ; sql_delete.o
> nm: sql_delete.o: File format not recognized
> 
> ; sql_find.o
> nm: sql_find.o: File format not recognized
> 
> ; sql_get.o
> nm: sql_get.o: File format not recognized
> 
> ; sql_list.o
> nm: sql_list.o: File format not recognized
> 
> ; sql_update.o
> nm: sql_update.o: File format not recognized
> 
> nm: mysql.o: File format not recognized
> 
> Thanks in Advance,
> John M. Drescher
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Bacula-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-devel
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to