badiu raz wrote: > Hy, > I am trying to build SID but I still get errors no matter what I do. > edefinition of `struct _fpstate' > /usr/include/cygwin/signal.h > :18: error: previous definition of `struct _fpstate' > > make[8]: *** [wmFPUemu_glue.lo] Error 1 > This appears to be a genuine conflict between the struct tag in signal.h and the one in sid/component/bochs/cpu/fpu/stubs/asm/sigcontext.h. I suspect that _fpstate has recently been added to the cygwin header. I'll forward this problem on to the author (who probably no longer reads this list) and to get his opinion on renaming the one in sigcontext.h > make[5]: Entering directory `/cygdrive/d/sid/src/sid/component/families' > Making all in mep > make[6]: Entering directory `/cygdrive/d/sid/src/sid/component/families/mep' > if /bin/sh ./libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"\" -DPACKAGE_ > TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" > -DPACKAGE_BUGREPORT=\" > \" -DPACKAGE=\"sidcomp\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 > -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAV > E_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 > -DHAVE_DLF > CN_H=1 -I. -I../../../.././sid/component/families/mep -I. -I../.. -I../../../in > clude -I../../../.././sid/component/families/mep/../../../include -I../../../../ > ./sid/component/families/mep/toshapi -g -O2 -MT components.lo -MD > -MP -MF ".d > eps/components.Tpo" -c -o components.lo components.cxx; \ > then mv -f ".deps/components.Tpo" ".deps/components.Plo"; else rm -f ".d > eps/components.Tpo"; exit 1; fi > g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE > _STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"sidcomp\" > -DVERSION=\" 0.1\" -D > STDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE > _STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDI > NT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. > -I../../../.././sid/component/fami > lies/mep -I. -I../.. -I../../../include -I../../../.././sid/component/families/m > ep/../../../include -I../../../.././sid/component/families/mep/toshapi -g -O2 -M > T components.lo -MD -MP -MF .deps/components.Tpo -c components.cxx -o > components > .o > components.cxx:117: error: external linkage required for symbol 'mepfamily_compo > nent_library' because of 'dllexport' attribute. > make[6]: *** [components.lo] Error 1 > make[6]: Leaving directory `/cygdrive/d/sid/src/sid/component/families/mep' > This one I can help you with. I've committed the attached patch which should correct the problem. Dave