This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: recent CVS compilation issues

On Thu, Aug 02, 2007 at 07:17:54AM -0600, Eric Blake wrote:
>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:
>RCS file: /cvs/src/src/winsup/cygserver/,v
>retrieving revision 1.14
>diff -u -p -r1.14
>- ---	23 Feb 2007 11:43:48 -0000	1.14
>+++	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)/
> 	@$(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/ undefined reference to
>`sys_wcstombs(char*, int, wchar_t const*, int)@16'
>../../../../winsup/cygwin/ undefined reference to
>../../../../winsup/cygwin/ undefined reference to
>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
>So where do current_codepage and sys_wcstombs live?

They used to live in and respectively.

I moved them into separate files, after consultation with Corinna.

Things seem to build ok now.  There is a snapshot up there to prove
that point.

Thanks for the heads up, Eric.


Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]