Column '%1' in foreign key has a different definition than primary key

Error constant SQLE_INVALID_FOREIGN_KEY_DEF
ODBC 2 state 42000
ODBC 3 state 42000
Parameter 1 Name of the problem column.
Severity 16
SQLCODE -113
SQLSTATE 53030
Sybase error code 1721
 Probable cause