[Lugge] Compilando in C

  • From: Massimo Arnaudo <marnaudo@xxxxxxxxx>
  • To: Lug Genova <lugge@xxxxxxxxxxxx>
  • Date: Mon, 20 Aug 2001 21:25:41 +0200

Ciao a tutti,
ho cercato di compilare un sorgente precompilato con gpre (fornito con
Interbase), ma ricevo un messaggio d' errore:

masarn1@gull:~/IB/examples > cc -Wall api1.c
api1.c: In function `pr_error':
api1.c:137: warning: int format, long int arg (arg 2)
/tmp/ccoPqaGQ.o: In function `main':
/tmp/ccoPqaGQ.o(.text+0x92): undefined reference to
`isc_dsql_execute_immediate'
/tmp/ccoPqaGQ.o(.text+0xa7): undefined reference to `isc_sqlcode'
/tmp/ccoPqaGQ.o(.text+0x113): undefined reference to `isc_commit_transaction'
/tmp/ccoPqaGQ.o(.text+0x13d): undefined reference to `isc_detach_database'
/tmp/ccoPqaGQ.o(.text+0x15d): undefined reference to `isc_attach_database'
/tmp/ccoPqaGQ.o(.text+0x1a6): undefined reference to `isc_start_transaction'
/tmp/ccoPqaGQ.o(.text+0x1c9): undefined reference to
`isc_dsql_execute_immediate'
/tmp/ccoPqaGQ.o(.text+0x20c): undefined reference to `isc_commit_transaction'
/tmp/ccoPqaGQ.o(.text+0x229): undefined reference to `isc_start_transaction'
/tmp/ccoPqaGQ.o(.text+0x24c): undefined reference to
`isc_dsql_execute_immediate'
/tmp/ccoPqaGQ.o(.text+0x28c): undefined reference to `isc_commit_transaction'
/tmp/ccoPqaGQ.o(.text+0x2af): undefined reference to `isc_detach_database'
/tmp/ccoPqaGQ.o: In function `pr_error':
/tmp/ccoPqaGQ.o(.text+0x302): undefined reference to `isc_print_status'
/tmp/ccoPqaGQ.o(.text+0x314): undefined reference to `isc_sqlcode'
collect2: ld returned 1 exit status
masarn1@gull:~/IB/examples >

cosa vuol dire undefined reference? Dove sarebbe l' errore?

Grazie
Massimo
-- 
E impari che puoi davvero sopportare,
che sei davvero forte,
e che vali davvero.
---             ---
HomePage:       http://spazioweb.inwind.it/arnaudo
LinuxGroup:     http://lugge.ziobudda.net
<========----------
 Prima di scrivere in m-list per favore leggi il regolamento
 http://lugge.ziobudda.net/benvenuto.html



Other related posts: