public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Emmanuel Fleury <fleury@cs.auc.dk>
To: linux-kernel@vger.kernel.org
Subject: Compilation problem in 2.4.19: drivers/scsi/aic7xxx/aicasm/aicasm_gram.y
Date: Sun, 18 Aug 2002 12:50:37 +0200	[thread overview]
Message-ID: <3D5F7BFD.90909@cs.auc.dk> (raw)

Hi,

As I really don't know who is in charge of this part of the kernel
(there was no names in the file or around this file), I post directly
on the Linux Kernel mailing-list.

Sorry, if I'm wrong.

I tried to compile the 2.4.19 for my computer, but I get an error
message while compiling the file:
/usr/src/linux-2.4.19smp/drivers/scsi/aic7xxx/aicasm/aicasm_gram.y



[fleury@yggdrasil aicasm]$ pwd
/usr/src/linux-2.4.19smp/drivers/scsi/aic7xxx/aicasm

[fleury@yggdrasil aicasm]$ make
*** Install db development libraries
yacc -d -b aicasm_gram aicasm_gram.y
aicasm_gram.y:921: warning: previous rule lacks an ending `;'
aicasm_gram.y:935: warning: previous rule lacks an ending `;'
mv aicasm_gram.tab.c aicasm_gram.c
mv aicasm_gram.tab.h aicasm_gram.h
yacc -d -b aicasm_macro_gram -p mm aicasm_macro_gram.y
mv aicasm_macro_gram.tab.c aicasm_macro_gram.c
mv aicasm_macro_gram.tab.h aicasm_macro_gram.h
lex  -oaicasm_scan.c aicasm_scan.l
lex  -Pmm -oaicasm_macro_scan.c aicasm_macro_scan.l
cc -I/usr/include -I. -ldb aicasm.c aicasm_symbol.c aicasm_gram.c
aicasm_macro_gram.c aicasm_scan.c aicasm_macro_scan.c -o aicasm
aicasm_symbol.c:47: aicdb.h: No such file or directory
aicasm_gram.y:1846: warning: type mismatch with previous implicit
declaration
/usr/share/bison/bison.simple:924: warning: previous implicit
declaration of `yyerror'
aicasm_gram.y:1846: warning: `yyerror' was previously implicitly
declared to return `int'
aicasm_macro_gram.y:162: warning: type mismatch with previous implicit
declaration
/usr/share/bison/bison.simple:924: warning: previous implicit
declaration of `mmerror'
aicasm_macro_gram.y:162: warning: `mmerror' was previously implicitly
declared to return `int'
make: *** [aicasm] Error 1


Could somebody help me to fix this ?

The two missing `;' are easy to fix, but the missing `aicdb.h' and
more over the other errors (previously defined and type mismatch) are
difficult for me.

Thanks
-- 
Emmanuel

The most important thing in the programming language is the name.
A language will not succeed without a good name. I have recently
invented a very good name and now I am looking for a suitable language.
     -- Donald Knuth




             reply	other threads:[~2002-08-18 10:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-18 10:50 Emmanuel Fleury [this message]
2002-08-18 11:30 ` Compilation problem in 2.4.19: drivers/scsi/aic7xxx/aicasm/aicasm_gram.y Emmanuel Fleury

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=3D5F7BFD.90909@cs.auc.dk \
    --to=fleury@cs.auc.dk \
    --cc=linux-kernel@vger.kernel.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