Opened 17 years ago

Closed 17 years ago

#174 closed defect (fixed)

DosQueryAppType throws errors when os2safe.h is included (new with version 0.6.3)

Reported by: abwillis Owned by: bird
Priority: highest Milestone: libc-0.6.3
Component: libc Version: 0.6.2
Severity: blocker Keywords: last-minute
Cc:

Description

Building Mozilla with highmem enabled results in: weakld: error: Unresolved symbol (UNDEF) '_SAFE_PCSZ_USE'. weakld: info: The symbol is referenced by:

E:\compilers\gcc335\lib\libos2.lib(SafeDosQueryAppType?.obj)

weakld: error: Unresolved symbol (UNDEF) '_SAFE_DOS_FAILURE'. weakld: info: The symbol is referenced by:

E:\compilers\gcc335\lib\libos2.lib(SafeDosQueryAppType?.obj)

weakld: error: Unresolved symbol (UNDEF) '_SAFE_PCSZ'. weakld: info: The symbol is referenced by:

E:\compilers\gcc335\lib\libos2.lib(SafeDosQueryAppType?.obj)

weakld: error: Unresolved symbol (UNDEF) '_SAFE_PCSZ_DONE'. weakld: info: The symbol is referenced by:

E:\compilers\gcc335\lib\libos2.lib(SafeDosQueryAppType?.obj)

Ignoring unresolved externals reported from weak prelinker.

E:\compilers\gcc335\lib\libos2.lib(SafeDosQueryAppType?.obj) : error LNK2029: "_SAFE_PCSZ_USE" : unresolved external E:\compilers\gcc335\lib\libos2.lib(SafeDosQueryAppType?.obj) : error LNK2029: "_SAFE_PCSZ_DONE" : unresolved external E:\compilers\gcc335\lib\libos2.lib(SafeDosQueryAppType?.obj) : error LNK2029: "_SAFE_DOS_FAILURE" : unresolved external E:\compilers\gcc335\lib\libos2.lib(SafeDosQueryAppType?.obj) : error LNK2029: "_SAFE_PCSZ" : unresolved external

mozilla\nsprpub\pr\src\md\os2\os2misc.c includes os2safe.h which results in the above error.

Change History (1)

comment:1 Changed 17 years ago by bird

Component: baselayoutlibc
Keywords: last-minute added
Milestone: libc-0.6.3
Priority: highhighest
Resolution: fixed
Severity: normalblocker
Status: newclosed
Version: 0.6.2

Forgot to include "safe.h" and either I didn't see the warnings about calling unprototyped functions or it didn't give me any. Fixed.

I'm re-releasing 0.6.3 / csd3 now because the libc062.dll was missing all the C++ stuff which broke Mozilla among other things (SYS2070). The fix for this problem is of course included in the re-release.

Note: See TracTickets for help on using tickets.