Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#19018 closed defect (moved_to_github)

nat46 compilation error

Reported by: anonymous Owned by: developers
Priority: normal Milestone:
Component: base system Version: Trunk
Keywords: nat46 Cc:

Description

rm -f /home/development/src/openwrt-trunk/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/nat46-2/.configured_
touch /home/development/src/openwrt-trunk/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/nat46-2/.configured_
make -C /home/development/src/openwrt-trunk/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.18.7 HOSTCFLAGS="-O2 -I/home/development/src/openwrt-trunk/openwrt/staging_dir/host/include -I/home/development/src/openwrt-trunk/openwrt/staging_dir/host/usr/include -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="mips-openwrt-linux-uclibc-" ARCH="mips" KBUILD_HAVE_NLS=no CONFIG_SHELL="bash" V='' CC="mips-openwrt-linux-uclibc-gcc" SUBDIRS="/home/development/src/openwrt-trunk/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/nat46-2/nat46/modules" MODFLAGS="-DMODULE -mlong-calls" EXTRA_CFLAGS="-DNAT46_VERSION=\\\"5589212cb35527929fd66218721ab54040c6b788\\\"" modules
make[4]: Entering directory `/home/development/src/openwrt-trunk/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.18.7'
  CC [M]  /home/development/src/openwrt-trunk/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/nat46-2/nat46/modules/nat46-netdev.o
/home/development/src/openwrt-trunk/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/nat46-2/nat46/modules/nat46-netdev.c: In function 'nat46_netdev_create':
/home/development/src/openwrt-trunk/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/nat46-2/nat46/modules/nat46-netdev.c:136:82: error: macro "alloc_netdev" requires 4 arguments, but only 3 given
         *dev = alloc_netdev(sizeof(nat46_instance_t), devname, nat46_netdev_setup);
                                                                                  ^
/home/development/src/openwrt-trunk/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/nat46-2/nat46/modules/nat46-netdev.c:136:16: error: 'alloc_netdev' undeclared (first use in this function)
         *dev = alloc_netdev(sizeof(nat46_instance_t), devname, nat46_netdev_setup);
                ^
/home/development/src/openwrt-trunk/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/nat46-2/nat46/modules/nat46-netdev.c:136:16: note: each undeclared identifier is reported only once for each function it appears in
/home/development/src/openwrt-trunk/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/nat46-2/nat46/modules/nat46-netdev.c: At top level:
/home/development/src/openwrt-trunk/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/nat46-2/nat46/modules/nat46-netdev.c:94:13: warning: 'nat46_netdev_setup' defined but not used [-Wunused-function]
 static void nat46_netdev_setup(struct net_device *dev)
             ^
make[5]: *** [/home/development/src/openwrt-trunk/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/nat46-2/nat46/modules/nat46-netdev.o] Error 1
make[4]: *** [_module_/home/development/src/openwrt-trunk/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/nat46-2/nat46/modules] Error 2
make[4]: Leaving directory `/home/development/src/openwrt-trunk/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.18.7'
make[3]: *** [/home/development/src/openwrt-trunk/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/nat46-2/.built] Error 2
make[3]: Leaving directory `/home/development/src/openwrt-trunk/openwrt/feeds/routing/nat46'
make[2]: *** [package/feeds/routing/nat46/compile] Error 2
make[2]: Leaving directory `/home/development/src/openwrt-trunk/openwrt'
make[1]: *** [/home/development/src/openwrt-trunk/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/development/src/openwrt-trunk/openwrt'
make: *** [world] Error 2

Attachments (0)

Change History (1)

comment:1 Changed 3 years ago by nbd

  • Resolution set to moved_to_github
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.