[Mono-list] DataTable
llper
llper@darkircop.org
06 May 2003 20:36:19 +0200
Hello,
I need for my program the System.Data.DataTable class...so I looked to
the
mono web site and I found:
On Unix
update your mono sources. Be sure you have latest mcs.exe and .dll's,
since
there have been many fixes needed for compilation on Linux.
compile System.Data.dll:
cd mcs/class/System.Data
mcs --target library -o \
System.Data.dll @list
But when I do this, I become an error:
[root@dhcp-27-181 System.Data]# mcs --target library -o \
> System.Data.dll @list
System.Data.SqlTypes/SqlDecimal.cs(262) error CS0246: Cannot find type
`TdsBigDecimal'
System.Data.SqlClient/SqlCommand.cs(150) error CS0246: Cannot find type
`ITds'
System.Data.SqlClient/SqlConnection.cs(50) error CS0246: Cannot find
type
`TdsConnectionParameters'
System.Data.SqlClient/SqlConnection.cs(67) error CS0246: Cannot find
type
`ITds'
System.Data.SqlClient/SqlConnection.cs(176) error CS0246: Cannot find
type
`TdsInternalErrorMessageEventArgs'
System.Data.SqlClient/SqlConnection.cs(181) error CS0246: Cannot find
type
`TdsInternalInfoMessageEventArgs'
System.Data.SqlClient/SqlConnection.cs(282) error CS0246: Cannot find
type
`TdsInternalErrorCollection'
System.Data.SqlClient/SqlConnection.cs(307) error CS0246: Cannot find
type
`ITransaction'
System.Data.SqlClient/SqlConnection.cs(140) error CS0246: Cannot find
type
`ITds'
System.Data.SqlClient/SqlConnectionPool.cs(115) error CS0246: Cannot
find type
`ITds'
System.Data.SqlClient/SqlConnectionPool.cs(140) error CS0246: Cannot
find type
`ITds'
System.Data.SqlClient/SqlConnectionPool.cs(48) error CS0246: Cannot find
type
`ITds'
System.Data.SqlClient/SqlDataReader.cs(487) error CS0246: Cannot find
type
`TdsDataColumn'
System.Data.SqlClient/SqlException.cs(97) error CS0246: Cannot find type
`TdsInternalException'
System.Data.SqlClient/SqlInfoMessageEventArgs.cs(28) error CS0246:
Cannot find
type `TdsInternalErrorCollection'
System.Data.SqlClient/SqlParameter.cs(27) error CS0246: Cannot find type
`TdsMetaParameter'
System.Data.SqlClient/SqlParameter.cs(154) error CS0246: Cannot find
type
`TdsMetaParameter'
System.Data.SqlClient/SqlParameterCollection.cs(27) error CS0246: Cannot
find
type `TdsMetaParameterCollection'
System.Data.SqlClient/SqlParameterCollection.cs(103) error CS0246:
Cannot find
type `TdsMetaParameterCollection'
Compilation failed: 19 error(s), 0 warnings
How do I correct it?
Thanks a lot