Hi Abbas, 
upgrade your flex version to greater than 2.5.31 as it shows up in the warning. 
Run the mipv6 patch before installing.
You have only given configure's  output. Did you run make and make install 
after that?
Make sure you do that.  
Thanks,
Kiran


----- Original Message ----
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, June 20, 2007 2:01:48 PM
Subject: mipl Digest, Vol 50, Issue 8


Send mipl mailing list submissions to
    [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
    http://www.mobile-ipv6.org/cgi-bin/mailman/listinfo/mipl
or, via email, send a message with subject or body 'help' to
    [EMAIL PROTECTED]

You can reach the person managing the list at
    [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of mipl digest..."


Today's Topics:

   1. How to add mobile-ip6 to run on startup (abbas mehdizadeh)


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

Message: 1
Date: Thu, 21 Jun 2007 05:01:22 +0800
From: "abbas mehdizadeh" <[EMAIL PROTECTED]>
Subject: [mipl] How to add mobile-ip6 to run on startup
To: [email protected]
Message-ID:
    <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

Dear all

I recompiled the new kernel 2.6.16 on kernel 2.6.18 with patching
mipv6-2.0.2, everything fine.
After starting with new kernel 2.6.16i tried to install userspace tools. but
when run the command "#chkconfig --add mobile-ip6" can't find the file.
can anyone help me? plz
where should i find it and run this command? did i do any mistake during
installation?
here is commands and outputs:

*------------------------------------------------------------
*

[EMAIL PROTECTED] mipv6-2.0.2]# ./configure*

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking for gcc... gcc

checking for C compiler default output file name... a.out

checking whether the C compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables...

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ANSI C... none needed

checking for style of include used by make... GNU

checking dependency style of gcc... gcc3

checking for ranlib... ranlib

checking how to run the C preprocessor... gcc -E

checking for egrep... grep -E

checking whether gcc needs -traditional... no

checking for egrep... (cached) grep -E

checking for flex... flex

checking for yywrap in -lfl... yes

checking lex output file root... lex.yy

checking whether yytext is a pointer... yes

configure: WARNING:

*** scan.l requires newer version of flex.  If you need to generate

*** scan.c, upgrade to the latest flex (>=2.5.31) version.



checking for bison... bison -y

checking for gawk... (cached) gawk

checking for a BSD-compatible install... /usr/bin/install -c

checking whether ln -s works... yes

checking whether make sets $(MAKE)... (cached) yes

checking for sed... sed

checking for indent... indent

checking for an ANSI C-conforming const... yes

checking for inline... inline

checking for C/C++ restrict keyword... __restrict

checking for working volatile... yes

checking whether byte ordering is bigendian... no

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking for pid_t... yes

checking for size_t... yes

checking whether time.h and sys/time.h may both be included... yes

checking for stdbool.h that conforms to C99... yes

checking for _Bool... yes

checking for ANSI C header files... (cached) yes

checking for sys/wait.h that is POSIX.1 compatible... yes

checking arpa/inet.h usability... yes

checking arpa/inet.h presence... yes

checking for arpa/inet.h... yes

checking fcntl.h usability... yes

checking fcntl.h presence... yes

checking for fcntl.h... yes

checking sys/ioctl.h usability... yes

checking sys/ioctl.h presence... yes

checking for sys/ioctl.h... yes

checking sys/param.h usability... yes

checking sys/param.h presence... yes

checking for sys/param.h... yes

checking time.h usability... yes

checking time.h presence... yes

checking for time.h... yes

checking syslog.h usability... yes

checking syslog.h presence... yes

checking for syslog.h... yes

checking for unistd.h... (cached) yes

checking vfork.h usability... no

checking vfork.h presence... no

checking for vfork.h... no

checking for fork... yes

checking for vfork... yes

checking for working fork... yes

checking for working vfork... (cached) yes

checking sys/select.h usability... yes

checking sys/select.h presence... yes

checking for sys/select.h... yes

checking sys/socket.h usability... yes

checking sys/socket.h presence... yes

checking for sys/socket.h... yes

checking types of arguments for select... int,fd_set *,struct timeval *

checking return type of signal handlers... void

checking for vprintf... yes

checking for _doprnt... no

checking for wait3 that fills in rusage... yes

checking for memset... yes

checking for select... yes

checking for socket... yes

checking for strdup... yes

checking for strerror... yes

configure: *** checking for additional external libraries

checking for clock_gettime... no

checking for clock_gettime in -lrt... yes

checking for dlopen... no

checking for dlopen in -ldl... yes

checking for pthread_create in -lpthread... yes

checking for rtnl_talk in -lnetlink... no

checking for HMAC_Init in -lcrypto... yes

configure: *** checking for optional features

checking whether to use builtin crypto... (cached) no

checking whether to enable debug messages... (cached) yes

checking whether to enable debug virtual terminal... (cached) no

configure: *** checking for RFC3542: Advanced IPv6 Socket API support

checking for inet6_opt_find... yes

checking for inet6_rth_space... yes

checking for inet6_rth_init... yes

checking for inet6_rth_add... yes

checking for inet6_rth_getaddr... yes

checking for inet6_rth_gettype... no

configure: *** checking for Mobile IPv6 support in kernel headers

checking whether IFA_F_HOMEADDRESS is declared... no

configure: error: kernel headers do not support MIPv6.



*** If working Linux kernel headers are not in the default include path,

*** please use CPPFLAGS variable to specify where they can be found

*** (e.g. CPPFLAGS="-isystem /usr/src/linux/include")



[EMAIL PROTECTED] mipv6-2.0.2]# ./chkconf_kernel.sh /usr/src/linux**



