From: John S. <mi...@ya...> - 2003-10-19 08:46:00
|
Ok.. I need to compile it, cause I need to link a python module I'm writing against it. I got MinGW, but I have run into some errors compiling libticables. First, it throws an error about LOCALEDIR (line 87 in intrface.c). I think it's a defined variable (from the gcc command line options). By commenting out line 87, it compiles, but I don't know if that's introducing all sorts of bugs. After that, it builds, but I get these errors about gettext. I believe I have it installed, but I'm not sure if it needs a gcc command line option to link against it or something. Thanks for any help! John ------------------------------------- Creating library file: .libs/libticables.dll.a .libs/ioports.o(.text+0x2f8): In function `io_open': c:/legalstuff/2/libticables-3.7.7/src/ioports.c:402: undefined reference to `dgettext' .libs/slv_link.o(.text+0x31e): In function `slv_init': c:/legalstuff/2/libticables-3.7.7/src/slv_link.c:338: undefined reference to `dgettext' .libs/slv_link.o(.text+0x397):c:/legalstuff/2/libticables-3.7.7/src/slv_link.c:360: undefined reference to `dgettext' .libs/slv_link.o(.text+0x4dc):c:/legalstuff/2/libticables-3.7.7/src/slv_link.c:348: undefined reference to `dgettext' .libs/tie_link.o(.text+0x51e): In function `tie_init': c:/legalstuff/2/libticables-3.7.7/src/tie_link.c:299: undefined reference to `dgettext' .libs/vti_link.o(.text+0x1a1):c:/legalstuff/2/libticables-3.7.7/src/vti_link.c:364: more undefined references to `dgettext' follow .libs/intrface.o(.text+0xda): In function `ticable_init': c:/legalstuff/2/libticables-3.7.7/src/intrface.c:103: undefined reference to `bindtextdomain' .libs/intrface.o(.text+0xfb):c:/legalstuff/2/libticables-3.7.7/src/intrface.c:106: undefined reference to `textdomain' .libs/intrface.o(.text+0x10f):c:/legalstuff/2/libticables-3.7.7/src/intrface.c:108: undefined reference to `dgettext' .libs/intrface.o(.text+0x978): In function `ticable_set_cable': c:/legalstuff/2/libticables-3.7.7/src/intrface.c:592: undefined reference to `dgettext' .libs/intrface.o(.text+0x98f):c:/legalstuff/2/libticables-3.7.7/src/intrface.c:594: undefined reference to `dgettext' .libs/intrface.o(.text+0x9a7):c:/legalstuff/2/libticables-3.7.7/src/intrface.c:595: undefined reference to `dgettext' .libs/intrface.o(.text+0x9be):c:/legalstuff/2/libticables-3.7.7/src/intrface.c:596: undefined reference to `dgettext' .libs/intrface.o(.text+0xac3):c:/legalstuff/2/libticables-3.7.7/src/intrface.c:660: more undefined references to `dgettext' follow .libs/probe.o(.text+0x19c2): In function `probe_io_resources': c:/legalstuff/2/libticables-3.7.7/src/probe.c:1096: undefined reference to `StartPortTalkDriver' .libs/timodules.o(.text+0x23a): In function `search_for_tiusb_node': c:/legalstuff/2/libticables-3.7.7/src/timodules.c:72: undefined reference to `dgettext' .libs/timodules.o(.text+0x29c): In function `search_for_tipar_node': c:/legalstuff/2/libticables-3.7.7/src/timodules.c:89: undefined reference to `dgettext' .libs/timodules.o(.text+0x2fe): In function `search_for_tiser_node': c:/legalstuff/2/libticables-3.7.7/src/timodules.c:106: undefined reference to `dgettext' make[2]: *** [libticables.la] Error 1 make[2]: Leaving directory `/c/legalstuff/2/libticables-3.7.7/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/c/legalstuff/2/libticables-3.7.7' make: *** [all] Error 2 --- Romain LIEVIN <rom...@wa...> wrote: > Hi, > > John Spiegel a écrit : > > I'm having problems getting tilp compiled on > windows. > > It keeps looking for "inttypes.h". I'm not sure > what > > provides that for windows. Any help would be > > appreciated. > > If you want to compile TiLP on Windows, you should > not use the TiLP SDK. The SDK is provided for > building apps against libs. > > The best thing to do: retrieve source code of 3 libs > and TiLP. Uncompress them and rebuild. But, do you > really want to do that ? It may be a bit tedious... > > > > > JOhn > > > > ----------------------------------------- > > Compiling... > > Avr_link.c > > c:\program > files\tilp-sdk\cables\src\cabl_def.h(30) : > > fatal error C1083: > > Cannot open include file: 'inttypes.h': No such > file > > or directory > > Dev_link.c > > c:\program > files\tilp-sdk\cables\src\cabl_def.h(30) : > > fatal error C1083: > > Cannot open include file: 'inttypes.h': No such > file > > or directory > > dfl_link.c > > c:\program > files\tilp-sdk\cables\src\dfl_link.c(30) : > > fatal error C1083: > > Cannot open include file: 'inttypes.h': No such > file > > or directory > > Par_link.c > > c:\program > files\tilp-sdk\cables\src\par_link.c(30) : > > fatal error C1083: > > Cannot open include file: 'inttypes.h': No such > file > > or directory > > Ser_link.c > > c:\program > files\tilp-sdk\cables\src\cabl_def.h(30) : > > fatal error C1083: > > Cannot open include file: 'inttypes.h': No such > file > > or directory > > slv_link.c > > c:\program files\tilp-sdk\cables\src\intl.h(37) : > > fatal error C1083: Cannot > > open include file: 'libintl.h': No such file or > > directory > > Tie_link.c > > c:\program files\tilp-sdk\cables\src\intl.h(37) : > > fatal error C1083: Cannot > > open include file: 'libintl.h': No such file or > > directory > > Tig_link.c > > c:\program > files\tilp-sdk\cables\src\cabl_def.h(30) : > > fatal error C1083: > > Cannot open include file: 'inttypes.h': No such > file > > or directory > > Vti_link.c > > c:\program files\tilp-sdk\cables\src\intl.h(37) : > > fatal error C1083: Cannot > > open include file: 'libintl.h': No such file or > > directory > > Vtl_link.c > > c:\program > files\tilp-sdk\cables\src\cabl_def.h(30) : > > fatal error C1083: > > Cannot open include file: 'inttypes.h': No such > file > > or directory > > Error.c > > c:\program files\tilp-sdk\cables\src\intl.h(37) : > > fatal error C1083: Cannot > > open include file: 'libintl.h': No such file or > > directory > > Intrface.c > > c:\program files\tilp-sdk\cables\src\intl.h(37) : > > fatal error C1083: Cannot > > open include file: 'libintl.h': No such file or > > directory > > Ioports.c > > c:\program > files\tilp-sdk\cables\src\cabl_def.h(30) : > > fatal error C1083: > > Cannot open include file: 'inttypes.h': No such > file > > or directory > > Logging.c > > c:\program files\tilp-sdk\cables\src\intl.h(37) : > > fatal error C1083: Cannot > > open include file: 'libintl.h': No such file or > > directory > > porttalk.c > > c:\program > files\tilp-sdk\cables\src\cabl_def.h(30) : > > fatal error C1083: > > Cannot open include file: 'inttypes.h': No such > file > > or directory > > Probe.c > > c:\program files\tilp-sdk\cables\src\probe.c(38) : > > fatal error C1083: Cannot > > open include file: 'inttypes.h': No such file or > > directory > > timodules.c > > c:\program files\tilp-sdk\cables\src\intl.h(37) : > > fatal error C1083: Cannot > > open include file: 'libintl.h': No such file or > > directory > > type2str.c > > c:\program files\tilp-sdk\cables\src\intl.h(37) : > > fatal error C1083: Cannot > > open include file: 'libintl.h': No such file or > > directory > > verbose.c > > c:\program > files\tilp-sdk\cables\src\cabl_def.h(30) : > > fatal error C1083: > > Cannot open include file: 'inttypes.h': No such > file > > or directory > > Error executing cl.exe. > > > > ticables.dll - 19 error(s), 0 warning(s) > > > > > > __________________________________ > > Do you Yahoo!? > > The New Yahoo! Shopping - with improved product > search > > http://shopping.yahoo.com > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback > Program. > > SourceForge.net hosts over 70,000 Open Source > Projects. > > See the people who have HELPED US provide better > services: > > Click here: http://sourceforge.net/supporters.php > > _______________________________________________ > > TiLP-devel mailing list > > TiL...@li... > > > https://lists.sourceforge.net/lists/listinfo/tilp-devel > > > > > -- > Romain Liévin, aka 'roms' <ro...@ti...> > Site web <http://tilp.info> > Messagerie instantanée (ICQ) 43585029 > "Linux, y'a moins bien mais c'est plus cher !" > > __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |