Avatar billede jan_thomsen Nybegynder
05. februar 2003 - 20:03

Problem med at compiler metakit på cygwin.

Hej, jeg har et problem ved compilering af metakit i cygwin, den kom sammen med SimGear. Da den ikke virkede provede jeg nyrere versionere og da det heller ikke virkede prøvede en ældre versioner.

Den version jeg prøver med her er metakit-2.5.3.

Er der en som kan hjælpe mig med at løse dette problem. Jeg ved ikke selv meget om Linux eller cgywin.

$ make
/bin/sh ./libtool --mode=compile g++ -c -O2 -I../unix/../include -I../unix/../sr
c -I. ../unix/../src/column.cpp
mkdir .libs
g++ -c -O2 -I../unix/../include -I../unix/../src -I. ../unix/../src/column.cpp
-DDLL_EXPORT -DPIC
mv -f column.o .libs/column.lo
g++ -c -O2 -I../unix/../include -I../unix/../src -I. ../unix/../src/column.cpp >
/dev/null 2>&1
mv -f .libs/column.lo column.lo
/bin/sh ./libtool --mode=compile g++ -c -O2 -I../unix/../include -I../unix/../sr
c -I. ../unix/../src/custom.cpp
rm -f .libs/custom.lo
g++ -c -O2 -I../unix/../include -I../unix/../src -I. ../unix/../src/custom.cpp
-DDLL_EXPORT -DPIC
mv -f custom.o .libs/custom.lo
g++ -c -O2 -I../unix/../include -I../unix/../src -I. ../unix/../src/custom.cpp >
/dev/null 2>&1
mv -f .libs/custom.lo custom.lo
/bin/sh ./libtool --mode=compile g++ -c -O2 -I../unix/../include -I../unix/../sr
c -I. ../unix/../src/derived.cpp
rm -f .libs/derived.lo
g++ -c -O2 -I../unix/../include -I../unix/../src -I. ../unix/../src/derived.cpp
-DDLL_EXPORT -DPIC
mv -f derived.o .libs/derived.lo
g++ -c -O2 -I../unix/../include -I../unix/../src -I. ../unix/../src/derived.cpp
>/dev/null 2>&1
mv -f .libs/derived.lo derived.lo
/bin/sh ./libtool --mode=compile g++ -c -O2 -I../unix/../include -I../unix/../sr
c -I. ../unix/../src/fileio.cpp
rm -f .libs/fileio.lo
g++ -c -O2 -I../unix/../include -I../unix/../src -I. ../unix/../src/fileio.cpp
-DDLL_EXPORT -DPIC
mv -f fileio.o .libs/fileio.lo
g++ -c -O2 -I../unix/../include -I../unix/../src -I. ../unix/../src/fileio.cpp >
/dev/null 2>&1
mv -f .libs/fileio.lo fileio.lo
/bin/sh ./libtool --mode=compile g++ -c -O2 -I../unix/../include -I../unix/../sr
c -I. ../unix/../src/field.cpp
rm -f .libs/field.lo
g++ -c -O2 -I../unix/../include -I../unix/../src -I. ../unix/../src/field.cpp  -
DDLL_EXPORT -DPIC
mv -f field.o .libs/field.lo
g++ -c -O2 -I../unix/../include -I../unix/../src -I. ../unix/../src/field.cpp >/
dev/null 2>&1
mv -f .libs/field.lo field.lo
/bin/sh ./libtool --mode=compile g++ -c -O2 -I../unix/../include -I../unix/../sr
c -I. ../unix/../src/format.cpp
rm -f .libs/format.lo
g++ -c -O2 -I../unix/../include -I../unix/../src -I. ../unix/../src/format.cpp
-DDLL_EXPORT -DPIC
mv -f format.o .libs/format.lo
g++ -c -O2 -I../unix/../include -I../unix/../src -I. ../unix/../src/format.cpp >
/dev/null 2>&1
mv -f .libs/format.lo format.lo
/bin/sh ./libtool --mode=compile g++ -c -O2 -I../unix/../include -I../unix/../sr
c -I. ../unix/../src/handler.cpp
rm -f .libs/handler.lo
g++ -c -O2 -I../unix/../include -I../unix/../src -I. ../unix/../src/handler.cpp
-DDLL_EXPORT -DPIC
mv -f handler.o .libs/handler.lo
g++ -c -O2 -I../unix/../include -I../unix/../src -I. ../unix/../src/handler.cpp
>/dev/null 2>&1
mv -f .libs/handler.lo handler.lo
/bin/sh ./libtool --mode=compile g++ -c -O2 -I../unix/../include -I../unix/../sr
c -I. ../unix/../src/persist.cpp
rm -f .libs/persist.lo
g++ -c -O2 -I../unix/../include -I../unix/../src -I. ../unix/../src/persist.cpp
-DDLL_EXPORT -DPIC
mv -f persist.o .libs/persist.lo
g++ -c -O2 -I../unix/../include -I../unix/../src -I. ../unix/../src/persist.cpp
>/dev/null 2>&1
mv -f .libs/persist.lo persist.lo
/bin/sh ./libtool --mode=compile g++ -c -O2 -I../unix/../include -I../unix/../sr
c -I. ../unix/../src/remap.cpp
rm -f .libs/remap.lo
g++ -c -O2 -I../unix/../include -I../unix/../src -I. ../unix/../src/remap.cpp  -
DDLL_EXPORT -DPIC
mv -f remap.o .libs/remap.lo
g++ -c -O2 -I../unix/../include -I../unix/../src -I. ../unix/../src/remap.cpp >/
dev/null 2>&1
mv -f .libs/remap.lo remap.lo
/bin/sh ./libtool --mode=compile g++ -c -O2 -I../unix/../include -I../unix/../sr
c -I. ../unix/../src/std.cpp
rm -f .libs/std.lo
g++ -c -O2 -I../unix/../include -I../unix/../src -I. ../unix/../src/std.cpp  -DD
LL_EXPORT -DPIC
mv -f std.o .libs/std.lo
g++ -c -O2 -I../unix/../include -I../unix/../src -I. ../unix/../src/std.cpp >/de
v/null 2>&1
mv -f .libs/std.lo std.lo
/bin/sh ./libtool --mode=compile g++ -c -O2 -I../unix/../include -I../unix/../sr
c -I. ../unix/../src/store.cpp
rm -f .libs/store.lo
g++ -c -O2 -I../unix/../include -I../unix/../src -I. ../unix/../src/store.cpp  -
DDLL_EXPORT -DPIC
mv -f store.o .libs/store.lo
g++ -c -O2 -I../unix/../include -I../unix/../src -I. ../unix/../src/store.cpp >/
v/null 2>&1
mv -f .libs/std.lo std.lo
/bin/sh ./libtool --mode=compile g++ -c -O2 -I../unix/../include -I../unix/../sr
c -I. ../unix/../src/store.cpp
rm -f .libs/store.lo
g++ -c -O2 -I../unix/../include -I../unix/../src -I. ../unix/../src/store.cpp  -
DDLL_EXPORT -DPIC
mv -f store.o .libs/store.lo
g++ -c -O2 -I../unix/../include -I../unix/../src -I. ../unix/../src/store.cpp >/
dev/null 2>&1
mv -f .libs/store.lo store.lo
/bin/sh ./libtool --mode=compile g++ -c -O2 -I../unix/../include -I../unix/../sr
c -I. ../unix/../src/string.cpp
rm -f .libs/string.lo
g++ -c -O2 -I../unix/../include -I../unix/../src -I. ../unix/../src/string.cpp
-DDLL_EXPORT -DPIC
../src/string.cpp: In function `int strcasecmp(const char*, const char*)':
../src/string.cpp:39: `int strcasecmp(const char*, const char*)' was declared
  `extern' and later `static'
/usr/include/string.h:60: previous declaration of `int strcasecmp(const char*,
  const char*)'
make: *** [string.o] Error 1
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
IT-kurser om Microsoft 365, sikkerhed, personlig vækst, udvikling, digital markedsføring, grafisk design, SAP og forretningsanalyse.

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester