public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
From: "Shamik Datta" <shamik.datta@gmail.com>
To: sid@sourceware.org
Subject: Error Building SID..
Date: Thu, 11 Dec 2008 21:28:00 -0000	[thread overview]
Message-ID: <239b036a0812111328r2ed15cc6le385c17a20a19dc@mail.gmail.com> (raw)

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

             reply	other threads:[~2008-12-11 21:28 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-11 21:28 Shamik Datta [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=239b036a0812111328r2ed15cc6le385c17a20a19dc@mail.gmail.com \
    --to=shamik.datta@gmail.com \
    --cc=sid@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).