|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi ~
I'm getting these linker errors (seem to be run-time library related). I'm not sure how to approach it. Any ideas please? the project is C/C+ + code. And nowhere do we have a call to fflush, at least as far as I have searched. ERROR 18: EXTERNAL SYMBOL UNRESOLVED UNRESOLVED EXTERNAL SYMBOL(S): _fflush in C:\VC60\libc.lib(closeall.c) Cannot find replacement: ssi_not_supported _fflush in C:\VC60\libc.lib(fflush.c) Cannot find replacement: ssi_not_supported __imp__SetHandleCount@4 in C:\VC60\libc.lib(ioinit.c) __imp__GetStdHandle@4 in C:\VC60\libc.lib(ioinit.c) __imp__GetFileType@4 in C:\VC60\libc.lib(ioinit.c) __imp__GetStartupInfoA@4 in C:\VC60\libc.lib(ioinit.c) __imp__GetLastError@0 in C:\VC60\libc.lib(commit.c) __imp__FlushFileBuffers@4 in C:\VC60\libc.lib(commit.c) __imp__GetLastError@0 in C:\VC60\libc.lib(write.c) __imp__WriteFile@20 in C:\VC60\libc.lib(write.c) __imp__SetStdHandle@8 in C:\VC60\libc.lib(osfinfo.c) __imp__GetLastError@0 in C:\VC60\libc.lib(osfinfo.c) __imp__GetFileType@4 in C:\VC60\libc.lib(osfinfo.c) __imp__GetLastError@0 in C:\VC60\libc.lib(lseek.c) __imp__SetFilePointer@16 in C:\VC60\libc.lib(lseek.c) __imp__GetCommandLineA@0 in C:\VC60\libc.lib(crt0.c) __imp__GetVersion@0 in C:\VC60\libc.lib(crt0.c) __imp__WriteFile@20 in C:\VC60\libc.lib(crt0msg.c) __imp__GetStdHandle@4 in C:\VC60\libc.lib(crt0msg.c) __imp__GetModuleFileNameA@12 in C: \VC60\libc.lib(crt0msg.c) __imp__HeapDestroy@4 in C:\VC60\libc.lib(heapinit.c) __imp__HeapCreate@12 in C:\VC60\libc.lib(heapinit.c) __imp__VirtualFree@12 in C:\VC60\libc.lib(heapinit.c) __imp__HeapFree@12 in C:\VC60\libc.lib(heapinit.c) __imp__FreeEnvironmentStringsA@4 in C: \VC60\libc.lib(a_env.c) __imp__FreeEnvironmentStringsW@4 in C: \VC60\libc.lib(a_env.c) __imp__WideCharToMultiByte@32 in C:\VC60\libc.lib(a_env.c) __imp__GetEnvironmentStrings@0 in C:\VC60\libc.lib(a_env.c) __imp__GetEnvironmentStringsW@0 in C:\VC60\libc.lib(a_env.c) __imp__GetModuleFileNameA@12 in C: \VC60\libc.lib(stdargv.c) __imp__UnhandledExceptionFilter@4 in C: \VC60\libc.lib(winxfltr.c) __imp__GetProcAddress@8 in C:\VC60\libc.lib(crtmbox.c) __imp__LoadLibraryA@4 in C:\VC60\libc.lib(crtmbox.c) __imp__GetCPInfo@8 in C:\VC60\libc.lib(mbctype.c) __imp__GetACP@0 in C:\VC60\libc.lib(mbctype.c) __imp__GetOEMCP@0 in C:\VC60\libc.lib(mbctype.c) __imp__HeapAlloc@12 in C:\VC60\libc.lib(sbheap.c) __imp__HeapFree@12 in C:\VC60\libc.lib(sbheap.c) __imp__VirtualFree@12 in C:\VC60\libc.lib(sbheap.c) __imp__VirtualAlloc@16 in C:\VC60\libc.lib(sbheap.c) __imp__HeapReAlloc@16 in C:\VC60\libc.lib(sbheap.c) __imp__IsBadWritePtr@8 in C:\VC60\libc.lib(sbheap.c) __imp__MultiByteToWideChar@24 in C:\VC60\libc.lib(a_str.c) __imp__GetStringTypeA@20 in C:\VC60\libc.lib(a_str.c) __imp__GetStringTypeW@16 in C:\VC60\libc.lib(a_str.c) __imp__WideCharToMultiByte@32 in C:\VC60\libc.lib(a_map.c) __imp__MultiByteToWideChar@24 in C:\VC60\libc.lib(a_map.c) __imp__LCMapStringA@24 in C:\VC60\libc.lib(a_map.c) __imp__LCMapStringW@24 in C:\VC60\libc.lib(a_map.c) 1 ERROR(S) 75 WARNING(S). *** Error code 1 |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
* kleen:
> Hi ~ > > I'm getting these linker errors (seem to be run-time library related). > I'm not sure how to approach it. See the FAQ item on how to post a question about Code That Does Not Work. > Any ideas please? See above. > the project is C/C++ code. Is it C, C++ or a mixture? Anyway, reduce the problem to a smallest possible program, then if still necessary do as noted above. > And nowhere do we have a call to fflush, at least as far as I > have searched. You can be reasonably sure that the runtime library calls fflush. > > > ERROR 18: EXTERNAL SYMBOL UNRESOLVED > UNRESOLVED EXTERNAL SYMBOL(S): > _fflush in C:\VC60\libc.lib(closeall.c) Cheers, & hth., - Alf -- A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
On Jul 15, 6:18 pm, "Alf P. Steinbach" <al...@start.no> wrote:
> * kleen: > > > Hi ~ > > > I'm getting these linker errors (seem to be run-time library related). > > I'm not sure how to approach it. > > See the FAQ item on how to post a question about Code That Does Not Work. > > > Any ideas please? > > See above. > > > the project is C/C++ code. > > Is it C, C++ or a mixture? Anyway, reduce the problem to a smallest possible > program, then if still necessary do as noted above. > > > And nowhere do we have a call to fflush, at least as far as I > > have searched. > > You can be reasonably sure that the runtime library calls fflush. > > > > > ERROR 18: EXTERNAL SYMBOL UNRESOLVED > > UNRESOLVED EXTERNAL SYMBOL(S): > > _fflush in C:\VC60\libc.lib(closeall.c) > > Cheers, & hth., > > - Alf > > -- > A: Because it messes up the order in which people normally read text. > Q: Why is it such a bad thing? > A: Top-posting. > Q: What is the most annoying thing on usenet and in e-mail? It's mixed code. btw, where can I read the FAQ? couldn't find it. |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
kleen wrote:
> > It's mixed code. btw, where can I read the FAQ? couldn't find it. Did you have to quote the entire message to ask this? The link is is posted regularly: http://www.parashift.com/c++-faq-lite/ Make sure you link mixed C and C++ applications this the C++ compiler. -- Ian Collins. |
|
![]() |
| Outils de la discussion | |
|
|