Database connection...

Nahon lburger at hu.tesco-europe.com
Mon Oct 30 05:59:31 PST 2006


>I wouldn't call it a "problem" as such: you have to tell the compiler which
>files to compile. However, Derek Parnell's Bud (nee Build) tool can make the
>task of compiling a lot less tedious.
>http://www.dsource.org/projects/build/wiki

Ok, it's a feature. :-) (I don't like it by the way... I think the compiler
should automatically find the modules it has to compile: there are implicit
commands for it.)

But anything I do, I get this result:

#c:\DMD\tarolas>bud_win_3.04 -full -names stock ws2_32.lib
#Current Dir 'c:\DMD\stock\'
# [ stock.d ]
# [ sh.d ]
# [ screen.d ]
# [ element.d ]
# [ telnet.d ]
# [ dbi\odbc\OdbcDatabase.d ]
# [ dbi\Database.d ]
# [ dbi\DBIException.d ]
# [ dbi\ErrorCode.d ]
# [ dbi\Result.d ]
# [ dbi\Row.d ]
# [ dbi\Statement.d ]
# [ dbi\odbc\OdbcResult.d ]
# [ ws2_32.lib ]
#OPTLINK (R) for Win32  Release 7.50B1
#Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved
#
#dbi\odbc\OdbcDatabase.obj(OdbcDatabase)
# Error 42: Symbol Undefined _SQLFreeHandle at 8
#dbi\odbc\OdbcDatabase.obj(OdbcDatabase)
# Error 42: Symbol Undefined _SQLEndTran at 12
#dbi\odbc\OdbcDatabase.obj(OdbcDatabase)
# Error 42: Symbol Undefined _SQLGetDiagField at 28
#dbi\odbc\OdbcDatabase.obj(OdbcDatabase)
# Error 42: Symbol Undefined _SQLGetDiagRec at 32
#dbi\odbc\OdbcDatabase.obj(OdbcDatabase)
# Error 42: Symbol Undefined _SQLSetEnvAttr at 16
#dbi\odbc\OdbcDatabase.obj(OdbcDatabase)
# Error 42: Symbol Undefined _SQLAllocHandle at 12
#dbi\odbc\OdbcResult.obj(OdbcResult)
# Error 42: Symbol Undefined _SQLColAttribute at 28

It seems everything is imported but it does not compile/link.



More information about the Digitalmars-d mailing list