W dniu 9 czerwca 2009 21:51 użytkownik Adam Wysocki <gophi> napisał:


> Zastanawia mnie to:
>
> libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin
> shared libraries
>
>  znalazlem zeby dodac flage -no-undefined do libtoola i teraz libgadu sie
kompiluje (zamiast so mam dll'a)

tyle ze teraz mam problem przy kompilacji ekg:

ui-ncurses.o:ui-ncurses.c:(.text+0xf36): undefined reference to `_acs_map'
ui-ncurses.o:ui-ncurses.c:(.text+0xf9f): undefined reference to `_acs_map'
ui-ncurses.o:ui-ncurses.c:(.text+0x1005): undefined reference to `_acs_map'
ui-ncurses.o:ui-ncurses.c:(.text+0x1072): undefined reference to `_acs_map'
ui-ncurses.o:ui-ncurses.c:(.text+0x10d3): undefined reference to `_acs_map'
ui-ncurses.o:ui-ncurses.c:(.text+0x112a): more undefined references to
`_acs_map' follow
collect2: ld returned 1 exit status
make[1]: *** [ekg] Error 1


ps

w ktorym miejscu dodac flage --enable-auto-import zeby sie nie pojawialo:

/usr/local/lib/gcc/i686-pc-cygwin/4.2.1/../../../../i686-pc-cygwin/bin/ld:
warning: auto-importing has been activated without --enable-auto-import
specified on the command line.
This should work unless it involves constant data structures referencing
symbols from auto-imported DLLs.

Odpowiedź listem elektroniczym