* compilng problems, wcslen and langinfo
@ 2002-10-31 6:01 Arno Waschk
2002-10-31 9:56 ` Xavier Pianet
0 siblings, 1 reply; 2+ messages in thread
From: Arno Waschk @ 2002-10-31 6:01 UTC (permalink / raw)
To: cygwin
Dear list,
Trying to compile wxGTK I am stuck..
What might here be going wrong?
I thought langinfo and wcslen are supported (and configure thinks that too) and the wcslen error looks strange...?
Am I missing something like a library?
Can I help you with further information?
c++ -shared -Wl,--out-implib,lib/libwx_gtk-2.3.dll.a -o lib/libwx_gtk-2.3.dll
<...many .o files...>
-L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lgthread -lglib -lintl -lXext -lX11 -lm -ljpeg -ltiff -lz -lpthread -liconv -lGL -lGLU -lc
Creating library file: lib/libwx_gtk-2.3.dll.a
intl.o(.text+0x31c9):intl.cpp: undefined reference to `_nl_langinfo'
strconv.o(.text+0xef3):strconv.cpp: undefined reference to `wcslen(wchar_t const*)'
strconv.o(.text+0x1814):strconv.cpp: undefined reference to `wcslen(wchar_t const*)'
strconv.o(.text$_ZNK8wxMBConv6cWX2WCEPKc+0x3f):strconv.cpp: undefined reference to `wcslen(wchar_t const*)'
strconv.o(.text$_ZN10EC_CharSet5WC2MBEPcPKwj+0x19):strconv.cpp: undefined reference to `wcslen(wchar_t const*)'
string.o(.text$_ZNK8wxString6wc_strER8wxMBConv+0x41):string.cpp: undefined reference to `wcslen(wchar_t const*)'
collect2: ld returned 1 exit status
make: *** [lib/libwx_gtk-2.3.dll] Error 1
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: compilng problems, wcslen and langinfo
2002-10-31 6:01 compilng problems, wcslen and langinfo Arno Waschk
@ 2002-10-31 9:56 ` Xavier Pianet
0 siblings, 0 replies; 2+ messages in thread
From: Xavier Pianet @ 2002-10-31 9:56 UTC (permalink / raw)
To: cygwin; +Cc: 0
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1267 bytes --]
Hi there
"Arno Waschk" <520091860693-0001@t-online.de> a écrit dans le message news:
3C8QOQMA9ECCXULJFBUO71A0SOJHM.3dc12958@oemcomputer...
> Dear list,
>
>
> Trying to compile wxGTK I am stuck..
> What might here be going wrong?
> I thought langinfo and wcslen are supported (and configure thinks that
too) and the wcslen error looks strange...?
> Am I missing something like a library?
> Can I help you with further information?
>
Have a look at the message i wrote on th 29/10 :
conflicting types for `typedef struct mbstate_t`(was link troubles with
wcslen)
it should solve at least the wcslen pb.
After days of head bashing i managed to get wxWindows compile as a dll under
cygwin
the trick was mainly (after the wcslen pb) to add the compile
option -Wl,--export-all-symbols
in the building of the dll (g++ -shared ....)
For reasons i still can't explain some symbols are not exported in the
.dll.a file
i think it is a bug in dlltool but i can't get a small example to reproduce
the problem
this weekend will be for wxPython...
Xavier
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-10-31 17:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-31 6:01 compilng problems, wcslen and langinfo Arno Waschk
2002-10-31 9:56 ` Xavier Pianet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).