* LEX = flex
@ 2002-10-18 2:22 Jerry McBride
0 siblings, 0 replies; 4+ messages in thread
From: Jerry McBride @ 2002-10-18 2:22 UTC (permalink / raw)
To: Linux Kernel List
It's an old one... and it's BACK. 2.4.20-pre11... make kernel on i386 fails in
/drivers/scsi/aic7xxx/aicasm/Makefile
LEX is not assigned a value...
However making LEX=flex works and make modules completes 100%...
Where is this failing to be set?
--
******************************************************************************
Registered Linux User Number 185956
http://groups.google.com/groups?hl=en&safe=off&group=linux
Join me in chat at #linux-users on irc.freenode.net
10:02pm up 219 days, 3:11, 6 users, load average: 0.29, 0.25, 0.21
^ permalink raw reply [flat|nested] 4+ messages in thread
* LEX = flex
@ 2002-11-24 5:45 Jerry McBride
2002-11-24 12:15 ` Tomas Szepe
0 siblings, 1 reply; 4+ messages in thread
From: Jerry McBride @ 2002-11-24 5:45 UTC (permalink / raw)
To: Linux Kernel List
It's an old one... and it's STILL HERE!
2.4.20-rc3...
make kernel on i386 fails in /drivers/scsi/aic7xxx/aicasm/Makefile
LEX is not assigned a value...
However making LEX=flex works and make modules completes 100%...
Where is this failing to be set?
--
******************************************************************************
Registered Linux User Number 185956
http://groups.google.com/groups?hl=en&safe=off&group=linux
Join me in chat at #linux-users on irc.freenode.net
11:42pm up 1 day, 1:15, 3 users, load average: 0.23, 0.31, 0.24
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: LEX = flex
2002-11-24 5:45 LEX = flex Jerry McBride
@ 2002-11-24 12:15 ` Tomas Szepe
2002-11-24 12:24 ` David McIlwraith
0 siblings, 1 reply; 4+ messages in thread
From: Tomas Szepe @ 2002-11-24 12:15 UTC (permalink / raw)
To: Jerry McBride; +Cc: Linux Kernel List
> It's an old one... and it's STILL HERE!
> 2.4.20-rc3...
> make kernel on i386 fails in /drivers/scsi/aic7xxx/aicasm/Makefile
> LEX is not assigned a value...
> However making LEX=flex works and make modules completes 100%...
Just do
(cd $(dirname $(which flex)) && ln -s flex lex)
There's another problem, though:
make[5]: Entering directory `/home/kala/lx/linux-2.4.20-rc3/drivers/scsi/aic7xxx/aicasm'
yacc -d -b aicasm_gram aicasm_gram.y
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
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
gcc -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
/tmp/ccwpPZ3E.o: In function `symtable_open':
/tmp/ccwpPZ3E.o(.text+0x1df): undefined reference to `__db185_open'
collect2: ld returned 1 exit status
make[5]: *** [aicasm] Error 1
make[5]: Leaving directory `/home/kala/lx/linux-2.4.20-rc3/drivers/scsi/aic7xxx/aicasm'
--
Tomas Szepe <szepe@pinerecords.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: LEX = flex
2002-11-24 12:15 ` Tomas Szepe
@ 2002-11-24 12:24 ` David McIlwraith
0 siblings, 0 replies; 4+ messages in thread
From: David McIlwraith @ 2002-11-24 12:24 UTC (permalink / raw)
To: Tomas Szepe; +Cc: Linux Kernel List
Requires a DB library compiled with --enable-compat185, I believe (SleepyCat
DB version 2.x or later), or Berkeley DB 1.85 itself.
- David McIlwraith
----- Original Message -----
From: "Tomas Szepe" <szepe@pinerecords.com>
To: "Jerry McBride" <mcbrides9@comcast.net>
Cc: "Linux Kernel List" <linux-kernel@vger.kernel.org>
Sent: Sunday, November 24, 2002 11:15 PM
Subject: Re: LEX = flex
> > It's an old one... and it's STILL HERE!
> > 2.4.20-rc3...
> > make kernel on i386 fails in /drivers/scsi/aic7xxx/aicasm/Makefile
> > LEX is not assigned a value...
> > However making LEX=flex works and make modules completes 100%...
>
> Just do
> (cd $(dirname $(which flex)) && ln -s flex lex)
>
> There's another problem, though:
>
> make[5]: Entering directory
`/home/kala/lx/linux-2.4.20-rc3/drivers/scsi/aic7xxx/aicasm'
> yacc -d -b aicasm_gram aicasm_gram.y
> 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
> 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
> gcc -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
> /tmp/ccwpPZ3E.o: In function `symtable_open':
> /tmp/ccwpPZ3E.o(.text+0x1df): undefined reference to `__db185_open'
> collect2: ld returned 1 exit status
> make[5]: *** [aicasm] Error 1
> make[5]: Leaving directory
`/home/kala/lx/linux-2.4.20-rc3/drivers/scsi/aic7xxx/aicasm'
>
> --
> Tomas Szepe <szepe@pinerecords.com>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-11-24 12:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-24 5:45 LEX = flex Jerry McBride
2002-11-24 12:15 ` Tomas Szepe
2002-11-24 12:24 ` David McIlwraith
-- strict thread matches above, loose matches on Subject: below --
2002-10-18 2:22 Jerry McBride
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.