public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
* Error Building SID..
@ 2008-12-11 21:28 Shamik Datta
  2008-12-11 23:50 ` Frank Ch. Eigler
  0 siblings, 1 reply; 16+ messages in thread
From: Shamik Datta @ 2008-12-11 21:28 UTC (permalink / raw)
  To: sid

Hi,

I am new to SID and I am having problems setting it up. I am trying to
build it on an X86 machine, running Win XP with cygwin.

I could fix a few minor errors, but got stuck in the end. The
compilation all goes through well. but the build finally breaks in the
linking stage, looking for some unresolved X APIs. Attaching the log.
You could search for 'XPending'.

Though there are stubs present for these APIs, I am not sure if I
require some special cygwin pkgs to  be installed to resolve these
dependencies. Please suggest.

regards,
Shamik

=======================================

/bin/sh ./libtool --tag=CXX --mode=link g++ -DSID_STATIC
-DSIDTARGET_MEP -DSIDTARGET_SH -DSIDTARGET_SH64 -g -O2   -o sid.exe
-export-dynamic -static -export-symbols-regex '[a-zA-Z0-9]*_library$'
-dlpreopen ../../component/audio/libaudio.la -dlpreopen
../../component/cache/libcache.la -dlpreopen
../../component/cfgroot/libconfig.la -dlpreopen
../../component/cgen-cpu/libcgencpu.la -dlpreopen
../../component/bochs/libx86.la -dlpreopen
../../component/consoles/libconsoles.la -dlpreopen
../../component/families/mep/libmepfamily.la -dlpreopen
../../component/gdb/libgdb.la -dlpreopen
../../component/gloss/libgloss.la -dlpreopen
../../component/glue/libglue.la -dlpreopen
../../component/ide/libide.la -dlpreopen
../../component/interrupt/libinterrupt.la -dlpreopen
../../component/lcd/libhd44780u.la -dlpreopen
../../component/lcd/liblcd-char-display.la -dlpreopen
../../component/lcd/libt6963c.la -dlpreopen
../../component/loader/libloader.la -dlpreopen
../../component/mapper/libmapper.la -dlpreopen
../../component/memory/libmemory.la -dlpreopen
../../component/mmu/libmmu.la -dlpreopen
../../component/parport/libparport.la -dlpreopen
../../component/profiling/libprof.la -dlpreopen
../../component/rtc/librtc.la -dlpreopen
../../component/sched/libsched.la -dlpreopen
../../component/tcl/libtclapi.la -dlpreopen
../../component/timers/libtimers.la -dlpreopen
../../component/uart/libuart.la mainDynamic.o baseCfg.o commonCfg.o
shCfg.o mepCfg.o -L../../../libiberty/pic -L../../../libiberty
-liberty
mkdir .libs
rm -f .libs/sid.exe.nm .libs/sid.exe.nmS .libs/sid.exe.nmT
creating .libs/sid.exeS.c
extracting global C symbols from `../../component/audio/.libs/libaudio.a'
extracting global C symbols from `../../component/cache/.libs/libcache.a'
extracting global C symbols from `../../component/cfgroot/.libs/libconfig.a'
extracting global C symbols from `../../component/cgen-cpu/.libs/libcgencpu.a'
extracting global C symbols from `../../component/bochs/.libs/libx86.a'
extracting global C symbols from `../../component/consoles/.libs/libconsoles.a'
extracting global C symbols from
`../../component/families/mep/.libs/libmepfamily.a'
extracting global C symbols from `../../component/gdb/.libs/libgdb.a'
extracting global C symbols from `../../component/gloss/.libs/libgloss.a'
extracting global C symbols from `../../component/glue/.libs/libglue.a'
extracting global C symbols from `../../component/ide/.libs/libide.a'
extracting global C symbols from
`../../component/interrupt/.libs/libinterrupt.a'
extracting global C symbols from `../../component/lcd/.libs/libhd44780u.a'
extracting global C symbols from
`../../component/lcd/.libs/liblcd-char-display.a'
extracting global C symbols from `../../component/lcd/.libs/libt6963c.a'
extracting global C symbols from `../../component/loader/.libs/libloader.a'
extracting global C symbols from `../../component/mapper/.libs/libmapper.a'
extracting global C symbols from `../../component/memory/.libs/libmemory.a'
extracting global C symbols from `../../component/mmu/.libs/libmmu.a'
extracting global C symbols from `../../component/parport/.libs/libparport.a'
extracting global C symbols from `../../component/profiling/.libs/libprof.a'
extracting global C symbols from `../../component/rtc/.libs/librtc.a'
extracting global C symbols from `../../component/sched/.libs/libsched.a'
extracting global C symbols from `../../component/tcl/.libs/libtclapi.a'
extracting global C symbols from `../../component/timers/.libs/libtimers.a'
extracting global C symbols from `../../component/uart/.libs/libuart.a'
(cd .libs && gcc -c -fno-builtin "sid.exeS.c")
rm -f .libs/sid.exeS.c .libs/sid.exe.nm .libs/sid.exe.nmS .libs/sid.exe.nmT
g++ -DSID_STATIC -DSIDTARGET_MEP -DSIDTARGET_SH -DSIDTARGET_SH64 -g
-O2 -o sid.exe .libs/sid.exeS.o mainDynamic.o baseCfg.o commonCfg.o
shCfg.o mepCfg.o -Wl,--export-dynamic
../../component/audio/.libs/libaudio.a
../../component/cache/.libs/libcache.a
../../component/cfgroot/.libs/libconfig.a -ldl
../../component/cgen-cpu/.libs/libcgencpu.a
-L/home/Work/Emulation/SID/build/intl /usr/lib/libintl.a -L/usr/lib
/usr/lib/libiconv.a -L/home/Work/Emulation/SID/build/libiberty/pic
-L/home/Work/Emulation/SID/build/libiberty -lpthread
../../component/bochs/.libs/libx86.a
../../component/consoles/.libs/libconsoles.a -lresolv
../../component/families/mep/.libs/libmepfamily.a
../../component/gdb/.libs/libgdb.a
../../component/gloss/.libs/libgloss.a
../../component/glue/.libs/libglue.a
../../component/ide/.libs/libide.a
../../component/interrupt/.libs/libinterrupt.a
../../component/lcd/.libs/libhd44780u.a
../../component/lcd/.libs/liblcd-char-display.a -lcurses
../../component/lcd/.libs/libt6963c.a
../../component/loader/.libs/libloader.a
../../component/mapper/.libs/libmapper.a
../../component/memory/.libs/libmemory.a
../../component/mmu/.libs/libmmu.a
../../component/parport/.libs/libparport.a
../../component/profiling/.libs/libprof.a
../../component/rtc/.libs/librtc.a
../../component/sched/.libs/libsched.a
../../component/tcl/.libs/libtclapi.a -ltk84
-L/home/Work/Emulation/SID/build/tcl/win -ltcl84 -lgdi32 -lcomdlg32
-lwinspool ../../component/timers/.libs/libtimers.a
../../component/uart/.libs/libuart.a -lwinmm -liberty
../../component/bochs/.libs/libx86.a(x-gui.o): In function
`_ZN5x_gui13handle_eventsEj':
/home/Work/Emulation/SID/src/sid/component/bochs/gui/x-gui.cc:542:
undefined reference to `_XPending'
/home/Work/Emulation/SID/src/sid/component/bochs/gui/x-gui.cc:534:
undefined reference to `_XLookupString'
/home/Work/Emulation/SID/src/sid/component/bochs/gui/x-gui.cc:542:
undefined reference to `_XPending'
/home/Work/Emulation/SID/src/sid/component/bochs/gui/x-gui.cc:540:
undefined reference to `_XLookupString'
../../component/bochs/.libs/libx86.a(x-gui.o): In function
`_ZN5x_gui14update_displayEj':
/home/Work/Emulation/SID/src/sid/component/bochs/gui/x-gui.cc:566:
undefined reference to `_XGetWMNormalHints'
/home/Work/Emulation/SID/src/sid/component/bochs/gui/x-gui.cc:634:
undefined reference to `_XDrawImageString'
/home/Work/Emulation/SID/src/sid/component/bochs/gui/x-gui.cc:608:
undefined reference to `_XDrawImageString'
/home/Work/Emulation/SID/src/sid/component/bochs/gui/x-gui.cc:570:
undefined reference to `_XSetWMNormalHints'
/home/Work/Emulation/SID/src/sid/component/bochs/gui/x-gui.cc:656:
undefined reference to `_XDrawImageString'
../../component/bochs/.libs/libx86.a(x-gui.o): In function
`_ZN5x_gui20palette_change_indexEj':
/home/Work/Emulation/SID/src/sid/component/bochs/gui/x-gui.cc:684:
undefined reference to `_XStoreColor'
../../component/bochs/.libs/libx86.a(x-gui.o): In function
`_ZN5x_gui9load_fontEv':
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/basic_string.h:1450:
undefined reference to `_XLoadQueryFont'
../../component/bochs/.libs/libx86.a(x-gui.o): In function `_ZN5x_gui4initEj':
/home/Work/Emulation/SID/src/sid/component/bochs/gui/x-gui.cc:265:
undefined reference to `_XOpenDisplay'
/home/Work/Emulation/SID/src/sid/component/bochs/gui/x-gui.cc:293:
undefined reference to `_XCreateSimpleWindow'
/home/Work/Emulation/SID/src/sid/component/bochs/gui/x-gui.cc:404:
undefined reference to `_XSetWMProperties'
/home/Work/Emulation/SID/src/sid/component/bochs/gui/x-gui.cc:431:
undefined reference to `_XSetState'
/home/Work/Emulation/SID/src/sid/component/bochs/gui/x-gui.cc:433:
undefined reference to `_XSetState'
/home/Work/Emulation/SID/src/sid/component/bochs/gui/x-gui.cc:442:
undefined reference to `_XSync'
/home/Work/Emulation/SID/src/sid/component/bochs/gui/x-gui.cc:488:
undefined reference to `_XFlush'
/home/Work/Emulation/SID/src/sid/component/bochs/gui/x-gui.cc:312:
undefined reference to `_XAllocColorCells'
/home/Work/Emulation/SID/src/sid/component/bochs/gui/x-gui.cc:334:
undefined reference to `_XStoreColor'
/home/Work/Emulation/SID/src/sid/component/bochs/gui/x-gui.cc:267:
undefined reference to `_XDisplayName'
collect2: ld returned 1 exit status
rm -f .libs/sid.exeS.o
make[5]: *** [sid.exe] Error 1
make[5]: Leaving directory `/home/Work/Emulation/SID/build/sid/main/dynamic'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/Work/Emulation/SID/build/sid/main/dynamic'
make[4]: Entering directory `/home/Work/Emulation/SID/build/sid/main'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/Work/Emulation/SID/build/sid/main'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/Work/Emulation/SID/build/sid/main'
Making all in bsp
make[3]: Entering directory `/home/Work/Emulation/SID/build/sid/bsp'
Making all in .
make[4]: Entering directory `/home/Work/Emulation/SID/build/sid/bsp'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/Work/Emulation/SID/build/sid/bsp'
Making all in pregen
make[4]: Entering directory `/home/Work/Emulation/SID/build/sid/bsp/pregen'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/Work/Emulation/SID/build/sid/bsp/pregen'
make[3]: Leaving directory `/home/Work/Emulation/SID/build/sid/bsp'
Making all in samples
make[3]: Entering directory `/home/Work/Emulation/SID/build/sid/samples'
make  all-am
make[4]: Entering directory `/home/Work/Emulation/SID/build/sid/samples'
if /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I/home/Work/Emulation/SID/src/sid/samples -I. -I. -I../include
-I/home/Work/Emulation/SID/src/sid/samples/../include    -g -O2 -MT
timer.lo -MD -MP -MF ".deps/timer.Tpo" -c -o timer.lo
/home/Work/Emulation/SID/src/sid/samples/timer.cxx; \
    then mv -f ".deps/timer.Tpo" ".deps/timer.Plo"; else rm -f
".deps/timer.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I/home/Work/Emulation/SID/src/sid/samples
-I. -I. -I../include
-I/home/Work/Emulation/SID/src/sid/samples/../include -g -O2 -MT
timer.lo -MD -MP -MF .deps/timer.Tpo -c
/home/Work/Emulation/SID/src/sid/samples/timer.cxx -o timer.o
/bin/sh ./libtool --tag=CXX --mode=link g++  -g -O2   -o libexample.la
-rpath /home/Work/Emulation/SID/install//lib/sidsamples -module
-no-undefined timer.lo
mkdir .libs
ar rc .libs/libexample.a  timer.o
ranlib .libs/libexample.a
creating libexample.la
(cd .libs && rm -f libexample.la && ln -s ../libexample.la libexample.la)
make[4]: Leaving directory `/home/Work/Emulation/SID/build/sid/samples'
make[3]: Leaving directory `/home/Work/Emulation/SID/build/sid/samples'
Making all in demos
make[3]: Entering directory `/home/Work/Emulation/SID/build/sid/demos'
make  all-recursive
make[4]: Entering directory `/home/Work/Emulation/SID/build/sid/demos'
make[5]: Entering directory `/home/Work/Emulation/SID/build/sid/demos'
Type 'make all-demos' to build the demos.
make[5]: Leaving directory `/home/Work/Emulation/SID/build/sid/demos'
make[4]: Leaving directory `/home/Work/Emulation/SID/build/sid/demos'
make[3]: Leaving directory `/home/Work/Emulation/SID/build/sid/demos'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Work/Emulation/SID/build/sid'
make[1]: *** [all-sid] Error 2
make[1]: Leaving directory `/home/Work/Emulation/SID/build'
make: *** [all] Error 2

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Error Building SID..
  2008-12-11 21:28 Error Building SID Shamik Datta
@ 2008-12-11 23:50 ` Frank Ch. Eigler
       [not found]   ` <239b036a0812121037p534a4ca1t759ea754c7ebad62@mail.gmail.com>
  0 siblings, 1 reply; 16+ messages in thread
From: Frank Ch. Eigler @ 2008-12-11 23:50 UTC (permalink / raw)
  To: Shamik Datta; +Cc: sid

Hi -

On Fri, Dec 12, 2008 at 02:58:00AM +0530, Shamik Datta wrote:
> [...]
> I am new to SID and I am having problems setting it up. I am trying to
> build it on an X86 machine, running Win XP with cygwin.
> [...]
> You could search for 'XPending'.

I believe these are standard libX11 library calls.  Perhaps you
just need to install the X development libraries / headers.

- FChE

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Error Building SID..
       [not found]             ` <239b036a0812151202y5ed2a0a4y486ce4905503de67@mail.gmail.com>
@ 2008-12-15 20:39               ` Frank Ch. Eigler
       [not found]                 ` <239b036a0812211557h2d73685pf3ccd01a5ac3d6da@mail.gmail.com>
  0 siblings, 1 reply; 16+ messages in thread
From: Frank Ch. Eigler @ 2008-12-15 20:39 UTC (permalink / raw)
  To: Shamik Datta; +Cc: sid

Hi -

On Tue, Dec 16, 2008 at 01:32:40AM +0530, Shamik Datta wrote:
> [...]
> another info. Would you know of any out of box simulations for SID
> that I might be able to run directly. Basically, something for me to
> play with. The demos used during symposiums etc, are they available
> somewhere in public domain?

I believe that back in the day we demonstrated linux running on the
bochs x86 models, and eCos on arm and maybe another configuration.
I'd start with the latter.  google "ecos sid" and you'll see some good
stuff.

- FChE

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Error Building SID..
       [not found]                 ` <239b036a0812211557h2d73685pf3ccd01a5ac3d6da@mail.gmail.com>
@ 2008-12-25 18:45                   ` Frank Ch. Eigler
  0 siblings, 0 replies; 16+ messages in thread
From: Frank Ch. Eigler @ 2008-12-25 18:45 UTC (permalink / raw)
  To: Shamik Datta; +Cc: sid

Hi -

On Mon, Dec 22, 2008 at 05:27:53AM +0530, Shamik Datta wrote:
> [...]
> What SID essentially provides is the low level API for the components
> to talk to each other, the pin, the bus and the attribute interface.
> The config file inter-connects all the components through their these
> interfaces. During the simulation instances are created, at any
> activity on these interfaces, the appropriate function is called, eg,
> pin.driven. I presume for these set of APIs the calling bridge is
> setup in tcl, or something like that?, which enables writing
> components in tcl directly. hopefully more or less correct till now.

Right.

> I see for all the components there are class definitions and
> implementations. Again what SID provides here is the set of .h files
> in the ./sid/include directory which implement some basic and some
> utility functions, for these aforementioned interfaces. The rest of
> the design is completely open. SID provides no infrastructure or asks
> for any protocol here. It is left to the designer to define his
> classes (modules) and functions (interfaces), so as to mimic the
> actual hardware.

Right.

> So, for 'bochs' which was an existing emulation of the x86 processor,
> with SID, you have created its bus, pin and attribute interface and
> now other components can exchange data as well as use the existing
> processor emulation.

Right.

- FChE

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Error building SID
  2007-10-31 13:45 Error building SID badiu raz
  2007-10-31 14:58 ` Dave Brolley
@ 2007-10-31 17:25 ` Dave Brolley
  1 sibling, 0 replies; 16+ messages in thread
From: Dave Brolley @ 2007-10-31 17:25 UTC (permalink / raw)
  To: badiu raz; +Cc: sid

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'
>
>   
Apparently sigcontext.h is just a stub header and using _fpstate from 
signal.h should be just fine. The suggestion is to try defining 
_ASMi386_SIGCONTEXT_H during your build to exclude the contents of 
sigcontext.h.

Dave

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Error building SID
  2007-10-31 13:45 Error building SID badiu raz
@ 2007-10-31 14:58 ` Dave Brolley
  2007-10-31 17:25 ` Dave Brolley
  1 sibling, 0 replies; 16+ messages in thread
From: Dave Brolley @ 2007-10-31 14:58 UTC (permalink / raw)
  To: badiu raz; +Cc: sid

[-- Attachment #1: Type: text/plain, Size: 2681 bytes --]

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


[-- Attachment #2: sid-dllexport.ChangeLog --]
[-- Type: text/plain, Size: 145 bytes --]

2007-10-31  Dave Brolley  <brolley@redhat.com>

        * components.cxx (mepfamily_component_library): Correct DLLEXPORT
        specification.

[-- Attachment #3: sid-dllexport.patch.txt --]
[-- Type: text/plain, Size: 945 bytes --]

Index: sid/component/families/mep/components.cxx
===================================================================
RCS file: /cvs/cvsfiles/devo/sid/component/families/mep/components.cxx,v
retrieving revision 1.15
diff -c -p -r1.15 components.cxx
*** sid/component/families/mep/components.cxx	22 Aug 2005 21:15:25 -0000	1.15
--- sid/component/families/mep/components.cxx	31 Oct 2007 14:42:02 -0000
*************** compMepFamilyDelete(component* c)
*** 112,120 ****
    // end-toshapi-destructors
  }
  
! extern const component_library mepfamily_component_library;
  
! const component_library mepfamily_component_library DLLEXPORT =
  {
    COMPONENT_LIBRARY_MAGIC,
    &compMepFamilyListTypes,
--- 112,120 ----
    // end-toshapi-destructors
  }
  
! DLLEXPORT extern const component_library mepfamily_component_library;
  
! const component_library mepfamily_component_library =
  {
    COMPONENT_LIBRARY_MAGIC,
    &compMepFamilyListTypes,

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Error building SID
@ 2007-10-31 13:45 badiu raz
  2007-10-31 14:58 ` Dave Brolley
  2007-10-31 17:25 ` Dave Brolley
  0 siblings, 2 replies; 16+ messages in thread
From: badiu raz @ 2007-10-31 13:45 UTC (permalink / raw)
  To: sid

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
make[8]: Leaving directory `/cygdrive/d/sid/src/sid/component/bochs/cpu/fpu'
make[8]: Entering directory `/cygdrive/d/sid/src/sid/component/bochs/cpu'
make[8]: *** No rule to make target `fpu/libfpu.la', needed by
`libcpu.la'.  Sto
p.
make[8]: Leaving directory `/cygdrive/d/sid/src/sid/component/bochs/cpu'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory `/cygdrive/d/sid/src/sid/component/bochs/cpu'
Making all in .
make[7]: Entering directory `/cygdrive/d/sid/src/sid/component/bochs'
make[7]: *** No rule to make target `cpu/libcpu.la', needed by `libx86.la'.  Sto
p.
make[7]: Leaving directory `/cygdrive/d/sid/src/sid/component/bochs'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/cygdrive/d/sid/src/sid/component/bochs'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/cygdrive/d/sid/src/sid/component/bochs'
Making all in cfgroot
make[5]: Entering directory `/cygdrive/d/sid/src/sid/component/cfgroot'
make  all-recursive
make[6]: Entering directory `/cygdrive/d/sid/src/sid/component/cfgroot'
Making all in libltdl
make[7]: Entering directory `/cygdrive/d/sid/src/sid/component/cfgroot/libltdl'
make  all-am
make[8]: Entering directory `/cygdrive/d/sid/src/sid/component/cfgroot/libltdl'
make[8]: Leaving directory `/cygdrive/d/sid/src/sid/component/cfgroot/libltdl'
make[7]: Leaving directory `/cygdrive/d/sid/src/sid/component/cfgroot/libltdl'
make[7]: Entering directory `/cygdrive/d/sid/src/sid/component/cfgroot'
make[7]: Leaving directory `/cygdrive/d/sid/src/sid/component/cfgroot'
make[6]: Leaving directory `/cygdrive/d/sid/src/sid/component/cfgroot'
make[5]: Leaving directory `/cygdrive/d/sid/src/sid/component/cfgroot'
Making all in tcl
make[5]: Entering directory `/cygdrive/d/sid/src/sid/component/tcl'
make  all-am
make[6]: Entering directory `/cygdrive/d/sid/src/sid/component/tcl'
make[6]: Leaving directory `/cygdrive/d/sid/src/sid/component/tcl'
make[5]: Leaving directory `/cygdrive/d/sid/src/sid/component/tcl'
Making all in audio
make[5]: Entering directory `/cygdrive/d/sid/src/sid/component/audio'
make  all-am
make[6]: Entering directory `/cygdrive/d/sid/src/sid/component/audio'
make[6]: Leaving directory `/cygdrive/d/sid/src/sid/component/audio'
make[5]: Leaving directory `/cygdrive/d/sid/src/sid/component/audio'
Making all in cgen-cpu
make[5]: Entering directory `/cygdrive/d/sid/src/sid/component/cgen-cpu'
make "TOP_CXXFLAGS=-g -O2 " all-recursive
make[6]: Entering directory `/cygdrive/d/sid/src/sid/component/cgen-cpu'
Making all in arm7t
make[7]: Entering directory `/cygdrive/d/sid/src/sid/component/cgen-cpu/arm7t'
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory `/cygdrive/d/sid/src/sid/component/cgen-cpu/arm7t'
Making all in m32r
make[7]: Entering directory `/cygdrive/d/sid/src/sid/component/cgen-cpu/m32r'
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory `/cygdrive/d/sid/src/sid/component/cgen-cpu/m32r'
Making all in mep
make[7]: Entering directory `/cygdrive/d/sid/src/sid/component/cgen-cpu/mep'
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory `/cygdrive/d/sid/src/sid/component/cgen-cpu/mep'
Making all in mt
make[7]: Entering directory `/cygdrive/d/sid/src/sid/component/cgen-cpu/mt'
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory `/cygdrive/d/sid/src/sid/component/cgen-cpu/mt'
Making all in sh
make[7]: Entering directory `/cygdrive/d/sid/src/sid/component/cgen-cpu/sh'
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory `/cygdrive/d/sid/src/sid/component/cgen-cpu/sh'
Making all in xstormy16
make[7]: Entering directory `/cygdrive/d/sid/src/sid/component/cgen-cpu/xstormy1
6'
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory `/cygdrive/d/sid/src/sid/component/cgen-cpu/xstormy16
'
Making all in .
make[7]: Entering directory `/cygdrive/d/sid/src/sid/component/cgen-cpu'
make[7]: Leaving directory `/cygdrive/d/sid/src/sid/component/cgen-cpu'
make[6]: Leaving directory `/cygdrive/d/sid/src/sid/component/cgen-cpu'
make[5]: Leaving directory `/cygdrive/d/sid/src/sid/component/cgen-cpu'
Making all in families
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'
make[6]: Entering directory `/cygdrive/d/sid/src/sid/component/families'
make[6]: Nothing to be done for `all-am'.
make[6]: Leaving directory `/cygdrive/d/sid/src/sid/component/families'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/cygdrive/d/sid/src/sid/component/families'
Making all in timers
make[5]: Entering directory `/cygdrive/d/sid/src/sid/component/timers'
make  all-recursive
make[6]: Entering directory `/cygdrive/d/sid/src/sid/component/timers'
Making all in arm7t
make[7]: Entering directory `/cygdrive/d/sid/src/sid/component/timers/arm7t'
make[7]: Nothing to be done for `all'.
make[7]: Leaving directory `/cygdrive/d/sid/src/sid/component/timers/arm7t'
Making all in .
make[7]: Entering directory `/cygdrive/d/sid/src/sid/component/timers'
make[7]: Leaving directory `/cygdrive/d/sid/src/sid/component/timers'
make[6]: Leaving directory `/cygdrive/d/sid/src/sid/component/timers'
make[5]: Leaving directory `/cygdrive/d/sid/src/sid/component/timers'
Making all in cache
make[5]: Entering directory `/cygdrive/d/sid/src/sid/component/cache'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/cygdrive/d/sid/src/sid/component/cache'
Making all in consoles
make[5]: Entering directory `/cygdrive/d/sid/src/sid/component/consoles'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/cygdrive/d/sid/src/sid/component/consoles'
Making all in gdb
make[5]: Entering directory `/cygdrive/d/sid/src/sid/component/gdb'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/cygdrive/d/sid/src/sid/component/gdb'
Making all in gloss
make[5]: Entering directory `/cygdrive/d/sid/src/sid/component/gloss'
 make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/cygdrive/d/sid/src/sid/component/gloss'
Making all in glue
make[5]: Entering directory `/cygdrive/d/sid/src/sid/component/glue'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/cygdrive/d/sid/src/sid/component/glue'
Making all in ide
make[5]: Entering directory `/cygdrive/d/sid/src/sid/component/ide'
make[5]: Nothing to be done for `all'.
 make[5]: Leaving directory `/cygdrive/d/sid/src/sid/component/ide'
Making all in interrupt
make[5]: Entering directory `/cygdrive/d/sid/src/sid/component/interrupt'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/cygdrive/d/sid/src/sid/component/interrupt'
Making all in lcd
make[5]: Entering directory `/cygdrive/d/sid/src/sid/component/lcd'
Making all in .
make[6]: Entering directory `/cygdrive/d/sid/src/sid/component/lcd'
make[6]: Nothing to be done for `all-am'.
make[6]: Leaving directory `/cygdrive/d/sid/src/sid/component/lcd'
Making all in testsuite
make[6]: Entering directory `/cygdrive/d/sid/src/sid/component/lcd/testsuite'
cp ../../../.././sid/component/lcd/testsuite/hd-one-line.conf .
cp: `../../../.././sid/component/lcd/testsuite/hd-one-line.conf' and `./hd-one-l
ine.conf' are the same file
make[6]: [all-local] Error 1 (ignored)
cp ../../../.././sid/component/lcd/testsuite/hd-two-line.conf .
cp: `../../../.././sid/component/lcd/testsuite/hd-two-line.conf' and `./hd-two-l
ine.conf' are the same file
make[6]: [all-local] Error 1 (ignored)
cp ../../../.././sid/component/lcd/testsuite/hd-5X10.conf .
cp: `../../../.././sid/component/lcd/testsuite/hd-5X10.conf' and `./hd-5X10.conf
' are the same file
make[6]: [all-local] Error 1 (ignored)
 cp ../../../.././sid/component/lcd/testsuite/hd-europe.conf .
cp: `../../../.././sid/component/lcd/testsuite/hd-europe.conf' and `./hd-europe.
conf' are the same file
make[6]: [all-local] Error 1 (ignored)
cp ../../../.././sid/component/lcd/testsuite/t6963c-tcl.conf .
cp: `../../../.././sid/component/lcd/testsuite/t6963c-tcl.conf' and `./t6963c-tc
l.conf' are the same file
make[6]: [all-local] Error 1 (ignored)
cp ../../../.././sid/component/lcd/testsuite/t6963c-japan.conf .
cp: `../../../.././sid/component/lcd/testsuite/t6963c-japan.conf' and `./t6963c-
japan.conf' are the same file
make[6]: [all-local] Error 1 (ignored)
make[6]: Leaving directory `/cygdrive/d/sid/src/sid/component/lcd/testsuite'
make[5]: Leaving directory `/cygdrive/d/sid/src/sid/component/lcd'
Making all in loader
make[5]: Entering directory `/cygdrive/d/sid/src/sid/component/loader'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/cygdrive/d/sid/src/sid/component/loader'
Making all in mapper
make[5]: Entering directory `/cygdrive/d/sid/src/sid/component/mapper'
Making all in .
make[6]: Entering directory `/cygdrive/d/sid/src/sid/component/mapper'
make[6]: Nothing to be done for `all-am'.
make[6]: Leaving directory `/cygdrive/d/sid/src/sid/component/mapper'
Making all in testsuite
make[6]: Entering directory `/cygdrive/d/sid/src/sid/component/mapper/testsuite'

make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/cygdrive/d/sid/src/sid/component/mapper/testsuite'
make[5]: Leaving directory `/cygdrive/d/sid/src/sid/component/mapper'
Making all in memory
make[5]: Entering directory `/cygdrive/d/sid/src/sid/component/memory'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/cygdrive/d/sid/src/sid/component/memory'
Making all in mmu
make[5]: Entering directory `/cygdrive/d/sid/src/sid/component/mmu'
make[5]: Nothing to be done for `all'.
 make[5]: Leaving directory `/cygdrive/d/sid/src/sid/component/mmu'
Making all in parport
make[5]: Entering directory `/cygdrive/d/sid/src/sid/component/parport'
make[5]: Nothing to be done for `all'.
 make[5]: Leaving directory `/cygdrive/d/sid/src/sid/component/parport'
