Subject: Fwd: sqlite fails to build on Solaris 9
To: None <pkgsrc-users@netbsd.org>
From: Frederic Touboul <frederic.touboul@gmail.com>
List: pkgsrc-users
Date: 10/06/2006 11:13:50
Greetings,

This problem is still present in pkgsrc-2006Q3, at least for me. Am I
the only one to encounter this problem, or has someone seen it before?

Regards,
Frederic.

---------- Forwarded message ----------
From: Frederic Touboul <frederic.touboul@gmail.com>
Date: Sep 25, 2006 1:23 PM
Subject: sqlite fails to build on Solaris 9
To: pkgsrc-users@netbsd.org


Hello,

Using the latest pkgsrc snapshot on solaris 9 (using the native Sun
Studio 11 compiler), I get the following error while installing
sqlite-2.8.16nb1:

-----
 cc -O -DUINT32_TYPE=u_int32_t -DUINT16_TYPE=u_int16_t
-DUINT8_TYPE=u_int8_t -DINTPTR_TYPE=long
-I/usr/pkgsrc/databases/sqlite/work/.buildlink/include -DOS_UNIX=1
-DOS_WIN=0 -DHAVE_USLEEP=1 -I. -I../sqlite-2.8.16/src -Ino/generic
-Ino/unix -c ../sqlite-2.8.16/src/attach.c  -KPIC -DPIC -o
.libs/attach.o
"../sqlite-2.8.16/src/sqliteInt.h", line 122: warning: no explicit type given
"../sqlite-2.8.16/src/sqliteInt.h", line 122: syntax error before or at: u32
"../sqlite-2.8.16/src/sqliteInt.h", line 122: warning: old-style
declaration or incorrect type for: u32
"../sqlite-2.8.16/src/sqliteInt.h", line 123: warning: no explicit type given
"../sqlite-2.8.16/src/sqliteInt.h", line 123: syntax error before or at: u16
"../sqlite-2.8.16/src/sqliteInt.h", line 123: warning: old-style
declaration or incorrect type for: u16
"../sqlite-2.8.16/src/sqliteInt.h", line 125: warning: no explicit type given
"../sqlite-2.8.16/src/sqliteInt.h", line 125: syntax error before or at: u8
"../sqlite-2.8.16/src/sqliteInt.h", line 125: warning: old-style
declaration or incorrect type for: u8
"../sqlite-2.8.16/src/vdbe.h", line 37: syntax error before or at: u8
"../sqlite-2.8.16/src/vdbe.h", line 54: syntax error before or at: u8
"../sqlite-2.8.16/src/sqliteInt.h", line 269: syntax error before or at: u8
"../sqlite-2.8.16/src/sqliteInt.h", line 350: syntax error before or at: u8
"../sqlite-2.8.16/src/sqliteInt.h", line 372: syntax error before or at: u8
"../sqlite-2.8.16/src/sqliteInt.h", line 387: warning: unnamed struct member
"../sqlite-2.8.16/src/sqliteInt.h", line 434: syntax error before or at: u8
"../sqlite-2.8.16/src/sqliteInt.h", line 437: warning: unnamed struct member
"../sqlite-2.8.16/src/sqliteInt.h", line 447: syntax error before or at: u8
"../sqlite-2.8.16/src/sqliteInt.h", line 505: syntax error before or at: u8
"../sqlite-2.8.16/src/sqliteInt.h", line 512: warning: unnamed struct member
"../sqlite-2.8.16/src/sqliteInt.h", line 549: syntax error before or at: u8
"../sqlite-2.8.16/src/sqliteInt.h", line 626: syntax error before or at: u8
"../sqlite-2.8.16/src/sqliteInt.h", line 630: warning: unnamed struct member
"../sqlite-2.8.16/src/sqliteInt.h", line 644: warning: unnamed struct member
"../sqlite-2.8.16/src/sqliteInt.h", line 683: syntax error before or at: u8
"../sqlite-2.8.16/src/sqliteInt.h", line 698: warning: unnamed struct member
"../sqlite-2.8.16/src/sqliteInt.h", line 728: syntax error before or at: u8
"../sqlite-2.8.16/src/sqliteInt.h", line 756: warning: unnamed struct member
"../sqlite-2.8.16/src/sqliteInt.h", line 783: warning: unnamed struct member
"../sqlite-2.8.16/src/sqliteInt.h", line 813: warning: unnamed struct member
"../sqlite-2.8.16/src/sqliteInt.h", line 831: warning: unnamed struct member
"../sqlite-2.8.16/src/sqliteInt.h", line 853: syntax error before or at: u8
"../sqlite-2.8.16/src/sqliteInt.h", line 864: warning: unnamed struct member
"../sqlite-2.8.16/src/sqliteInt.h", line 903: warning: unnamed struct member
"../sqlite-2.8.16/src/sqliteInt.h", line 920: syntax error before or at: u8
"../sqlite-2.8.16/src/sqliteInt.h", line 935: warning: unnamed struct member
"../sqlite-2.8.16/src/sqliteInt.h", line 944: warning: unnamed struct member
"../sqlite-2.8.16/src/sqliteInt.h", line 971: syntax error before or at: u8
"../sqlite-2.8.16/src/sqliteInt.h", line 983: warning: unnamed struct member
"../sqlite-2.8.16/src/sqliteInt.h", line 1037: warning: unnamed struct member
"../sqlite-2.8.16/src/sqliteInt.h", line 1074: warning: unnamed struct member
"../sqlite-2.8.16/src/sqliteInt.h", line 1081: syntax error before or
at: typedef
"../sqlite-2.8.16/src/sqliteInt.h", line 1081: incomplete
struct/union/enum DbFixer: DbFixer
"../sqlite-2.8.16/src/sqliteInt.h", line 1082: (struct) tag redeclared: DbFixer
"../sqlite-2.8.16/src/sqliteInt.h", line 1087: warning: unnamed struct member
"../sqlite-2.8.16/src/sqliteInt.h", line 1094: syntax error before or at: extern
"../sqlite-2.8.16/src/sqliteInt.h", line 1099: member cannot be
function: sqliteStrICmp
"../sqlite-2.8.16/src/sqliteInt.h", line 1100: member cannot be
function: sqliteStrNICmp
"../sqlite-2.8.16/src/sqliteInt.h", line 1101: member cannot be
function: sqliteHashNoCase
"../sqlite-2.8.16/src/sqliteInt.h", line 1102: member cannot be
function: sqliteIsNumber
"../sqlite-2.8.16/src/sqliteInt.h", line 1103: member cannot be
function: sqliteCompare
"../sqlite-2.8.16/src/sqliteInt.h", line 1104: member cannot be
function: sqliteSortCompare
"../sqlite-2.8.16/src/sqliteInt.h", line 1105: member cannot be
function: sqliteRealToSortable
"../sqlite-2.8.16/src/sqliteInt.h", line 1114: member cannot be
function: sqliteMalloc
"../sqlite-2.8.16/src/sqliteInt.h", line 1115: member cannot be
function: sqliteMallocRaw
"../sqlite-2.8.16/src/sqliteInt.h", line 1116: member cannot be
function: sqliteFree
"../sqlite-2.8.16/src/sqliteInt.h", line 1117: member cannot be
function: sqliteRealloc
"../sqlite-2.8.16/src/sqliteInt.h", line 1118: member cannot be
function: sqliteStrDup
"../sqlite-2.8.16/src/sqliteInt.h", line 1119: member cannot be
function: sqliteStrNDup
"../sqlite-2.8.16/src/sqliteInt.h", line 1122: member cannot be
function: sqliteMPrintf
"../sqlite-2.8.16/src/sqliteInt.h", line 1123: member cannot be
function: sqliteVMPrintf
"../sqlite-2.8.16/src/sqliteInt.h", line 1124: member cannot be
function: sqliteSetString
"../sqlite-2.8.16/src/sqliteInt.h", line 1125: member cannot be
function: sqliteSetNString
"../sqlite-2.8.16/src/sqliteInt.h", line 1126: member cannot be
function: sqliteErrorMsg
"../sqlite-2.8.16/src/sqliteInt.h", line 1127: member cannot be
function: sqliteDequote
"../sqlite-2.8.16/src/sqliteInt.h", line 1128: member cannot be
function: sqliteKeywordCode
"../sqlite-2.8.16/src/sqliteInt.h", line 1129: member cannot be
function: sqliteRunParser
"../sqlite-2.8.16/src/sqliteInt.h", line 1130: member cannot be
function: sqliteExec
"../sqlite-2.8.16/src/sqliteInt.h", line 1131: member cannot be
function: sqliteExpr
"../sqlite-2.8.16/src/sqliteInt.h", line 1132: member cannot be
function: sqliteExprSpan
"../sqlite-2.8.16/src/sqliteInt.h", line 1133: member cannot be
function: sqliteExprFunction
"../sqlite-2.8.16/src/sqliteInt.h", line 1134: member cannot be
function: sqliteExprDelete
"../sqlite-2.8.16/src/sqliteInt.h", line 1135: member cannot be
function: sqliteExprListAppend
"../sqlite-2.8.16/src/sqliteInt.h", line 1136: member cannot be
function: sqliteExprListDelete
"../sqlite-2.8.16/src/sqliteInt.h", line 1137: member cannot be
function: sqliteInit
"../sqlite-2.8.16/src/sqliteInt.h", line 1138: member cannot be
function: sqlitePragma
"../sqlite-2.8.16/src/sqliteInt.h", line 1139: member cannot be
function: sqliteResetInternalSchema
"../sqlite-2.8.16/src/sqliteInt.h", line 1140: member cannot be
function: sqliteBeginParse
"../sqlite-2.8.16/src/sqliteInt.h", line 1141: member cannot be
function: sqliteRollbackInternalChanges
"../sqlite-2.8.16/src/sqliteInt.h", line 1142: member cannot be
function: sqliteCommitInternalChanges
"../sqlite-2.8.16/src/sqliteInt.h", line 1143: member cannot be
function: sqliteResultSetOfSelect
"../sqlite-2.8.16/src/sqliteInt.h", line 1144: member cannot be
function: sqliteOpenMasterTable
"../sqlite-2.8.16/src/sqliteInt.h", line 1145: member cannot be
function: sqliteStartTable
"../sqlite-2.8.16/src/sqliteInt.h", line 1146: member cannot be
function: sqliteAddColumn
"../sqlite-2.8.16/src/sqliteInt.h", line 1147: member cannot be
function: sqliteAddNotNull
"../sqlite-2.8.16/src/sqliteInt.h", line 1148: member cannot be
function: sqliteAddPrimaryKey
"../sqlite-2.8.16/src/sqliteInt.h", line 1149: member cannot be
function: sqliteAddColumnType
"../sqlite-2.8.16/src/sqliteInt.h", line 1150: member cannot be
function: sqliteAddDefaultValue
"../sqlite-2.8.16/src/sqliteInt.h", line 1151: member cannot be
function: sqliteCollateType
"../sqlite-2.8.16/src/sqliteInt.h", line 1152: member cannot be
function: sqliteAddCollateType
"../sqlite-2.8.16/src/sqliteInt.h", line 1153: member cannot be
function: sqliteEndTable
"../sqlite-2.8.16/src/sqliteInt.h", line 1154: member cannot be
function: sqliteCreateView
"../sqlite-2.8.16/src/sqliteInt.h", line 1155: member cannot be
function: sqliteViewGetColumnNames
"../sqlite-2.8.16/src/sqliteInt.h", line 1156: member cannot be
function: sqliteDropTable
"../sqlite-2.8.16/src/sqliteInt.h", line 1157: member cannot be
function: sqliteDeleteTable
"../sqlite-2.8.16/src/sqliteInt.h", line 1158: member cannot be
function: sqliteInsert
"../sqlite-2.8.16/src/sqliteInt.h", line 1159: member cannot be
function: sqliteIdListAppend
"../sqlite-2.8.16/src/sqliteInt.h", line 1160: member cannot be
function: sqliteIdListIndex
"../sqlite-2.8.16/src/sqliteInt.h", line 1161: member cannot be
function: sqliteSrcListAppend
"../sqlite-2.8.16/src/sqliteInt.h", line 1162: member cannot be
function: sqliteSrcListAddAlias
"../sqlite-2.8.16/src/sqliteInt.h", line 1163: member cannot be
function: sqliteSrcListAssignCursors
"../sqlite-2.8.16/src/sqliteInt.h", line 1164: member cannot be
function: sqliteIdListDelete
"../sqlite-2.8.16/src/sqliteInt.h", line 1165: member cannot be
function: sqliteSrcListDelete
"../sqlite-2.8.16/src/sqliteInt.h", line 1166: member cannot be
function: sqliteCreateIndex
"../sqlite-2.8.16/src/sqliteInt.h", line 1167: member cannot be
function: sqliteDropIndex
"../sqlite-2.8.16/src/sqliteInt.h", line 1168: member cannot be
function: sqliteAddKeyType
"../sqlite-2.8.16/src/sqliteInt.h", line 1169: member cannot be
function: sqliteAddIdxKeyType
"../sqlite-2.8.16/src/sqliteInt.h", line 1170: member cannot be
function: sqliteSelect
"../sqlite-2.8.16/src/sqliteInt.h", line 1172: member cannot be
function: sqliteSelectNew
"../sqlite-2.8.16/src/sqliteInt.h", line 1173: member cannot be
function: sqliteSelectDelete
"../sqlite-2.8.16/src/sqliteInt.h", line 1174: member cannot be
function: sqliteSelectUnbind
"../sqlite-2.8.16/src/sqliteInt.h", line 1175: member cannot be
function: sqliteSrcListLookup
"../sqlite-2.8.16/src/sqliteInt.h", line 1176: member cannot be
function: sqliteIsReadOnly
"../sqlite-2.8.16/src/sqliteInt.h", line 1177: member cannot be
function: sqliteDeleteFrom
"../sqlite-2.8.16/src/sqliteInt.h", line 1178: member cannot be
function: sqliteUpdate
"../sqlite-2.8.16/src/sqliteInt.h", line 1179: member cannot be
function: sqliteWhereBegin
"../sqlite-2.8.16/src/sqliteInt.h", line 1180: member cannot be
function: sqliteWhereEnd
"../sqlite-2.8.16/src/sqliteInt.h", line 1181: member cannot be
function: sqliteExprCode
"../sqlite-2.8.16/src/sqliteInt.h", line 1182: member cannot be
function: sqliteExprCodeExprList
"../sqlite-2.8.16/src/sqliteInt.h", line 1183: member cannot be
function: sqliteExprIfTrue
"../sqlite-2.8.16/src/sqliteInt.h", line 1184: member cannot be
function: sqliteExprIfFalse
"../sqlite-2.8.16/src/sqliteInt.h", line 1185: member cannot be
function: sqliteFindTable
"../sqlite-2.8.16/src/sqliteInt.h", line 1186: member cannot be
function: sqliteLocateTable
"../sqlite-2.8.16/src/sqliteInt.h", line 1187: member cannot be
function: sqliteFindIndex
"../sqlite-2.8.16/src/sqliteInt.h", line 1188: member cannot be
function: sqliteUnlinkAndDeleteIndex
"../sqlite-2.8.16/src/sqliteInt.h", line 1189: member cannot be
function: sqliteCopy
"../sqlite-2.8.16/src/sqliteInt.h", line 1190: member cannot be
function: sqliteVacuum
"../sqlite-2.8.16/src/sqliteInt.h", line 1191: member cannot be
function: sqliteRunVacuum
"../sqlite-2.8.16/src/sqliteInt.h", line 1192: member cannot be
function: sqliteGlobCompare
"../sqlite-2.8.16/src/sqliteInt.h", line 1193: member cannot be
function: sqliteLikeCompare
"../sqlite-2.8.16/src/sqliteInt.h", line 1194: member cannot be
function: sqliteTableNameFromToken
"../sqlite-2.8.16/src/sqliteInt.h", line 1195: member cannot be
function: sqliteExprCheck
"../sqlite-2.8.16/src/sqliteInt.h", line 1196: member cannot be
function: sqliteExprType
"../sqlite-2.8.16/src/sqliteInt.h", line 1197: member cannot be
function: sqliteExprCompare
"../sqlite-2.8.16/src/sqliteInt.h", line 1198: member cannot be
function: sqliteFuncId
"../sqlite-2.8.16/src/sqliteInt.h", line 1199: member cannot be
function: sqliteExprResolveIds
"../sqlite-2.8.16/src/sqliteInt.h", line 1200: member cannot be
function: sqliteExprAnalyzeAggregates
"../sqlite-2.8.16/src/sqliteInt.h", line 1201: member cannot be
function: sqliteGetVdbe
"../sqlite-2.8.16/src/sqliteInt.h", line 1202: member cannot be
function: sqliteRandomness
"../sqlite-2.8.16/src/sqliteInt.h", line 1203: member cannot be
function: sqliteRollbackAll
"../sqlite-2.8.16/src/sqliteInt.h", line 1204: member cannot be
function: sqliteCodeVerifySchema
"../sqlite-2.8.16/src/sqliteInt.h", line 1205: member cannot be
function: sqliteBeginTransaction
"../sqlite-2.8.16/src/sqliteInt.h", line 1206: member cannot be
function: sqliteCommitTransaction
"../sqlite-2.8.16/src/sqliteInt.h", line 1207: member cannot be
function: sqliteRollbackTransaction
"../sqlite-2.8.16/src/sqliteInt.h", line 1208: member cannot be
function: sqliteExprIsConstant
"../sqlite-2.8.16/src/sqliteInt.h", line 1209: member cannot be
function: sqliteExprIsInteger
"../sqlite-2.8.16/src/sqliteInt.h", line 1210: member cannot be
function: sqliteIsRowid
"../sqlite-2.8.16/src/sqliteInt.h", line 1211: member cannot be
function: sqliteGenerateRowDelete
"../sqlite-2.8.16/src/sqliteInt.h", line 1212: member cannot be
function: sqliteGenerateRowIndexDelete
"../sqlite-2.8.16/src/sqliteInt.h", line 1213: member cannot be
function: sqliteGenerateConstraintChecks
"../sqlite-2.8.16/src/sqliteInt.h", line 1214: member cannot be
function: sqliteCompleteInsertion
"../sqlite-2.8.16/src/sqliteInt.h", line 1215: member cannot be
function: sqliteOpenTableAndIndices
"../sqlite-2.8.16/src/sqliteInt.h", line 1216: member cannot be
function: sqliteBeginWriteOperation
"../sqlite-2.8.16/src/sqliteInt.h", line 1217: member cannot be
function: sqliteEndWriteOperation
"../sqlite-2.8.16/src/sqliteInt.h", line 1218: member cannot be
function: sqliteExprDup
"../sqlite-2.8.16/src/sqliteInt.h", line 1219: member cannot be
function: sqliteTokenCopy
"../sqlite-2.8.16/src/sqliteInt.h", line 1220: member cannot be
function: sqliteExprListDup
"../sqlite-2.8.16/src/sqliteInt.h", line 1221: member cannot be
function: sqliteSrcListDup
"../sqlite-2.8.16/src/sqliteInt.h", line 1222: member cannot be
function: sqliteIdListDup
"../sqlite-2.8.16/src/sqliteInt.h", line 1223: member cannot be
function: sqliteSelectDup
"../sqlite-2.8.16/src/sqliteInt.h", line 1224: member cannot be
function: sqliteFindFunction
"../sqlite-2.8.16/src/sqliteInt.h", line 1225: member cannot be
function: sqliteRegisterBuiltinFunctions
"../sqlite-2.8.16/src/sqliteInt.h", line 1226: member cannot be
function: sqliteRegisterDateTimeFunctions
"../sqlite-2.8.16/src/sqliteInt.h", line 1227: member cannot be
function: sqliteSafetyOn
"../sqlite-2.8.16/src/sqliteInt.h", line 1228: member cannot be
function: sqliteSafetyOff
"../sqlite-2.8.16/src/sqliteInt.h", line 1229: member cannot be
function: sqliteSafetyCheck
"../sqlite-2.8.16/src/sqliteInt.h", line 1230: member cannot be
function: sqliteChangeCookie
"../sqlite-2.8.16/src/sqliteInt.h", line 1231: member cannot be
function: sqliteBeginTrigger
"../sqlite-2.8.16/src/sqliteInt.h", line 1232: member cannot be
function: sqliteFinishTrigger
"../sqlite-2.8.16/src/sqliteInt.h", line 1233: member cannot be
function: sqliteDropTrigger
"../sqlite-2.8.16/src/sqliteInt.h", line 1234: member cannot be
function: sqliteDropTriggerPtr
"../sqlite-2.8.16/src/sqliteInt.h", line 1235: member cannot be
function: sqliteTriggersExist
"../sqlite-2.8.16/src/sqliteInt.h", line 1237: member cannot be
function: sqliteCodeRowTrigger
"../sqlite-2.8.16/src/sqliteInt.h", line 1238: member cannot be
function: sqliteViewTriggers
"../sqlite-2.8.16/src/sqliteInt.h", line 1239: member cannot be
function: sqliteDeleteTriggerStep
"../sqlite-2.8.16/src/sqliteInt.h", line 1240: member cannot be
function: sqliteTriggerSelectStep
"../sqlite-2.8.16/src/sqliteInt.h", line 1241: member cannot be
function: sqliteTriggerInsertStep
"../sqlite-2.8.16/src/sqliteInt.h", line 1242: member cannot be
function: sqliteTriggerUpdateStep
"../sqlite-2.8.16/src/sqliteInt.h", line 1243: member cannot be
function: sqliteTriggerDeleteStep
"../sqlite-2.8.16/src/sqliteInt.h", line 1244: member cannot be
function: sqliteDeleteTrigger
"../sqlite-2.8.16/src/sqliteInt.h", line 1245: member cannot be
function: sqliteJoinType
"../sqlite-2.8.16/src/sqliteInt.h", line 1246: member cannot be
function: sqliteCreateForeignKey
"../sqlite-2.8.16/src/sqliteInt.h", line 1247: member cannot be
function: sqliteDeferForeignKey
"../sqlite-2.8.16/src/sqliteInt.h", line 1249: member cannot be
function: sqliteAuthRead
"../sqlite-2.8.16/src/sqliteInt.h", line 1250: member cannot be
function: sqliteAuthCheck
"../sqlite-2.8.16/src/sqliteInt.h", line 1251: member cannot be
function: sqliteAuthContextPush
"../sqlite-2.8.16/src/sqliteInt.h", line 1252: member cannot be
function: sqliteAuthContextPop
"../sqlite-2.8.16/src/sqliteInt.h", line 1259: member cannot be
function: sqliteAttach
"../sqlite-2.8.16/src/sqliteInt.h", line 1260: member cannot be
function: sqliteDetach
"../sqlite-2.8.16/src/sqliteInt.h", line 1262: member cannot be
function: sqliteBtreeFactory
"../sqlite-2.8.16/src/sqliteInt.h", line 1263: syntax error before or at: *
"../sqlite-2.8.16/src/sqliteInt.h", line 1263: warning: undefined or
missing type for: Parse
"../sqlite-2.8.16/src/sqliteInt.h", line 1263: warning: undefined or
missing type for: int
"../sqlite-2.8.16/src/sqliteInt.h", line 1263: warning: undefined or
missing type for: const
"../sqlite-2.8.16/src/sqliteInt.h", line 1263: warning: undefined or
missing type for: const
"../sqlite-2.8.16/src/sqliteInt.h", line 1263: member cannot be
function: sqliteFixInit
"../sqlite-2.8.16/src/sqliteInt.h", line 1264: syntax error before or at: *
"../sqlite-2.8.16/src/sqliteInt.h", line 1264: warning: undefined or
missing type for: SrcList
"../sqlite-2.8.16/src/sqliteInt.h", line 1264: member cannot be
function: sqliteFixSrcList
"../sqlite-2.8.16/src/sqliteInt.h", line 1265: syntax error before or at: *
"../sqlite-2.8.16/src/sqliteInt.h", line 1265: warning: undefined or
missing type for: Select
"../sqlite-2.8.16/src/sqliteInt.h", line 1265: member cannot be
function: sqliteFixSelect
"../sqlite-2.8.16/src/sqliteInt.h", line 1266: syntax error before or at: *
"../sqlite-2.8.16/src/sqliteInt.h", line 1266: warning: undefined or
missing type for: Expr
"../sqlite-2.8.16/src/sqliteInt.h", line 1266: member cannot be
function: sqliteFixExpr
"../sqlite-2.8.16/src/sqliteInt.h", line 1267: syntax error before or at: *
"../sqlite-2.8.16/src/sqliteInt.h", line 1267: warning: undefined or
missing type for: ExprList
"../sqlite-2.8.16/src/sqliteInt.h", line 1267: member cannot be
function: sqliteFixExprList
"../sqlite-2.8.16/src/sqliteInt.h", line 1268: syntax error before or at: *
"../sqlite-2.8.16/src/sqliteInt.h", line 1268: warning: undefined or
missing type for: TriggerStep
"../sqlite-2.8.16/src/sqliteInt.h", line 1268: member cannot be
function: sqliteFixTriggerStep
"../sqlite-2.8.16/src/sqliteInt.h", line 1269: member cannot be
function: sqliteAtoF
"../sqlite-2.8.16/src/sqliteInt.h", line 1270: member cannot be
function: sqlite_snprintf
"../sqlite-2.8.16/src/sqliteInt.h", line 1271: member cannot be
function: sqliteFitsIn32Bits
"../sqlite-2.8.16/src/attach.c", line 26: member cannot be function:
sqliteAttach
"../sqlite-2.8.16/src/attach.c", line 26: duplicate member name: sqliteAttach
"../sqlite-2.8.16/src/attach.c", line 26: warning: syntax requires ";"
after last struct/union member
"../sqlite-2.8.16/src/attach.c", line 26: syntax error before or at: {
"../sqlite-2.8.16/src/attach.c", line 33: syntax error before or at: v
"../sqlite-2.8.16/src/attach.c", line 117: warning: syntax requires
";" after last struct/union member
"../sqlite-2.8.16/src/attach.c", line 118: warning: syntax requires
";" after last struct/union member
"../sqlite-2.8.16/src/attach.c", line 122: zero-sized struct/union
"../sqlite-2.8.16/src/attach.c", line 123: syntax error before or at: 0
"../sqlite-2.8.16/src/attach.c", line 123: member cannot be function:
sqliteResetInternalSchema
"../sqlite-2.8.16/src/attach.c", line 136: member cannot be function:
sqliteDetach
"../sqlite-2.8.16/src/attach.c", line 136: warning: syntax requires
";" after last struct/union member
"../sqlite-2.8.16/src/attach.c", line 136: syntax error before or at: {
"../sqlite-2.8.16/src/attach.c", line 142: syntax error before or at: v
"../sqlite-2.8.16/src/attach.c", line 165: syntax error before or at: )
"../sqlite-2.8.16/src/attach.c", line 165: warning: syntax requires
";" after last struct/union member
"../sqlite-2.8.16/src/attach.c", line 175: zero-sized struct/union
"../sqlite-2.8.16/src/attach.c", line 176: warning: unnamed struct member
"../sqlite-2.8.16/src/attach.c", line 176: warning: syntax requires
";" after last struct/union member
"../sqlite-2.8.16/src/attach.c", line 176: zero-sized struct/union
"../sqlite-2.8.16/src/attach.c", line 185: invalid type combination
"../sqlite-2.8.16/src/attach.c", line 186: syntax error before or at: *
"../sqlite-2.8.16/src/attach.c", line 187: warning: undefined or
missing type for: Parse
"../sqlite-2.8.16/src/attach.c", line 188: warning: undefined or
missing type for: int
"../sqlite-2.8.16/src/attach.c", line 189: warning: undefined or
missing type for: const
"../sqlite-2.8.16/src/attach.c", line 190: warning: undefined or
missing type for: const
"../sqlite-2.8.16/src/attach.c", line 191: member cannot be function:
sqliteFixInit
"../sqlite-2.8.16/src/attach.c", line 191: warning: syntax requires
";" after last struct/union member
"../sqlite-2.8.16/src/attach.c", line 194: syntax error before or at: if
"../sqlite-2.8.16/src/attach.c", line 196: warning: syntax requires
";" after last struct/union member
"../sqlite-2.8.16/src/attach.c", line 202: zero-sized struct/union
"../sqlite-2.8.16/src/attach.c", line 218: invalid type combination
"../sqlite-2.8.16/src/attach.c", line 219: syntax error before or at: *
"../sqlite-2.8.16/src/attach.c", line 220: warning: undefined or
missing type for: SrcList
"../sqlite-2.8.16/src/attach.c", line 221: member cannot be function:
sqliteFixSrcList
"../sqlite-2.8.16/src/attach.c", line 221: warning: syntax requires
";" after last struct/union member
"../sqlite-2.8.16/src/attach.c", line 225: syntax error before or at: if
"../sqlite-2.8.16/src/attach.c", line 243: syntax error before or at: *
"../sqlite-2.8.16/src/attach.c", line 244: warning: undefined or
missing type for: Select
"../sqlite-2.8.16/src/attach.c", line 245: member cannot be function:
sqliteFixSelect
"../sqlite-2.8.16/src/attach.c", line 245: warning: syntax requires
";" after last struct/union member
"../sqlite-2.8.16/src/attach.c", line 264: syntax error before or at: *
"../sqlite-2.8.16/src/attach.c", line 265: warning: undefined or
missing type for: Expr
"../sqlite-2.8.16/src/attach.c", line 266: member cannot be function:
sqliteFixExpr
"../sqlite-2.8.16/src/attach.c", line 266: warning: syntax requires
";" after last struct/union member
"../sqlite-2.8.16/src/attach.c", line 282: syntax error before or at: *
"../sqlite-2.8.16/src/attach.c", line 283: warning: undefined or
missing type for: ExprList
"../sqlite-2.8.16/src/attach.c", line 284: member cannot be function:
sqliteFixExprList
"../sqlite-2.8.16/src/attach.c", line 284: warning: syntax requires
";" after last struct/union member
"../sqlite-2.8.16/src/attach.c", line 286: syntax error before or at: if
"../sqlite-2.8.16/src/attach.c", line 295: syntax error before or at: *
"../sqlite-2.8.16/src/attach.c", line 296: warning: undefined or
missing type for: TriggerStep
"../sqlite-2.8.16/src/attach.c", line 297: member cannot be function:
sqliteFixTriggerStep
"../sqlite-2.8.16/src/attach.c", line 297: warning: syntax requires
";" after last struct/union member
cc: acomp failed for ../sqlite-2.8.16/src/attach.c
gmake: *** [attach.lo] Error 1
*** Error code 2
-----

Any idea on how to solve this?

Regards,
Frederic.