Closed
Bug 277569
Opened 20 years ago
Closed 19 years ago
libical doesn't compile on WinXP using gcc - undefined reference to gmtime_r
Categories
(Calendar :: Internal Components, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mattwillis, Assigned: mvl)
Details
Attachments
(1 file)
|
914 bytes,
patch
|
Details | Diff | Splinter Review |
libical doesn't compile successfully on WinXP using gcc The error I got was: undefined reference to gmtime_r ../../dist/lib/libmozical.a(icaltime.o)(.text+0xq1bd): In function icaltime_from_timet_with_zone Commenting out this line was a workaround http://lxr.mozilla.org/seamonkey/source/calendar/libical/config.h#8
| Assignee | ||
Comment 1•20 years ago
|
||
nspr has gmtime_r. Maybe we should try to use that. http://lxr.mozilla.org/seamonkey/source/nsprpub/pr/src/md/unix/ncr.c#248
Comment 2•20 years ago
|
||
someone on the newsgroup commented that this error appears with MSVC as well (I have not tried to confirm)
| Assignee | ||
Comment 3•20 years ago
|
||
nspr's impl of gmtime_r only exists on windows, so that won't work.
| Assignee | ||
Comment 4•20 years ago
|
||
I checked in this patch.
Comment 5•19 years ago
|
||
I build regularly on WinXP using gcc.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•18 years ago
|
Component: libical → Internal Components
Comment 6•18 years ago
|
||
The bugspam monkeys have been set free and are feeding on Calendar :: Internal Components. Be afraid for your sanity!
QA Contact: libical → base
You need to log in
before you can comment on or make changes to this bug.
Description
•