Pelles C forum

Pelles C => Bug reports => Topic started by: bingo on October 22, 2008, 11:48:10 AM

Title: make lib from 64bit dll // fatal error: Internal error
Post by: bingo on October 22, 2008, 11:48:10 AM
polib.exe /out:ntdll.lib ntdll.dll
POLIB: fatal error: Internal error (create_archive_file).

polib can not read 64bit dll ?


Title: Re: make lib from 64bit dll // fatal error: Internal error
Post by: TimoVJL on October 22, 2008, 02:42:43 PM
This works in Microsoft Windows Server 2003 R2 64bit SP2

polib.exe /out:ntdll.lib \windows\system32\ntdll.dll
Title: Re: make lib from 64bit dll // fatal error: Internal error
Post by: bingo on October 22, 2008, 02:53:52 PM
64bit os (2003/xp/vista)

polib.exe /out:ntdll.lib \windows\system32\ntdll.dll <- 32bit dll - ok !

polib.exe /out:ntdll.lib \windows\sysnative\ntdll.dll <- 64bit dll - error !

Title: Re: make lib from 64bit dll // fatal error: Internal error
Post by: severach on October 26, 2008, 06:09:20 AM
For making LIB files from DEF files I had to add /machine:X64 to POLIB.