Checking kernel configuration...

Using /usr/src/linux/.config



All kernel options are as they should.



[EMAIL PROTECTED] mipv6-2.0.2]# CPPFLAGS='-isystem
/usr/src/linux-2.6.16/include'
./configure*

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking for gcc... gcc

checking for C compiler default output file name... a.out

checking whether the C compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables...

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ANSI C... none needed

checking for style of include used by make... GNU

checking dependency style of gcc... gcc3

checking for ranlib... ranlib

checking how to run the C preprocessor... gcc -E

checking for egrep... grep -E

checking whether gcc needs -traditional... no

checking for egrep... (cached) grep -E

checking for flex... flex

checking for yywrap in -lfl... yes

checking lex output file root... lex.yy

checking whether yytext is a pointer... yes

configure: WARNING:

*** scan.l requires newer version of flex.  If you need to generate

*** scan.c, upgrade to the latest flex (>=2.5.31) version.



checking for bison... bison -y

checking for gawk... (cached) gawk

checking for a BSD-compatible install... /usr/bin/install -c

checking whether ln -s works... yes

checking whether make sets $(MAKE)... (cached) yes

checking for sed... sed

checking for indent... indent

checking for an ANSI C-conforming const... yes

checking for inline... inline

checking for C/C++ restrict keyword... __restrict

checking for working volatile... yes

checking whether byte ordering is bigendian... no

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking for pid_t... yes

checking for size_t... yes

checking whether time.h and sys/time.h may both be included... yes

checking for stdbool.h that conforms to C99... yes

checking for _Bool... yes

checking for ANSI C header files... (cached) yes

checking for sys/wait.h that is POSIX.1 compatible... yes

checking arpa/inet.h usability... yes

checking arpa/inet.h presence... yes

checking for arpa/inet.h... yes

checking fcntl.h usability... yes

checking fcntl.h presence... yes

checking for fcntl.h... yes

checking sys/ioctl.h usability... yes

checking sys/ioctl.h presence... yes

checking for sys/ioctl.h... yes

checking sys/param.h usability... yes

checking sys/param.h presence... yes

checking for sys/param.h... yes

checking time.h usability... yes

checking time.h presence... yes

checking for time.h... yes

checking syslog.h usability... yes

checking syslog.h presence... yes

checking for syslog.h... yes

checking for unistd.h... (cached) yes

checking vfork.h usability... no

checking vfork.h presence... no

checking for vfork.h... no

checking for fork... yes

checking for vfork... yes

checking for working fork... yes

checking for working vfork... (cached) yes

checking sys/select.h usability... yes

