From: Tehn Y. C. <teh...@gr...> - 2006-07-14 07:45:55
|
Hi, I am trying to build xbase-2.1.1 under MinGW, however, I get the following errors when building. Any ideas on what the problem might be? I did a search through the internet and found that xbase is supported under MinGW, but fail to find any instruction on build it. By the way, the version of gcc that I am using gcc 3.4.2 (mingw-special). F:\tehn-yit.chin\projects\aegis\xbase\xbase-2.1.1>mingw32-make -f makefile.g95 clean cd xbase && mingw32-make -f makefile.g95 clean mingw32-make[1]: Entering directory `F:/tehn-yit.chin/projects/aegis/xbase/xbase-2.1.1/xbase' del dobj\*.o sobj\*.o xbase-2.1.0.dll libxbasedll.a xbase-2.1.0.def libxbase.a Could Not Find F:\tehn-yit.chin\projects\aegis\xbase\xbase-2.1.1\xbase\sobj\*.o Could Not Find F:\tehn-yit.chin\projects\aegis\xbase\xbase-2.1.1\xbase\xbase-2.1.0.dll mingw32-make[1]: Leaving directory `F:/tehn-yit.chin/projects/aegis/xbase/xbase-2.1.1/xbase' cd examples && mingw32-make -f makefile.g95 clean mingw32-make[1]: Entering directory `F:/tehn-yit.chin/projects/aegis/xbase/xbase-2.1.1/examples' del *.o *.exe Could Not Find F:\tehn-yit.chin\projects\aegis\xbase\xbase-2.1.1\examples\*.o mingw32-make[1]: Leaving directory `F:/tehn-yit.chin/projects/aegis/xbase/xbase-2.1.1/examples' cd libtest && mingw32-make -f makefile.g95 clean mingw32-make[1]: Entering directory `F:/tehn-yit.chin/projects/aegis/xbase/xbase-2.1.1/libtest' del *.o *.exe Could Not Find F:\tehn-yit.chin\projects\aegis\xbase\xbase-2.1.1\libtest\*.o mingw32-make[1]: Leaving directory `F:/tehn-yit.chin/projects/aegis/xbase/xbase-2.1.1/libtest' cd bin && mingw32-make -f makefile.g95 clean mingw32-make[1]: Entering directory `F:/tehn-yit.chin/projects/aegis/xbase/xbase-2.1.1/bin' del *.o *.exe Could Not Find F:\tehn-yit.chin\projects\aegis\xbase\xbase-2.1.1\bin\*.o mingw32-make[1]: Leaving directory `F:/tehn-yit.chin/projects/aegis/xbase/xbase-2.1.1/bin' F:\tehn-yit.chin\projects\aegis\xbase\xbase-2.1.1>mingw32-make -f makefile.g95 cd xbase && mingw32-make -f makefile.g95 all mingw32-make[1]: Entering directory `F:/tehn-yit.chin/projects/aegis/xbase/xbase-2.1.1/xbase' c++ -c -DXBMAKINGDLL -mdll -I.. -O2 -Wall --pipe -fvtable-thunks -o dobj/dbf.o dbf.cpp cc1plus.exe: warning: switch "-fvtable-thunks" is no longer supported dbf.cpp: In member function `xbShort xbDbf::OpenDatabase(const char*)': dbf.cpp:900: warning: unused variable 'NameLen' dbf.cpp: In member function `xbShort xbDbf::GetRecord(xbULong)': dbf.cpp:1331: warning: unused variable 'rc' dbf.cpp: In member function `xbShort xbDbf::Zap(xbShort)': dbf.cpp:2689: warning: unused variable 'NameLen' c++ -c -DXBMAKINGDLL -mdll -I.. -O2 -Wall --pipe -fvtable-thunks -o dobj/exp.o exp.cpp cc1plus.exe: warning: switch "-fvtable-thunks" is no longer supported c++ -c -DXBMAKINGDLL -mdll -I.. -O2 -Wall --pipe -fvtable-thunks -o dobj/expfunc.o expfunc.cpp cc1plus.exe: warning: switch "-fvtable-thunks" is no longer supported c++ -c -DXBMAKINGDLL -mdll -I.. -O2 -Wall --pipe -fvtable-thunks -o dobj/expproc.o expproc.cpp cc1plus.exe: warning: switch "-fvtable-thunks" is no longer supported c++ -c -DXBMAKINGDLL -mdll -I.. -O2 -Wall --pipe -fvtable-thunks -o dobj/fields.o fields.cpp cc1plus.exe: warning: switch "-fvtable-thunks" is no longer supported c++ -c -DXBMAKINGDLL -mdll -I.. -O2 -Wall --pipe -fvtable-thunks -o dobj/html.o html.cpp cc1plus.exe: warning: switch "-fvtable-thunks" is no longer supported c++ -c -DXBMAKINGDLL -mdll -I.. -O2 -Wall --pipe -fvtable-thunks -o dobj/index.o index.cpp cc1plus.exe: warning: switch "-fvtable-thunks" is no longer supported c++ -c -DXBMAKINGDLL -mdll -I.. -O2 -Wall --pipe -fvtable-thunks -o dobj/lock.o lock.cpp cc1plus.exe: warning: switch "-fvtable-thunks" is no longer supported lock.cpp:55: error: external linkage required for symbol 'xbF_SETLK' because of 'dllexport' attribute. lock.cpp:56: error: external linkage required for symbol 'xbF_SETLKW' because of 'dllexport' attribute. mingw32-make[1]: *** [dobj/lock.o] Error 1 mingw32-make[1]: Leaving directory `F:/tehn-yit.chin/projects/aegis/xbase/xbase-2.1.1/xbase' mingw32-make: *** [xbase_all] Error 2 Many Thanks, -- Tehn Yit Chin Embedded System Engineer, Grey Innovation Pty. Ltd. |