-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Corinna Vinschen on 8/2/2007 3:00 AM: >> collect2: ld returned 1 exit status > > No such problem in my cross-build on Linux. I was going to try on > Cygwin but came across another problem where I broke the unlink() > function :( I'm going to look into that one first, of course.
The problem is not in building cygwin1.dll, but cygserver. Doing this: Index: Makefile.in =================================================================== RCS file: /cvs/src/src/winsup/cygserver/Makefile.in,v retrieving revision 1.14 diff -u -p -r1.14 Makefile.in - --- Makefile.in 23 Feb 2007 11:43:48 -0000 1.14 +++ Makefile.in 2 Aug 2007 13:15:24 -0000 @@ -68,7 +68,7 @@ libclean: fullclean: clean libclean cygserver.exe: $(CYGWIN_LIB) $(OBJS) $(CYGWIN_OBJS) - - $(CXX) -o $@ ${wordlist 2,999,$^} -L$(cygwin_build) + $(CXX) -o $@ ${wordlist 2,999,$^} -L$(cygwin_build) -lntdll $(cygwin_build)/%.o: $(cygwin_source)/%.cc @$(MAKE) -C $(@D) $(@F) helps, but doesn't solve the problem, because I still get: /home/eblake/src/build/i686-pc-cygwin/winsup/cygwin/smallprint.o: In function `__small_vsprintf': ../../../../winsup/cygwin/smallprint.cc:130: undefined reference to `sys_wcstombs(char*, int, wchar_t const*, int)@16' ../../../../winsup/cygwin/smallprint.cc:200: undefined reference to `_current_codepage' ../../../../winsup/cygwin/smallprint.cc:211: undefined reference to `_current_codepage' Info: resolving __ctype_ by linking to __imp___ctype_ (auto-import) collect2: ld returned 1 exit status make[3]: *** [cygserver.exe] Error 1 make[3]: Leaving directory `/home/eblake/src/build/i686-pc-cygwin/winsup/cygserver' So where do current_codepage and sys_wcstombs live? - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGsdmC84KuGfSFAYARAv3JAKDRQlw466XOmdsIvuj5dtR6D34PvQCdFsgP bMzxRDRmk46uc/h7zFSPLkk= =UyIZ -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/