hiiiiiiii all,
im suresh here, im working now on the latest
uClinux-dist-test-20080109.tar.bz2(uClinux-dist-2.4.34), here im getting
error mentioned below  when i run the command *make* and also another thing
i solved that make dep problem which i had posted earlier, what i did was i
installed the same old m68k-elf tool
chain[*m68k-elf-tools-20020410.tar.gz]*which i was using before, to
solve the below
*make dep* error what i did was in the */usr* directory i removed directory
*local*, then once i again installed the m68k-elf tool chain *
m68k-elf-tools-20020410.tar.gz, *and in the path /usr/local/bin i copied the
command *m68k-elf-gcc* to another command by name *m68k-uclinux-gcc* , and
similarly to the below mentioned commands

> *m68k-elf-ld.real* to *m68k-uclinux-ld.real*
> *m68k-elf-ld *to *m68k-uclinux-ld*
> *m68k-elf-ar *to *m68k-uclinux-ar*
> *m68k-elf-nm* to *m68k-uclinux-nm*
> *m68k-elf-ranlib* to *m68k-uclinux-ranlib* which solved the earlier *make
> dep* problem mentioned below
>
> *which: no m68k-uclinux-20060615-gcc in (/usr/local/sbin:/usr/local**
> /bin:/sbin:/bin:/usr/sbin:/usr**/bin:/usr/X11R6/bin:/root/bin)**
> /bin/sh: m68k-uclinux-gcc: command not found
> /bin/sh: m68k-uclinux-gcc: command not found
> /bin/sh: m68k-uclinux-gcc: command not found
> /bin/sh: m68k-uclinux-gcc: command not found
> realpath(/include) failed, No such file or directory
> make[3]: *** [fastdep] Error 1
> make[2]: *** [_sfdep_arch/m68knommu/kernel] Error 2
> make[1]: *** [dep-files] Error 2
> make: *** [dep] Error 2*
>

*NEW PROBLEM WHEN I RUN MAKE  COMMAND*
>
                                     ||
                                     ||
                                     ||
                                     \/
Now the problem im facing is when i try to run *make* command,here is the
error which i get when i try to run *make* command

*/root/NEW_220208/uClinux-dist*
>
> *-test/include/asm-m68k/posix**_types.h:10: previous declaration of
> `__kernel_dev_t'
> ../include/linux/types.h:22: parse error before `timer_t'
> ../include/linux/types.h:22: warning: type defaults to `int' in
> declaration of `timer_t'
> ../include/linux/types.h:22: warning: data definition has no type or
> storage class
> ../include/linux/types.h:23: parse error before `clockid_t'
> ../include/linux/types.h:23: warning: type defaults to `int' in
> declaration of `clockid_t'
> ../include/linux/types.h:23: warning: data definition has no type or
> storage class
> ../include/linux/types.h:24: parse error before `mqd_t'
> ../include/linux/types.h:24: warning: type defaults to `int' in
> declaration of `mqd_t'
> ../include/linux/types.h:24: warning: data definition has no type or
> storage class
> In file included from ll_map.c:18:
> /root/NEW_220208/uClinux-dist**-test/lib/libc/include/sys**/socket.h:167:
> parse error before `__af'
> In file included from /root/NEW_220208/uClinux-dist**
> -test/lib/libc/include/netinet**/in.h:82,
>                  from ll_map.c:19:
> /root/NEW_220208/uClinux-dist**-test/include/linux/in.h:175: parse error
> before `sa_family_t'
> /root/NEW_220208/uClinux-dist**-test/include/linux/in.h:175: warning: no
> semicolon at end of struct or union
> /root/NEW_220208/uClinux-dist**-test/include/linux/in.h:182: parse error
> before `}'
> In file included from ll_map.c:20:
> /root/NEW_220208/uClinux-dist**-test/lib/libc/include/net/if**.h:76: field
> `ifa_addr' has incomplete type
> /root/NEW_220208/uClinux-dist**-test/lib/libc/include/net/if**.h:79: field
> `ifu_broadaddr' has incomplete type
> /root/NEW_220208/uClinux-dist**-test/lib/libc/include/net/if**.h:80: field
> `ifu_dstaddr' has incomplete type
> /root/NEW_220208/uClinux-dist**-test/lib/libc/include/net/if**.h:123:
> field `ifru_addr' has incomplete type
> /root/NEW_220208/uClinux-dist**-test/lib/libc/include/net/if**.h:124:
> field `ifru_dstaddr' has incomplete type
> /root/NEW_220208/uClinux-dist**-test/lib/libc/include/net/if**.h:125:
> field `ifru_broadaddr' has incomplete type
> /root/NEW_220208/uClinux-dist**-test/lib/libc/include/net/if**.h:126:
> field `ifru_netmask' has incomplete type
> /root/NEW_220208/uClinux-dist**-test/lib/libc/include/net/if**.h:127:
> field `ifru_hwaddr' has incomplete type
> In file included from ../include/libnetlink.h:5,
>                  from ll_map.c:23:
> ../include/linux/netlink.h:31: parse error before `sa_family_t'
> ../include/linux/netlink.h:31: warning: no semicolon at end of struct or
> union
> ../include/linux/netlink.h:35: parse error before `}'
> In file included from ll_map.c:23:
> ../include/libnetlink.h:14: field `local' has incomplete type
> ../include/libnetlink.h:15: field `peer' has incomplete type
> ll_map.c: In function `ll_init_map':
> ll_map.c:162: `AF_UNSPEC' undeclared (first use in this function)
> ll_map.c:162: (Each undeclared identifier is reported only once
> ll_map.c:162: for each function it appears in.)
> make[4]: *** [ll_map.o] Error 1
> make[3]: *** [all] Error 2
> make[2]: *** [iproute2] Error 2
> make[1]: *** [all] Error 2
> make: *** [subdirs] Error 1*


Thanks & Regards
Suresh N
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to