Making all in profiling
make[5]: Entering directory `/cygdrive/d/sid/src/sid/component/profiling'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/cygdrive/d/sid/src/sid/component/profiling'
Making all in rtc
make[5]: Entering directory `/cygdrive/d/sid/src/sid/component/rtc'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/cygdrive/d/sid/src/sid/component/rtc'
Making all in sched
make[5]: Entering directory `/cygdrive/d/sid/src/sid/component/sched'
make[5]: Nothing to be done for `all'.
 make[5]: Leaving directory `/cygdrive/d/sid/src/sid/component/sched'
Making all in uart
make[5]: Entering directory `/cygdrive/d/sid/src/sid/component/uart'
Making all in .
make[6]: Entering directory `/cygdrive/d/sid/src/sid/component/uart'
make[6]: Nothing to be done for `all-am'.
make[6]: Leaving directory `/cygdrive/d/sid/src/sid/component/uart'
Making all in testsuite
make[6]: Entering directory `/cygdrive/d/sid/src/sid/component/uart/testsuite'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/cygdrive/d/sid/src/sid/component/uart/testsuite'
make[5]: Leaving directory `/cygdrive/d/sid/src/sid/component/uart'
Making all in testsuite
make[5]: Entering directory `/cygdrive/d/sid/src/sid/component/testsuite'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/cygdrive/d/sid/src/sid/component/testsuite'
make[5]: Entering directory `/cygdrive/d/sid/src/sid/component'
Makefile:711: warning: overriding commands for target `check-recursive'
Makefile:339: warning: ignoring old commands for target `check-recursive'
chmod a+x siddoc
make[5]: Leaving directory `/cygdrive/d/sid/src/sid/component'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/cygdrive/d/sid/src/sid/component'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/cygdrive/d/sid/src/sid/component'
Making all in main
make[3]: Entering directory `/cygdrive/d/sid/src/sid/main'
Making all in dynamic
make[4]: Entering directory `/cygdrive/d/sid/src/sid/main/dynamic'
make  all-am
make[5]: Entering directory `/cygdrive/d/sid/src/sid/main/dynamic'
make[5]: *** No rule to make target `../../component/bochs/libx86.la', needed by
 `sid.exe'.  Stop.
make[5]: Leaving directory `/cygdrive/d/sid/src/sid/main/dynamic'
make[4]: *** [all] Error 2
 make[4]: Leaving directory `/cygdrive/d/sid/src/sid/main/dynamic'
make[4]: Entering directory `/cygdrive/d/sid/src/sid/main'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/cygdrive/d/sid/src/sid/main'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/cygdrive/d/sid/src/sid/main'
Making all in bsp
make[3]: Entering directory `/cygdrive/d/sid/src/sid/bsp'
Making all in .
make[4]: Entering directory `/cygdrive/d/sid/src/sid/bsp'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/cygdrive/d/sid/src/sid/bsp'
Making all in pregen
make[4]: Entering directory `/cygdrive/d/sid/src/sid/bsp/pregen'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/cygdrive/d/sid/src/sid/bsp/pregen'
make[3]: Leaving directory `/cygdrive/d/sid/src/sid/bsp'
Making all in samples
make[3]: Entering directory `/cygdrive/d/sid/src/sid/samples'
make  all-am
make[4]: Entering directory `/cygdrive/d/sid/src/sid/samples'
make[4]: Leaving directory `/cygdrive/d/sid/src/sid/samples'
make[3]: Leaving directory `/cygdrive/d/sid/src/sid/samples'
Making all in demos
make[3]: Entering directory `/cygdrive/d/sid/src/sid/demos'
make  all-am
make[4]: Entering directory `/cygdrive/d/sid/src/sid/demos'
make[4]: Leaving directory `/cygdrive/d/sid/src/sid/demos'
make[3]: Leaving directory `/cygdrive/d/sid/src/sid/demos'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/cygdrive/d/sid/src/sid'
make[1]: *** [all-sid] Error 2
make[1]: Leaving directory `/cygdrive/d/sid/src'
make: *** [all] Error 2

I am using the latest version of cygwin and the latest version of SID.
This is the second time i run make all-install that is why the message
Nothing to be done for "all" appears but the same error message
appears the first tine also.
If you have any ideas plese help me.

Thank You,

Razone

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: error building SID
  2004-05-07 10:00       ` Robert Cragie
@ 2004-05-07 17:18         ` Frank Ch. Eigler
  0 siblings, 0 replies; 16+ messages in thread
From: Frank Ch. Eigler @ 2004-05-07 17:18 UTC (permalink / raw)
  To: Robert Cragie; +Cc: sid

[-- Attachment #1: Type: text/plain, Size: 565 bytes --]

Hi -


> [...]
> init_disassemble_info() is in opcodes/dis-init.c, which gets built into
> libopcodes.a - right?

Indeed, as of 2003-09-03 (!).

> So it looks like libopcodes.a is not being included somehow when building
> SID STATIC - that's about as much as I can figure at the moment!

-lopcodes is not explicitly included at all.  The cgen-cpu disassemblers
are intended to work by compiling selected opcodes/ source files directly
within the sid build tree.  It looks like we need to add that new
.../opcodes/dis-init.c source somewhere into the mix.


- FChE

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* RE: error building SID
  2004-05-06  1:58     ` Ben Elliston
@ 2004-05-07 10:00       ` Robert Cragie
  2004-05-07 17:18         ` Frank Ch. Eigler
  0 siblings, 1 reply; 16+ messages in thread
From: Robert Cragie @ 2004-05-07 10:00 UTC (permalink / raw)
  To: Ben Elliston, sid

I couldn't get a CVS snapshot I checked out last night at about 2000 GMT to
build on Mandrake 10.0 - got exactly the same error as Ashutosh.

init_disassemble_info() is in opcodes/dis-init.c, which gets built into
libopcodes.a - right?
So it looks like libopcodes.a is not being included somehow when building
SID STATIC - that's about as much as I can figure at the moment!

Anyone any ideas?

Robert Cragie, Design Engineer
_______________________________________________________________
Jennic Ltd, Furnival Street, Sheffield, S1 4QT,  UK
http://www.jennic.com  Tel: +44 (0) 114 281 2655
_______________________________________________________________

> -----Original Message-----
> From: sid-owner@sources.redhat.com
> [mailto:sid-owner@sources.redhat.com]On Behalf Of Ben Elliston
> Sent: 06 May 2004 02:58
> To: Robert Cragie
> Cc: sid@sources.redhat.com
> Subject: Re: error building SID
>
>
> "Robert Cragie" <rcc@jennic.com> writes:
>
> > I have been following this thread and should point out that I
> > managed to build snapshot-20040424.tar.bz2 successfully on a SuSE
> > 7.2 linux system (gcc 2.95.3) without specifically needing anything
> > else, so please can you explain what you mean by "You need more than
> > the sid/ subdirectory nowdays."? (note I didn't get a chance to try
> > it). I think Ashustosh is also using snapshots.
>
> Well, some SID components rely on BFD, for example.  It is possible
> that the snapshots include all of the requisite directories.  Is that
> right, Frank?
>
> > I think the issues are to do with building in a cygwin environment
> > which I have not attempted (yet) - are there packages missing in
> > this environment which are normally present in a Linux environment?
>
> I used to build SID regularly on Cygwin.  There should not be anything
> major to make it work.  If there is, please report it here.
>
> Ben
>
>

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: error building SID
  2004-05-05  8:58   ` Robert Cragie
  2004-05-05  9:49     ` Ashutosh
@ 2004-05-06  1:58     ` Ben Elliston
  2004-05-07 10:00       ` Robert Cragie
  1 sibling, 1 reply; 16+ messages in thread
From: Ben Elliston @ 2004-05-06  1:58 UTC (permalink / raw)
  To: Robert Cragie; +Cc: sid

"Robert Cragie" <rcc@jennic.com> writes:

> I have been following this thread and should point out that I
> managed to build snapshot-20040424.tar.bz2 successfully on a SuSE
> 7.2 linux system (gcc 2.95.3) without specifically needing anything
> else, so please can you explain what you mean by "You need more than
> the sid/ subdirectory nowdays."? (note I didn't get a chance to try
> it). I think Ashustosh is also using snapshots.

Well, some SID components rely on BFD, for example.  It is possible
that the snapshots include all of the requisite directories.  Is that
right, Frank?

> I think the issues are to do with building in a cygwin environment
> which I have not attempted (yet) - are there packages missing in
> this environment which are normally present in a Linux environment?

I used to build SID regularly on Cygwin.  There should not be anything
major to make it work.  If there is, please report it here.

Ben

^ permalink raw reply	[flat|nested] 16+ messages in thread

* RE: error building SID
  2004-05-05  8:58   ` Robert Cragie
@ 2004-05-05  9:49     ` Ashutosh
  2004-05-06  1:58     ` Ben Elliston
  1 sibling, 0 replies; 16+ messages in thread
From: Ashutosh @ 2004-05-05  9:49 UTC (permalink / raw)
  To: 'Robert Cragie', 'Ben Elliston', sid

Dear Robert,
Can you please tell me what sort of packages am I missing? As I am building
SID in Cygwin enviornment. Till I think I had installed most of the related
packages.
Regards,
Ashutosh

-----Original Message-----
From: sid-owner@sources.redhat.com
[mailto:sid-owner@sources.redhat.com]On Behalf Of Robert Cragie
Sent: Wednesday, May 05, 2004 2:29 PM
To: Ben Elliston; sid@sources.redhat.com
Subject: RE: error building SID


I have been following this thread and should point out that I managed to
build snapshot-20040424.tar.bz2 successfully on a SuSE 7.2 linux system (gcc
2.95.3) without specifically needing anything else, so please can you
explain what you mean by "You need more than the sid/ subdirectory
nowdays."? (note I didn't get a chance to try it). I think Ashustosh is also
using snapshots.

I think the issues are to do with building in a cygwin environment which I
have not attempted (yet) - are there packages missing in this environment
which are normally present in a Linux environment?

Robert Cragie, Design Engineer
_______________________________________________________________
Jennic Ltd, Furnival Street, Sheffield, S1 4QT,  UK
http://www.jennic.com  Tel: +44 (0) 114 281 2655
_______________________________________________________________

> -----Original Message-----
> From: sid-owner@sources.redhat.com
> [mailto:sid-owner@sources.redhat.com]On Behalf Of Ben Elliston
> Sent: 05 May 2004 01:47
> To: sid@sources.redhat.com
> Subject: Re: error building SID
>
>
> Ashutosh Vyas <ashutoshvyas@tataelxsi.co.in> writes:
>
> > I am trying to build SID with eCos in Cygwin. But I am facing this
> > error given below. it is stating some undefined reference , I am
> > unable to understand the error. The following lines are of the error
>
> >
> /opt/ecos/ecos-2.0/sidcvs/sid/component/cgen-cpu/tracedis.cxx:49:
> undefined
> > reference to '_init_disassemble_info'
>
> Did you check out "sid" from sources.redhat.com:/cvs/src?  You need
> more than the sid/ subdirectory nowdays.
>
> Ben
>
> PS: please don't attach disclaimers to your public mailing list postings.
>
>

^ permalink raw reply	[flat|nested] 16+ messages in thread

* RE: error building SID
  2004-05-05  0:47 ` Ben Elliston
@ 2004-05-05  8:58   ` Robert Cragie
  2004-05-05  9:49     ` Ashutosh
  2004-05-06  1:58     ` Ben Elliston
  0 siblings, 2 replies; 16+ messages in thread
From: Robert Cragie @ 2004-05-05  8:58 UTC (permalink / raw)
  To: Ben Elliston, sid

I have been following this thread and should point out that I managed to
build snapshot-20040424.tar.bz2 successfully on a SuSE 7.2 linux system (gcc
2.95.3) without specifically needing anything else, so please can you
explain what you mean by "You need more than the sid/ subdirectory
nowdays."? (note I didn't get a chance to try it). I think Ashustosh is also
using snapshots.

I think the issues are to do with building in a cygwin environment which I
have not attempted (yet) - are there packages missing in this environment
which are normally present in a Linux environment?

Robert Cragie, Design Engineer
_______________________________________________________________
Jennic Ltd, Furnival Street, Sheffield, S1 4QT,  UK
http://www.jennic.com  Tel: +44 (0) 114 281 2655
_______________________________________________________________

> -----Original Message-----
> From: sid-owner@sources.redhat.com
> [mailto:sid-owner@sources.redhat.com]On Behalf Of Ben Elliston
> Sent: 05 May 2004 01:47
> To: sid@sources.redhat.com
> Subject: Re: error building SID
>
>
> Ashutosh Vyas <ashutoshvyas@tataelxsi.co.in> writes:
>
> > I am trying to build SID with eCos in Cygwin. But I am facing this
> > error given below. it is stating some undefined reference , I am
> > unable to understand the error. The following lines are of the error
>
> >
> /opt/ecos/ecos-2.0/sidcvs/sid/component/cgen-cpu/tracedis.cxx:49:
> undefined
> > reference to '_init_disassemble_info'
>
> Did you check out "sid" from sources.redhat.com:/cvs/src?  You need
> more than the sid/ subdirectory nowdays.
>
> Ben
>
> PS: please don't attach disclaimers to your public mailing list postings.
>
>

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: error building SID
  2004-05-04 12:18 error " Ashutosh Vyas
@ 2004-05-05  0:47 ` Ben Elliston
  2004-05-05  8:58   ` Robert Cragie
  0 siblings, 1 reply; 16+ messages in thread
From: Ben Elliston @ 2004-05-05  0:47 UTC (permalink / raw)
  To: sid

Ashutosh Vyas <ashutoshvyas@tataelxsi.co.in> writes:

> I am trying to build SID with eCos in Cygwin. But I am facing this
> error given below. it is stating some undefined reference , I am
> unable to understand the error. The following lines are of the error

> /opt/ecos/ecos-2.0/sidcvs/sid/component/cgen-cpu/tracedis.cxx:49: undefined
> reference to '_init_disassemble_info'

Did you check out "sid" from sources.redhat.com:/cvs/src?  You need
more than the sid/ subdirectory nowdays.

Ben

PS: please don't attach disclaimers to your public mailing list postings.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* error building SID
@ 2004-05-04 12:18 Ashutosh Vyas
  2004-05-05  0:47 ` Ben Elliston
  0 siblings, 1 reply; 16+ messages in thread
From: Ashutosh Vyas @ 2004-05-04 12:18 UTC (permalink / raw)
  To: sid; +Cc: fche, rcc

Dear all ,
I am trying to build SID with eCos in Cygwin. But I am facing this error
given below. it is stating some undefined reference , I am unable to
understand the error. The following lines are of the error

/opt/ecos/ecos-2.0/sidcvs/sid/component/cgen-cpu/tracedis.cxx:49: undefined
reference to '_init_disassemble_info'
collect2: ld returned 1 exit status
rm -f .libs/sid.exeS.o
make[3]: **[sid.exe] Error 1
make[3]: Leaving directory '/opt/ecos/ecos-2.0/sidcvs/src/sid/main/dynamic'
make[2]: ***[all-recursive] Error 1
make[2]: Leaving directory '/opt/ecos/ecos-2.0/sidcvs/src/sid/main'
make[1]:***[all-recursive] Error 1
make[1]:Leaving directory '/opt/ecos/ecos-2.0/sidcvs/src/sid'
make:***[all-sid] Error 2

Thanks,
Regards,
Ashutosh Vyas

 TATA ELXSI DISCLAIMER:
The information contained in this message may be CONFIDENTIAL and is for the intended addressee only. Any unauthorized use, dissemination of the information, or copying of this message is prohibited. If you are not the intended addressed, please notify the sender immediately and delete this message. 

--------------------------------
Tata Elxsi Ltd, Bangalore, India

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: error building SID
  2003-06-20 21:17 Partha Palit
@ 2003-06-20 21:31 ` Frank Ch. Eigler
  0 siblings, 0 replies; 16+ messages in thread
From: Frank Ch. Eigler @ 2003-06-20 21:31 UTC (permalink / raw)
  To: Partha Palit; +Cc: sid

[-- Attachment #1: Type: text/plain, Size: 1682 bytes --]

Hi -


On Fri, Jun 20, 2003 at 02:17:41PM -0700, Partha Palit wrote:
> I am new to embedded systems programming, and want to
> use SID as a simulator for Intel Strong Arm. [...]

Just to set expectations, while sid's plain arm model is
pretty functional, there are no strongarm extensions added
to sid (more specifically, to the cgen cpu model) yet.


> [...]
> Specifically I am facing problem while building the
> sid-vga-wrapper.The output is attched below.

This should be corrected by the following patch, about to
be committed to CVS.


Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/sid/include/ChangeLog,v
retrieving revision 1.46
diff -u -r1.46 ChangeLog
--- ChangeLog	10 Jun 2003 18:33:50 -0000	1.46
+++ ChangeLog	20 Jun 2003 21:28:33 -0000
@@ -1,3 +1,8 @@
+2003-06-20  Frank Ch. Eigler  <fche@redhat.com>
+
+	* sidattrutil.h (fixed_attribute_map_with_logging_component):
+	Add throw() decoration to dtor.
+
 2003-06-10  Dave Brolley  <brolley@redhat.com>
 
 	* sidattrutil.h (sidpinutil.h): #include it.
Index: sidattrutil.h
===================================================================
RCS file: /cvs/src/src/sid/include/sidattrutil.h,v
retrieving revision 1.4
diff -u -r1.4 sidattrutil.h
--- sidattrutil.h	10 Jun 2003 18:33:50 -0000	1.4
+++ sidattrutil.h	20 Jun 2003 21:28:33 -0000
@@ -1041,7 +1041,7 @@
 	buffer = new char[buffer_size];
 #endif
       }
-    ~fixed_attribute_map_with_logging_component () /* throw() */
+    ~fixed_attribute_map_with_logging_component () throw()
       {
 	// Output any saved messages.
 	output_saved_messages ();

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* error building SID
@ 2003-06-20 21:17 Partha Palit
  2003-06-20 21:31 ` Frank Ch. Eigler
  0 siblings, 1 reply; 16+ messages in thread
From: Partha Palit @ 2003-06-20 21:17 UTC (permalink / raw)
  To: sid

Hello everyone,

I am new to embedded systems programming, and want to
use SID as a simulator for Intel Strong Arm. However,I
am facing problem with building SID.I  downloaded the
latest snapshot of SID and then followed the
instructions in SID Faq-O-Matic. 

My platform-
Linux Redhat 9 (2.4.20-8) on i686;
gcc version 3.2.2;

Specifically I am facing problem while building the
sid-vga-wrapper.The output is attched below.
I would be deeply grateful if anyone can help me to
rectiffy the error.
Thanks in advance.
-Partha

--
configuring in voice-pager
running /bin/sh
/opt/sid/sourcetree/src/sid/demos/voice-pager/configure
 --build
=i686-pc-linux-gnu --host=i686-pc-linux-gnu
--target=i686-pc-linux-gnu --prefix=
/opt/sid/installtree
--cache-file=../../.././config.cache
--srcdir=/opt/sid/sour
cetree/src/sid/demos/voice-pager
loading cache ../../.././config.cache
checking for a BSD compatible install... (cached)
/usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for a BSD compatible install...
/usr/bin/install -c
checking whether to enable maintainer-specific
portions of Makefiles... no
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works...
yes
checking whether the C compiler (gcc -g -O2 ) is a
cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ld used by GCC... (cached) ld
checking if the linker (ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) nm
checking whether ln -s works... (cached) yes
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
loading cache ../../.././config.cache within ltconfig
checking whether ln -s works... (cached) yes
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking for gcc option to produce PIC... (cached) 
-fPIC -DPIC
checking if gcc PIC flag  -fPIC -DPIC works...
(cached) yes
checking if gcc static flag -static works... (cached)
yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ...
yes
checking if the linker (ld) is GNU ld... yes
checking whether the linker (ld) supports shared
libraries... yes
checking how to hardcode library paths into
programs... immediate
checking whether stripping libraries is possible...
yes
checking for ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking command to parse nm output... ok
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool
loading cache ../../.././config.cache
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking for executable suffix... (cached) no
checking for c++... (cached) c++
checking whether the C++ compiler (c++ -g -O2 )
works... yes
checking whether the C++ compiler (c++ -g -O2 ) is a
cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking how to run the C++ preprocessor... (cached)
c++ -E
checking whether make sets ${MAKE}... (cached) yes
creating ./config.status
creating Makefile
creating voice-pager-demo
creating voice-pager-demo.conf
creating config.h
make[1]: Entering directory `/opt/sid/buildtree/sid'
Making all in .
make[2]: Entering directory `/opt/sid/buildtree/sid'
rm -f version.h
echo '#define SID_RELEASE "0.1-net"' > version.h
make[2]: Leaving directory `/opt/sid/buildtree/sid'
Making all in include
make[2]: Entering directory
`/opt/sid/buildtree/sid/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/opt/sid/buildtree/sid/include'
Making all in component
make[2]: Entering directory
`/opt/sid/buildtree/sid/component'
Makefile:417: warning: overriding commands for target
`check-recursive'
Makefile:195: warning: ignoring old commands for
target `check-recursive'
make  all-recursive
make[3]: Entering directory
`/opt/sid/buildtree/sid/component'
Makefile:417: warning: overriding commands for target
`check-recursive'
Makefile:195: warning: ignoring old commands for
target `check-recursive'
Making all in bochs
make[4]: Entering directory
`/opt/sid/buildtree/sid/component/bochs'
make  all-recursive
make[5]: Entering directory
`/opt/sid/buildtree/sid/component/bochs'
Making all in vga
make[6]: Entering directory
`/opt/sid/buildtree/sid/component/bochs/vga'
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H
-I. -I/opt/sid/sourcetree/
src/sid/component/bochs/vga -I.. -I../../../include
-I/opt/sid/sourcetree/src/si
d/component/bochs/vga
-I/opt/sid/sourcetree/src/sid/component/bochs/vga/..
-I/op
t/sid/sourcetree/src/sid/component/bochs/vga/../../../include
-I/opt/sid/sourcet
ree/src/sid/component/bochs/vga/../cpu
-I/opt/sid/sourcetree/src/sid/component/b
ochs/vga/../../memory    -g -O2 -c
/opt/sid/sourcetree/src/sid/component/bochs/v
ga/sid-vga-wrapper.cc
mkdir .libs
c++ -DHAVE_CONFIG_H -I.
-I/opt/sid/sourcetree/src/sid/component/bochs/vga -I..
-
I../../../include
-I/opt/sid/sourcetree/src/sid/component/bochs/vga
-I/opt/sid/s
ourcetree/src/sid/component/bochs/vga/..
-I/opt/sid/sourcetree/src/sid/component
/bochs/vga/../../../include
-I/opt/sid/sourcetree/src/sid/component/bochs/vga/..
/cpu
-I/opt/sid/sourcetree/src/sid/component/bochs/vga/../../memory
-g -O2 -Wp,-
MD,.deps/sid-vga-wrapper.pp -c  -fPIC -DPIC -DPIC
/opt/sid/sourcetree/src/sid/co
mponent/bochs/vga/sid-vga-wrapper.cc -o
.libs/sid-vga-wrapper.lo
In file included from
/opt/sid/sourcetree/src/sid/component/bochs/vga/sid-vga-wr
apper.h:15,
                 from
/opt/sid/sourcetree/src/sid/component/bochs/vga/sid-vga-wr
apper.cc:7:
/opt/sid/sourcetree/src/sid/include/sidattrutil.h:1045:
looser throw specifier
   for `virtual
  
sidutil::fixed_attribute_map_with_logging_component::~fixed_attribute_map_wit
h_logging_component()
   '
/opt/sid/sourcetree/src/sid/include/sidattrutil.h:720:
  overriding `virtual
  
sidutil::fixed_attribute_map_component::~fixed_attribute_map_component()
   throw ()'
/opt/sid/sourcetree/src/sid/include/sidattrutil.h:1045:
looser throw specifier
   for `virtual
  
sidutil::fixed_attribute_map_with_logging_component::~fixed_attribute_map_wit
h_logging_component()
   '
/opt/sid/sourcetree/src/sid/include/sidpinutil.h:378: 
 overriding `virtual
  
sidutil::fixed_pin_map_component::~fixed_pin_map_component()
throw ()'
/opt/sid/sourcetree/src/sid/include/sidattrutil.h:1045:
looser throw specifier
   for `virtual
  
sidutil::fixed_attribute_map_with_logging_component::~fixed_attribute_map_wit
h_logging_component()
   '
/opt/sid/sourcetree/src/sid/include/sidcomp.h:177:  
overriding `virtual
   sid::component::~component() throw ()'
/opt/sid/sourcetree/src/sid/include/sidattrutil.h:1045:
looser throw specifier
   for `virtual
  
sidutil::fixed_attribute_map_with_logging_component::~fixed_attribute_map_wit
h_logging_component()
   '
/opt/sid/sourcetree/src/sid/include/sidcomp.h:177:  
overriding `virtual
   sid::component::~component() throw ()'
/opt/sid/sourcetree/src/sid/include/sidattrutil.h:1045:
looser throw specifier
   for `virtual
  
sidutil::fixed_attribute_map_with_logging_component::~fixed_attribute_map_wit
h_logging_component()
   '
/opt/sid/sourcetree/src/sid/include/sidattrutil.h:720:
  overriding `virtual
  
sidutil::fixed_attribute_map_component::~fixed_attribute_map_component()
   throw ()'
/opt/sid/sourcetree/src/sid/include/sidattrutil.h:1045:
looser throw specifier
   for `virtual
  
sidutil::fixed_attribute_map_with_logging_component::~fixed_attribute_map_wit
h_logging_component()
   '
/opt/sid/sourcetree/src/sid/include/sidattrutil.h:720:
  overriding `virtual
  
sidutil::fixed_attribute_map_component::~fixed_attribute_map_component()
   throw ()'
/opt/sid/sourcetree/src/sid/include/sidattrutil.h:1045:
looser throw specifier
   for `virtual
  
sidutil::fixed_attribute_map_with_logging_component::~fixed_attribute_map_wit
h_logging_component()
   '
/opt/sid/sourcetree/src/sid/include/sidpinutil.h:378: 
 overriding `virtual
  
sidutil::fixed_pin_map_component::~fixed_pin_map_component()
throw ()'
/opt/sid/sourcetree/src/sid/include/sidattrutil.h:1045:
looser throw specifier
   for `virtual
  
sidutil::fixed_attribute_map_with_logging_component::~fixed_attribute_map_wit
h_logging_component()
   '
/opt/sid/sourcetree/src/sid/include/sidpinutil.h:378: 
 overriding `virtual
  
sidutil::fixed_pin_map_component::~fixed_pin_map_component()
throw ()'
/opt/sid/sourcetree/src/sid/include/sidattrutil.h:1045:
looser throw specifier
   for `virtual
  
sidutil::fixed_attribute_map_with_logging_component::~fixed_attribute_map_wit
h_logging_component()
   '
/opt/sid/sourcetree/src/sid/include/sidcomp.h:177:  
overriding `virtual
   sid::component::~component() throw ()'
/opt/sid/sourcetree/src/sid/include/sidattrutil.h:1045:
looser throw specifier
   for `virtual
  
sidutil::fixed_attribute_map_with_logging_component::~fixed_attribute_map_wit
               h_logging_component()
   '
/opt/sid/sourcetree/src/sid/include/sidcomp.h:177:  
overriding `virtual
   sid::component::~component() throw ()'
make[6]: *** [sid-vga-wrapper.lo] Error 1
make[6]: Leaving directory
`/opt/sid/buildtree/sid/component/bochs/vga'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/opt/sid/buildtree/sid/component/bochs'
make[4]: *** [all-recursive-am] Error 2
make[4]: Leaving directory
`/opt/sid/buildtree/sid/component/bochs'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/opt/sid/buildtree/sid/component'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory
`/opt/sid/buildtree/sid/component'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/sid/buildtree/sid'
make: *** [all-sid] Error 2



__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2008-12-25 18:45 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-11 21:28 Error Building SID Shamik Datta
2008-12-11 23:50 ` Frank Ch. Eigler
     [not found]   ` <239b036a0812121037p534a4ca1t759ea754c7ebad62@mail.gmail.com>
     [not found]     ` <20081212195729.GB1200@redhat.com>
     [not found]       ` <239b036a0812130700v2ba9e054yb63be621c223b769@mail.gmail.com>
     [not found]         ` <239b036a0812150100h1330ba92nb89c0597268a8c01@mail.gmail.com>
     [not found]           ` <20081215175754.GA7910@redhat.com>
     [not found]             ` <239b036a0812151202y5ed2a0a4y486ce4905503de67@mail.gmail.com>
2008-12-15 20:39               ` Frank Ch. Eigler
     [not found]                 ` <239b036a0812211557h2d73685pf3ccd01a5ac3d6da@mail.gmail.com>
2008-12-25 18:45                   ` Frank Ch. Eigler
  -- strict thread matches above, loose matches on Subject: below --
2007-10-31 13:45 Error building SID badiu raz
2007-10-31 14:58 ` Dave Brolley
2007-10-31 17:25 ` Dave Brolley
2004-05-04 12:18 error " Ashutosh Vyas
2004-05-05  0:47 ` Ben Elliston
2004-05-05  8:58   ` Robert Cragie
2004-05-05  9:49     ` Ashutosh
2004-05-06  1:58     ` Ben Elliston
2004-05-07 10:00       ` Robert Cragie
2004-05-07 17:18         ` Frank Ch. Eigler
2003-06-20 21:17 Partha Palit
2003-06-20 21:31 ` Frank Ch. Eigler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).