Menu

#279 Linux Build Fails

None
closed-invalid
nobody
None
5
2013-04-24
2012-11-06
Shayan Es
No

Linux 2.6.32-44-generic-pae #98-Ubuntu SMP Mon Sep 24 17:47:51 UTC 2012 i686 GNU/Linux

Even though the ./configure has no errors, the make command fails:

make all-recursive
make[1]: Entering directory `/home/shayan/Desktop/cscope/cscope-15.8a'
Making all in doc
make[2]: Entering directory `/home/shayan/Desktop/cscope/cscope-15.8a/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/shayan/Desktop/cscope/cscope-15.8a/doc'
Making all in src
make[2]: Entering directory `/home/shayan/Desktop/cscope/cscope-15.8a/src'
/bin/bash ../ylwrap fscanner.l lex.yy.c fscanner.c -- flex
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT fscanner.o -MD -MP -MF .deps/fscanner.Tpo -c -o fscanner.o fscanner.c
In file included from /usr/include/bits/errno.h:25,
from /usr/include/errno.h:36,
from fscanner.c:21:
/usr/include/linux/errno.h:4:23: error: asm/errno.h: No such file or directory
fscanner.c: In function ‘yy_get_next_buffer’:
fscanner.c:31230: error: ‘EINTR’ undeclared (first use in this function)
fscanner.c:31230: error: (Each undeclared identifier is reported only once
fscanner.c:31230: error: for each function it appears in.)
make[2]: *** [fscanner.o] Error 1
make[2]: Leaving directory `/home/shayan/Desktop/cscope/cscope-15.8a/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/shayan/Desktop/cscope/cscope-15.8a'
make: *** [all] Error 2

Discussion

  • Hans-Bernhard Broeker

    • status: open --> pending-invalid
     
  • Hans-Bernhard Broeker

    This is rather clearly not a problem of cscope. That's one of your own GCC / libc headers not finding some another.

     
  • Hans-Bernhard Broeker

    • status: pending-invalid --> closed-invalid
    • Group: -->
     

Log in to post a comment.