comp.lang.ada
 help / color / mirror / Atom feed
* collect2: ld returned 1 exit status
@ 2013-08-15 10:22 Dwiki
  2013-08-15 12:27 ` Dmitry A. Kazakov
  0 siblings, 1 reply; 4+ messages in thread
From: Dwiki @ 2013-08-15 10:22 UTC (permalink / raw)


hello,
i try to compile a source code using gnade, but it show error 

c:\gnade\gnu-db-sqlcli.o: In function `gnu__db__sqlcli__sqldatasources':
c:/gnade/win32-include/gnu-db-sqlcli.adb:496: undefined reference to `_SQLDataSources@40'
c:\gnade\gnu-db-sqlcli.o: In function `gnu__db__sqlcli__sqldrivers__2':
c:/gnade/win32-include/gnu-db-sqlcli.adb:590: undefined reference to `_SQLDrivers@40'
c:\gnade\gnu-db-sqlcli.o: In function `gnu__db__sqlcli__sqldescribeparam':
c:/gnade/win32-include/gnu-db-sqlcli.adb:1291: undefined reference to `_SQLDescribeParam@40'
c:\gnade\gnu-db-sqlcli.o: In function `gnu__db__sqlcli__sqlgetcursorname':
c:/gnade/win32-include/gnu-db-sqlcli.adb:1478: undefined reference to `_SQLGetCursorName@20'
c:\gnade\gnu-db-sqlcli.o: In function `gnu__db__sqlcli__sqldescribecol':
c:/gnade/win32-include/gnu-db-sqlcli.adb:2610: undefined reference to `_SQLDescribeCol@56'
c:\gnade\gnu-db-sqlcli.o: In function `gnu__db__sqlcli__sqlnativesql':
c:/gnade/win32-include/gnu-db-sqlcli.adb:2811: undefined reference to `_SQLNativeSql@28'
c:\gnade\gnu-db-sqlcli.o: In function `gnu__db__sqlcli__sqlbrowseconnect':
c:/gnade/win32-include/gnu-db-sqlcli.adb:2960: undefined reference to `_SQLBrowseConnect@28'
c:\gnade\gnu-db-sqlcli.o: In function `gnu__db__sqlcli__sqldriverconnect':
c:/gnade/win32-include/gnu-db-sqlcli.adb:3053: undefined reference to `_SQLDriverConnect@36'
c:\gnade\gnu-db-sqlcli-environment_attribute.o: In function `gnu__db__sqlcli__environment_attribute__get_env_attr':
c:/gnade/win32-include/gnu-db-sqlcli-environment_attribute.adb:53: undefined reference to `_SQLGetEnvAttr@24'
c:\gnade\gnu-db-sqlcli-info.o: In function `gnu__db__sqlcli__info__sqlgetfunctions':
c:/gnade/win32-include/gnu-db-sqlcli-info.adb:149: undefined reference to `_SQLGetFunctions@16'
c:\gnade\gnu-db-sqlcli-info.o: In function `gnu__db__sqlcli__info__sqlgetfunctions__2':
c:/gnade/win32-include/gnu-db-sqlcli-info.adb:175: undefined reference to `_SQLGetFunctions@16'
collect2: ld returned 1 exit status

ive seen another thread facing same problem in
https://groups.google.com/forum/#!searchin/comp.lang.ada/gesql/comp.lang.ada/fbzq3IkGSy8/mcAKkSraiCQJ

i have add -lodbc32 but the error still there.

do i missed something?

thank you....

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-08-16  6:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-15 10:22 collect2: ld returned 1 exit status Dwiki
2013-08-15 12:27 ` Dmitry A. Kazakov
2013-08-16  2:38   ` Dwiki
2013-08-16  6:55     ` Dmitry A. Kazakov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox