Attached is a patch that lets rcopy.c compile for me
under Linux. This seems like a bit of a hack
(#define-ing away the Windows "_" before _utime,_stat
and _utimbuf), but it works for me.
Are the non-_ versions of these functions and the
struct available under Windows?
- Travis
__________________________________
Do you Yahoo!?
Dress up your holiday email, Hollywood style. Learn more.
http://celebrity.mail.yahoo.com
Hartmut Birr wrote:
<snip>
>Hi,
>I thing that is a problem of mingw-runtime-3.5. The
>definition of wcsdup
>in string.h is:
>_CRTIMP wchar_t* __cdecl wcsdup (wchar_t*);
>But it must be:
>_CRTIMP wchar_t* __cdecl wcsdup (const wchar_t*);
>From the code in the mingw-runtime header, it looks
like we can get around this by adding -D_NO_OLDNAMES
to the compiler command. I'll try it out and see :).
-- Travis
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
With yesterdays cvs tree and SMP=1,ACPI=1,DBG=1,KDBG=1 and deleted
vmwinst.exe I got this bugcheck on real HW, when it is doing initial
boot to display ROS`s syssetup, SMP machine :
(ke/ipi.c: 91) Waiting longer than 5 seconds to start the ipi routine
KeBugCheck at ke/ipi.c: 92
snip
(api.c: 758) Spurious interrupt on CPU(0)
Regards,
David
I kept getting build errors related to wcsdup being
multiply defined, so I went in and removed what
appeared to be the offending code.
A make clean + make resulted in a complete build for
me; I run Linux, so if a Windows user could run a
build to verify that this didn't break anything on
-that- platform, that would be great.
(my build errors can be found at
http://www.nomorepasting.com/paste.php?pasteID=27171 )
Thanks,
-- Travis
Index: include/msvcrt/string.h
===================================================================
RCS file:
/CVS/ReactOS/reactos/include/msvcrt/string.h,v
retrieving revision 1.6
diff -u -r1.6 string.h
--- include/msvcrt/string.h 25 Aug 2003 01:37:47
-0000 1.6
+++ include/msvcrt/string.h 19 Dec 2004 15:56:57
-0000
@@ -166,7 +166,6 @@
/* NOTE: There is no _wcscmpi, but this is for
compatibility. */
int wcscmpi(const wchar_t* ws1, const wchar_t* ws2);
-wchar_t* wcsdup(const wchar_t* wsToDuplicate);
int wcsicmp(const wchar_t* ws1, const wchar_t* ws2);
int wcsicoll(const wchar_t* ws1, const wchar_t* ws2);
wchar_t* wcslwr(wchar_t* wsToConvert);
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Hi developers,
as you know we have feature freeze for ROS v0.2.5 RC1, today.
Within a few hours, I will make a branch of the source. So please check
in your last changes. However be careful of what you check-in and keep
the make process working.
As the change CVS->SVN is scheduled to start on Dec 30 there's a
deadline for the release of Dec 29. If there are nice features, but not
yet good enough to go into this release, dont worry: 0.3 wil be
relatively fast after 0.2.5.
Hi,
Eric and Hartmut's suggestions to have static in lib and dlls in dll
have been widely accepted, and a new idea to have 3rdparty lib/dll
folder was also accepted.
So here's the new version :
http://mok.lvcm.com/cgi-bin/reactos/roswiki?New_Tree_Structure.
Best regards,
Alex Ionescu
If you attempt to spawn one cmd session after another you will run in to this crash after about 14
instances:
(shelllink.c:1738:IShellLinkW_fnResolve) (007afc80)->(hwnd=00000000 flags=0)
Failed to tell csrss about new process. Expect trouble.
(api/handle.c:71) CsrGetObject returning invalid handle
(objects/gdiobj.c:788) Attempted to lock foreign handle: 0x50147, Owner: 0x4 loc
ked: 0x0 Caller: 0x8, stockobj: 0x0
(objects/gdiobj.c:790) -> called from objects/dc.c:1509
(NTDLL:rtl/critical.c:77) RtlEnterCriticalSection: Failed to wait (Status c00000
08)
(KERNEL32:except/except.c:132) Unhandled exception
(KERNEL32:except/except.c:133) Address:
(KERNEL32:except/except.c:136) 5ffb7f8e C:\ReactOS\system32\win32csr.dll
CS:EIP 1b:5ffb7f8e
DS 23 ES 23 FS 3b GS 23
EAX: 5471e311 EBX: 0011f9f0 ECX: 0011f9f0
EDX: ffffffff EBP: 016dfdd8 ESI: 016dffbc ESP: 016dfd70
EDI: 016dff68 EFLAGS: 00000206
(KERNEL32:except/except.c:139) Frames:
(KERNEL32:except/except.c:147) 5ffb8566 C:\ReactOS\system32\win32csr.dll
(KERNEL32:except/except.c:147) 5ffb859e C:\ReactOS\system32\win32csr.dll
(KERNEL32:except/except.c:147) 5ffb88b8 C:\ReactOS\system32\win32csr.dll
(KERNEL32:except/except.c:147) 5ffb8ea4 C:\ReactOS\system32\win32csr.dll
(KERNEL32:except/except.c:147) 77e7364b C:\ReactOS\system32\user32.dll
(KERNEL32:except/except.c:147) 77e738a9 C:\ReactOS\system32\user32.dll
(KERNEL32:except/except.c:147) 5ffb9170 C:\ReactOS\system32\win32csr.dll
(KERNEL32:except/except.c:147) 7c825693 C:\ReactOS\system32\kernel32.dll
(ntuser/windc.c:747) [000001d8] GetDC() without ReleaseDC()!
__________________________________
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250
Hartmut Birr wrote:
>CVSROOT: /CVS/ReactOS
>Module name: reactos
>Repository: reactos/hal/halx86/generic/
>Changes by: hbirr(a)mok.osexperts.com 04/12/18 10:04:22
>
>Modified files:
> reactos/hal/halx86/generic/: timer.c
>
>Log message:
> - Fixed the timer calibration for processors without a tsc, spotted by Casper Hornstrup.
>
>
I think the same code is in FreeLdr too. Can you fix it there too?
Thanks,
Filip
With this patch , Reactos can now access to CVS repository . (in real
hardware) via my DSL router + Nic Realtek8139.
A checkout of freeldr module starts but freezes after downloading a
number of files as indicated below :
.......
Cvs_checkout : Updating freeldr/tools
.......
U freeldr/tools/rrmdir.c
=> Freeze at this time
This is reproductible .
Please confirm this is a known problem ?
Regards
Gerard