checking sys/select.h presence... yes

checking for sys/select.h... yes

checking sys/socket.h usability... yes

checking sys/socket.h presence... yes

checking for sys/socket.h... yes

checking types of arguments for select... int,fd_set *,struct timeval *

checking return type of signal handlers... void

checking for vprintf... yes

checking for _doprnt... no

checking for wait3 that fills in rusage... yes

checking for memset... yes

checking for select... yes

checking for socket... yes

checking for strdup... yes

checking for strerror... yes

configure: *** checking for additional external libraries

checking for clock_gettime... no

checking for clock_gettime in -lrt... yes

checking for dlopen... no

checking for dlopen in -ldl... yes

checking for pthread_create in -lpthread... yes

checking for rtnl_talk in -lnetlink... no

checking for HMAC_Init in -lcrypto... yes

configure: *** checking for optional features

checking whether to use builtin crypto... (cached) no

checking whether to enable debug messages... (cached) yes

checking whether to enable debug virtual terminal... (cached) no

configure: *** checking for RFC3542: Advanced IPv6 Socket API support

checking for inet6_opt_find... yes

checking for inet6_rth_space... yes

checking for inet6_rth_init... yes

checking for inet6_rth_add... yes

checking for inet6_rth_getaddr... yes

checking for inet6_rth_gettype... no

configure: *** checking for Mobile IPv6 support in kernel headers

checking whether IFA_F_HOMEADDRESS is declared... yes

checking whether RTPROT_MIP is declared... yes

configure: *** checking for Mobile IPv6 extensions in system headers

checking netinet/in.h usability... yes

checking netinet/in.h presence... yes

checking for netinet/in.h... yes

checking netinet/ip6.h usability... yes

checking netinet/ip6.h presence... yes

checking for netinet/ip6.h... yes

checking netinet/icmp6.h usability... yes

checking netinet/icmp6.h presence... yes

checking for netinet/icmp6.h... yes

checking netinet/ip6mh.h usability... no

checking netinet/ip6mh.h presence... no

checking for netinet/ip6mh.h... no

checking for struct ip6_ext.ip6e_nxt... yes

checking for struct ip6_opt_home_address.ip6oha_type... no

checking for struct ip6_rthdr2.ip6r2_nxt... no

checking for struct mip_dhaad_req.mip_dhreq_hdr... no

checking for struct mip_dhaad_rep.mip_dhrep_hdr... no

checking for struct mip_prefix_solicit.mip_ps_hdr... no

checking for struct mip_prefix_advert.mip_pa_hdr... no

checking for struct nd_opt_homeagent_info.nd_opt_hai_type... no

configure: creating ./config.status

config.status: creating Makefile

config.status: creating libnetlink/Makefile

config.status: creating libmissing/Makefile

config.status: creating src/Makefile

config.status: creating man/Makefile

config.status: creating config.h

config.status: executing depfiles commands

configure: settings



MIPL Mobile IPv6 for Linux version 2.0.2



  Use built-in crypto: ............ no

  Use OpenSSL crypto library: ..... yes

  Enable debugging mode: .......... yes

  Enable virtual debug terminal: .. no



  Build target: i686-pc-linux-gnu

  CPPFLAGS: -isystem /usr/src/linux-2.6.16/include



[EMAIL PROTECTED] mipv6-2.0.2]# mknod /dev/mipv6_dev c 0xf9 0*

[EMAIL PROTECTED] mipv6-2.0.2]# chkconfig --add mobile-ip6*

error reading information on service mobile-ip6: No such file or directory

[EMAIL PROTECTED] mipv6-2.0.2]#*

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


Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.mobile-ipv6.org/pipermail/mipl/attachments/20070621/5d81d907/attachment.html
 

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

_______________________________________________
mipl mailing list
[email protected]
http://www.mobile-ipv6.org/cgi-bin/mailman/listinfo/mipl

End of mipl Digest, Vol 50, Issue 8
***********************************


 
____________________________________________________________________________________
Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front
_______________________________________________
mipl mailing list
[email protected]
http://www.mobile-ipv6.org/cgi-bin/mailman/listinfo/mipl

Reply via email to