Ver Mensaje Individual
  #5 (permalink)  
Antiguo 12/09/2011, 16:19
Avatar de eric_brandan
eric_brandan
 
Fecha de Ingreso: agosto-2011
Mensajes: 18
Antigüedad: 12 años, 8 meses
Puntos: 2
Respuesta: uso de SQLite3 en C

Estos son los errores que me da al momento de compilar :

Turbo C++ Version 3.00 Copyright (c) 1992 Borland International
sqlite3.c:
Error sqlite3.c 13606: Numeric constant too large in function localtimeOffset
Error sqlite3.c 13686: Numeric constant too large in function parseModifier
Error sqlite3.c 14095: Numeric constant too large in function strftimeFunc
Error sqlite3.c 17340: Unable to open include file 'pthread.h'
Error sqlite3.c 17357: Declaration missing ;
Error sqlite3.c 17446: Undefined symbol 'PTHREAD_MUTEX_INITIALIZER' in function pthreadMutexAlloc
Error sqlite3.c 17446: Declaration syntax error in function pthreadMutexAlloc
Error sqlite3.c 17446: Declaration missing ; in function pthreadMutexAlloc
Warning sqlite3.c 17446: Function should return a value in function pthreadMutexAlloc
Warning sqlite3.c 17446: 'staticMutexes' is assigned a value that is never used in function pthreadMutexAlloc
Warning sqlite3.c 17446: Parameter 'iType' is never used in function pthreadMutexAlloc
Error sqlite3.c 17446: Declaration terminated incorrectly
Error sqlite3.c 17452: Unexpected }
Error sqlite3.c 17454: Declaration terminated incorrectly
Error sqlite3.c 17497: Unexpected }
Error sqlite3.c 17508: Undefined symbol 'mutex' in function pthreadMutexFree
Error sqlite3.c 17551: Undefined symbol 'mutex' in function pthreadMutexEnter
Warning sqlite3.c 17564: Parameter 'p' is never used in function pthreadMutexEnter
Error sqlite3.c 17597: Undefined symbol 'mutex' in function pthreadMutexTry
Warning sqlite3.c 17614: Parameter 'p' is never used in function pthreadMutexTry
Error sqlite3.c 17635: Undefined symbol 'mutex' in function pthreadMutexLeave
Warning sqlite3.c 17643: Parameter 'p' is never used in function pthreadMutexLeave
Warning sqlite3.c 18300: Constant out of range in comparison in function sqlite3Malloc
Warning sqlite3.c 18520: Constant out of range in comparison in function sqlite3Realloc
Warning sqlite3.c 20244: Condition is always true in function sqlite3VdbeMemTranslate
Warning sqlite3.c 20252: Condition is always true in function sqlite3VdbeMemTranslate
Warning sqlite3.c 20263: Constant out of range in comparison in function sqlite3VdbeMemTranslate
Warning sqlite3.c 20269: Constant out of range in comparison in function sqlite3VdbeMemTranslate
Warning sqlite3.c 20451: Constant out of range in comparison in function sqlite3Utf16ByteLen
Warning sqlite3.c 20451: Constant out of range in comparison in function sqlite3Utf16ByteLen
Warning sqlite3.c 20456: Constant out of range in comparison in function sqlite3Utf16ByteLen
Warning sqlite3.c 20456: Constant out of range in comparison in function sqlite3Utf16ByteLen
Warning sqlite3.c 21575: Constant out of range in comparison in function sqlite3SafetyCheckOk
Warning sqlite3.c 21588: Constant out of range in comparison in function sqlite3SafetyCheckSickOrOk
Warning sqlite3.c 21589: Constant out of range in comparison in function sqlite3SafetyCheckSickOrOk
Warning sqlite3.c 21590: Constant out of range in comparison in function sqlite3SafetyCheckSickOrOk
Error sqlite3.c 24377: Unable to open include file 'unistd.h'
Error sqlite3.c 24378: Unable to open include file 'sys/time.h'
Error sqlite3.c 24381: Unable to open include file 'sys/mman.h'
Error sqlite3.c 24776: Undefined symbol 'close'
Error sqlite3.c 24776: Declaration terminated incorrectly
Error sqlite3.c 24776: Unexpected }
Error sqlite3.c 24776: Declaration terminated incorrectly
Error sqlite3.c 24858: Unexpected }
Error sqlite3.c 24880: Not an allowed type in function unixSetSystemCall
Error sqlite3.c 24880: Too many error or warning messages in function unixSetSystemCall
*** 26 errors in Compile ***


Available memory 3783028

La instruccion que uso es : tcc sqlite3.c