Comment 15 for bug 571972

Revision history for this message
James Sparenberg (james-linuxrebel) wrote :

Looking into it further It seems that UTS_RELEASE is now kept in a file called utsrelease.h not in version.h. so I copied this file sudo cp /usr/src/linux-headers-2.6.25-2-386/include/linux/utsrelease.h into /usr/include linux and made the following mod to configure.

*** configure.orig 2010-10-15 13:04:48.000000000 -0700
--- configure 2010-10-15 13:05:43.000000000 -0700
***************
*** 20953,20959 ****

  #include <stdio.h>
! #include <linux/version.h>

  main(argc)
  int argc;
--- 20953,20959 ----

  #include <stdio.h>
! #include <linux/utsrelease.h>

  main(argc)
  int argc;

I can now configure and make starts however I run into this later on.

conf_parse.o: In function `fprintf':
/usr/include/bits/stdio2.h:98: undefined reference to `ayylineno'
conf_parse.o: In function `yyparse':
/home/james/am-utils/am-utils-6.1.5/amd/conf_parse.c:1294: undefined reference to `yylex'
get_args.o: In function `get_args':
/home/james/am-utils/am-utils-6.1.5/amd/get_args.c:334: undefined reference to `yyin'
collect2: ld returned 1 exit status
make[2]: *** [amd] Error 1
make[2]: Leaving directory `/home/james/am-utils/am-utils-6.1.5/amd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/james/am-utils/am-utils-6.1.5'
make: *** [all] Error 2

Which would indicate that even though flex is installed something is missing.