Advertisement
Guest User

Untitled

a guest
Mar 31st, 2015
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. int foo1();
  2. int foo2(int a);
  3.  
  4. #ifndef INTEGRATION_FACADE_H
  5. #define INTEGRATION_FACADE_H
  6. int foo1() { return 1; }
  7. int foo2(int a) { return a; }
  8. #endif // INTEGRATION_FACADE_H
  9.  
  10. -------------- Build: Release in Zoog.Integration.Test.Static_Library (compiler: GNU GCC Compiler)---------------
  11.  
  12. mingw32-gcc.exe -Wall -O2 -std=gnu99 -IC:Librarygtkincludegtk-3.0 - IC:Librarygtkincludegdk-pixbuf-2.0 -IC:Librarygtkincludeglib-2.0 -IC:Librarygtkincludepango-1.0 -IC:Librarygtklibgtk-3.03.0.0 -IC:Librarygtklibgtk-3.0 -IC:Librarygtklibglib-2.0include -IC:Librarygtkincludecairo -IC:Librarygtkincludeatk-1.0 -I"E:WorkNabusVPNClient_CrossProjectvpnopenvpn buildinclude" -c E:!WorkNabusVPNClient_CrossProjectvpnZoog.Integration.Test.Static_Libraryintegration_facade.c -o objReleaseintegration_facade.o
  13. cmd /c if exist binReleaselibZoog.Integration.Test.a del binReleaselibZoog.Integration.Test.a
  14. ar.exe -r -s binReleaselibZoog.Integration.Test.a objReleaseintegration_facade.o
  15. ar.exe: creating binReleaselibZoog.Integration.Test.a
  16. Output file is binReleaselibZoog.Integration.Test.a with size 748.00 bytes
  17. Process terminated with status 0 (0 minute(s), 7 second(s))
  18. 0 error(s), 0 warning(s) (0 minute(s), 7 second(s))
  19.  
  20. #include "integration_facade.h"
  21. void main()
  22. {
  23.  
  24. int a ;
  25.  
  26. a = foo1();
  27. a = foo2(400);
  28. }
  29.  
  30. /OUT:"E:hostReleasehost.exe" /MANIFEST /LTCG /NXCOMPAT /PDB:"E:hostReleasehost.pdb" /DYNAMICBASE "E:hostlibZoog.Integration.Test.Static_Library.lib" "kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "odbc32.lib" "odbccp32.lib" /ALLOWISOLATION /DEBUG /MACHINE:X86 /OPT:REF /SAFESEH:NO /PGD:"E:hostReleasehost.pgd" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /ManifestFile:"Releasehost.exe.intermediate.manifest" /OPT:ICF /ERRORREPORT:PROMPT /NOLOGO /TLBID:1
  31.  
  32. 1 > ------ Build started : Project : host, Configuration : Release Win32 ------
  33. 1 > main.c
  34. 1 > main.obj: error LNK2001: unresolved external symbol "_foo2"
  35. 1 > main.obj: error LNK2001: unresolved external symbol "_foo1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement