Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Mahesh Basavaraj Shavari <Mahesh.Shavari@kpitcummins.com>
To: <gdb@sourceware.org>
Cc: <kevinb@redhat.com>
Subject: Re: Mingw GDB build fails for M16C target
Date: Wed, 29 Apr 2009 08:40:00 -0000	[thread overview]
Message-ID: <82C3BC9106BCE149B63464D79D0A22FD0A7AAAD1@sohm.kpit.com> (raw)

> Mahesh,

> Please try the patch below and let me know if it works for you.

Hi Kevin,

Thanks for you help.
The provided patch solves the issues mentioned earlier, but gives the
following new errors.

------------------------------------------------------------------------
--------------------------

i386-pc-mingw32msvc-gcc -c -DHAVE_CONFIG_H     -DPROFILE=1
-DWITH_PROFILE=-1          -DDEFAULT_INLINE=0           -Wall -DTIMER_A
-D__USE_MINGW_FSEEK  -I.
-I/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c -I../common
-I/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/../common
-I../../include
-I/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/../../include
-I../../bfd
-I/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/../../bfd
-I../../opcodes
-I/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/../../opcodes
-I../../intl -g -O2 -D__USE_MINGW_ACCESS
/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/mem.c

/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/mem.c:29:24:
sys/select.h: No such file or directory
/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/mem.c:30:21:
termios.h: No such file or directory
/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/mem.c: In function
`stdin_ready':
/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/mem.c:383: error:
`fd_set' undeclared (first use in this function)
/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/mem.c:383: error:
(Each undeclared identifier is reported only once
/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/mem.c:383: error:
for each function it appears in.)
/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/mem.c:383: error:
syntax error before "ifd"
/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/mem.c:389:
warning: implicit declaration of function `FD_ZERO'
/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/mem.c:389: error:
`ifd' undeclared (first use in this function)
/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/mem.c:390:
warning: implicit declaration of function `FD_SET'
/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/mem.c:391:
warning: implicit declaration of function `select'
/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/mem.c: In function
`m32c_sim_restore_console':
/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/mem.c:399:
warning: implicit declaration of function `tcsetattr'
/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/mem.c:399: error:
`TCSANOW' undeclared (first use in this function)
/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/mem.c: In function
`mem_get_byte':
/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/mem.c:416: error:
storage size of 'attr' isn't known
/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/mem.c:417:
warning: implicit declaration of function `tcgetattr'
/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/mem.c:420: error:
`ICANON' undeclared (first use in this function)
/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/mem.c:420: error:
`ECHO' undeclared (first use in this function)
/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/mem.c:420: error:
`ECHOE' undeclared (first use in this function)
/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/mem.c:421: error:
`TCSANOW' undeclared (first use in this function)
/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/mem.c:416:
warning: unused variable `attr'
/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/mem.c: At top
level:
/home/mahesh/GDB/gdb-6.8/gdb-6.8.50.20090327/sim/m32c/mem.c:378: error:
storage size of `oattr' isn't known
make[3]: *** [mem.o] Error 1
make[3]: Leaving directory
`/home/mahesh/GDB/gdb-6.8/build/m32c-elfbld6.8.50.20090327/sim/m32c'
make[2]: *** [all] Error 1
make[2]: Leaving directory
`/home/mahesh/GDB/gdb-6.8/build/m32c-elfbld6.8.50.20090327/sim'
make[1]: *** [all-sim] Error 2
make[1]: Leaving directory
`/home/mahesh/GDB/gdb-6.8/build/m32c-elfbld6.8.50.20090327'
make: *** [all] Error 2

------------------------------------------------------------------------
-------------------

Thanking you in anticipation.
 
Regards,
Mahesh Shavari.


             reply	other threads:[~2009-04-29  7:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-29  8:40 Mahesh Basavaraj Shavari [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-08-05 12:59 Mahesh Basavaraj Shavari
2009-08-14  4:24 ` DJ Delorie
2009-04-25 13:57 Mahesh Basavaraj Shavari
2009-04-29  6:13 ` Kevin Buettner

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=82C3BC9106BCE149B63464D79D0A22FD0A7AAAD1@sohm.kpit.com \
    --to=mahesh.shavari@kpitcummins.com \
    --cc=gdb@sourceware.org \
    --cc=kevinb@redhat.com \
    /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