#1 2009-11-15 19:34:40
[問題] 請問有沒有人會compile華碩的韌體 (RT-N16)
我下載了華碩的GPL韌體1006版的和9937版的 (9937GPL無法正常解壓縮),
所以我只有試1006,
我是看這篇http://phorum.study-area.org/index.php? … ic=50429.0
自己做了一些步驟的修改
然後就compile
從500gp > 520gc > rt-n16
都沒有成功過
小弟用ubuntu 8.10 alt
root@@ubuntu:~# unzip GPL_RTN16_1006.zip
root@@ubuntu:~# cd GPL_1006_RT_N16
root@@ubuntu:~# mv GPL-RT-N16-1.0.0.6.tar.gz toolchains.tgz ../
root@@ubuntu:~# tar xf GPL-RT-N16-1.0.0.6.tar.gz
root@@ubuntu:~# tar xf toolchains.tgz
root@@ubuntu:~# PATH=$PATH:/root/toolchains/hndtools-mipsel-linux-uclibc-4.1.2-32/bin:/root/toolchains/hndtools-mipsel-linux-uclibc-4.1.2-32/mipsel-linux/bin:/root/toolchains/hndtools-mipsel-linux-uclibc-4.1.2-32/mipsel-linux-uclibc/bin
root@@ubuntu:~# cd RT-N16/src/linux/linux-2.6/
root@@ubuntu:~/RT-N16/src/linux/linux-2.6# make
root@@ubuntu:~/RT-N16/src# cd ../..
root@@ubuntu:~/RT-N16/src# make
以下是make 核心
CHK include/linux/version.h
CHK include/linux/utsrelease.h
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
CC arch/mips/kernel/asm-offsets.s
GEN include/asm-mips/asm-offsets.h
CALL scripts/checksyscalls.sh
HOSTCC scripts/genksyms/genksyms.o
HOSTCC scripts/genksyms/lex.o
scripts/genksyms/lex.c: In function 「yylex1」:
scripts/genksyms/lex.l:95: 警告: 忽略宣告有 warn_unused_result 屬性的 「fwrite」 的回傳值
scripts/genksyms/lex.l: 在頂層:
scripts/genksyms/lex.c:1230: 警告: 「input」 定義後未使用
HOSTCC scripts/genksyms/parse.o
HOSTLD scripts/genksyms/genksyms
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
HOSTCC scripts/kallsyms
scripts/kallsyms.c: In function 「read_symbol」:
scripts/kallsyms.c:83: 警告: 忽略宣告有 warn_unused_result 屬性的 「fgets」 的回傳值
HOSTCC scripts/bin2c
CC init/main.o
init/main.c:83:2: warning: #warning gcc-4.1.0 is known to miscompile the kernel. A different compiler version is recommended.
init/main.c:83:2: warning: #warning gcc-4.1.0 is known to miscompile the kernel. A different compiler version is recommended.
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
CC init/do_mounts.o
LD init/mounts.o
CC init/noinitramfs.o
CC init/calibrate.o
LD init/built-in.o
LD usr/built-in.o
AS arch/mips/brcm-boards/generic/int-handler.o
LD arch/mips/brcm-boards/generic/built-in.o
CC arch/mips/brcm-boards/bcm947xx/pcibios.o
arch/mips/brcm-boards/bcm947xx/pcibios.c: In function 'pcibios_enable_device':
arch/mips/brcm-boards/bcm947xx/pcibios.c:258: warning: passing argument 2 of 'writel' makes pointer from integer without a cast
arch/mips/brcm-boards/bcm947xx/pcibios.c:288: warning: implicit declaration of function 'si_cpu_clock'
arch/mips/brcm-boards/bcm947xx/pcibios.c:298: warning: passing argument 2 of 'writel' makes pointer from integer without a cast
arch/mips/brcm-boards/bcm947xx/pcibios.c:300: warning: passing argument 2 of 'writel' makes pointer from integer without a cast
arch/mips/brcm-boards/bcm947xx/pcibios.c:302: warning: passing argument 1 of 'readl' makes pointer from integer without a cast
arch/mips/brcm-boards/bcm947xx/pcibios.c:304: warning: passing argument 2 of 'writel' makes pointer from integer without a cast
arch/mips/brcm-boards/bcm947xx/pcibios.c:306: warning: passing argument 2 of 'writel' makes pointer from integer without a cast
arch/mips/brcm-boards/bcm947xx/pcibios.c:308: warning: passing argument 1 of 'readl' makes pointer from integer without a cast
CC arch/mips/brcm-boards/bcm947xx/setup.o
CC arch/mips/brcm-boards/bcm947xx/prom.o
CC arch/mips/brcm-boards/bcm947xx/time.o
CC arch/mips/brcm-boards/bcm947xx/irq.o
CC arch/mips/brcm-boards/bcm947xx/perfcntr.o
LD arch/mips/brcm-boards/bcm947xx/bcm947xx.o
LD arch/mips/brcm-boards/bcm947xx/built-in.o
CC arch/mips/kernel/cpu-probe.o
CC arch/mips/kernel/branch.o
AS arch/mips/kernel/entry.o
AS arch/mips/kernel/genex.o
CC arch/mips/kernel/irq.o
CC arch/mips/kernel/process.o
CC arch/mips/kernel/ptrace.o
CC arch/mips/kernel/reset.o
CC arch/mips/kernel/semaphore.o
CC arch/mips/kernel/setup.o
CC arch/mips/kernel/signal.o
CC arch/mips/kernel/syscall.o
CC arch/mips/kernel/time.o
CC arch/mips/kernel/topology.o
CC arch/mips/kernel/traps.o
CC arch/mips/kernel/unaligned.o
arch/mips/kernel/unaligned.c: In function 'do_ade':
arch/mips/kernel/unaligned.c:493: warning: 'newval' may be used uninitialized in this function
CC arch/mips/kernel/mips_ksyms.o
CC arch/mips/kernel/module.o
AS arch/mips/kernel/r4k_fpu.o
AS arch/mips/kernel/r4k_switch.o
CC arch/mips/kernel/irq_cpu.o
AS arch/mips/kernel/scall32-o32.o
CC arch/mips/kernel/proc.o
LD arch/mips/kernel/built-in.o
AS arch/mips/kernel/head.o
CC arch/mips/kernel/init_task.o
LDS arch/mips/kernel/vmlinux.lds
CC arch/mips/mm/cache.o
CC arch/mips/mm/dma-default.o
CC arch/mips/mm/extable.o
CC arch/mips/mm/fault.o
CC arch/mips/mm/init.o
CC arch/mips/mm/pgtable.o
CC arch/mips/mm/tlbex.o
AS arch/mips/mm/tlbex-fault.o
CC arch/mips/mm/ioremap.o
CC arch/mips/mm/pgtable-32.o
CC arch/mips/mm/c-r4k.o
AS arch/mips/mm/cex-gen.o
CC arch/mips/mm/pg-r4k.o
CC arch/mips/mm/tlb-r4k.o
LD arch/mips/mm/built-in.o
CC arch/mips/math-emu/cp1emu.o
CC arch/mips/math-emu/ieee754m.o
CC arch/mips/math-emu/ieee754d.o
CC arch/mips/math-emu/ieee754dp.o
CC arch/mips/math-emu/ieee754sp.o
CC arch/mips/math-emu/ieee754.o
CC arch/mips/math-emu/ieee754xcpt.o
CC arch/mips/math-emu/dp_frexp.o
CC arch/mips/math-emu/dp_modf.o
CC arch/mips/math-emu/dp_div.o
CC arch/mips/math-emu/dp_mul.o
CC arch/mips/math-emu/dp_sub.o
CC arch/mips/math-emu/dp_add.o
CC arch/mips/math-emu/dp_fsp.o
CC arch/mips/math-emu/dp_cmp.o
CC arch/mips/math-emu/dp_logb.o
CC arch/mips/math-emu/dp_scalb.o
CC arch/mips/math-emu/dp_simple.o
CC arch/mips/math-emu/dp_tint.o
CC arch/mips/math-emu/dp_fint.o
CC arch/mips/math-emu/dp_tlong.o
CC arch/mips/math-emu/dp_flong.o
CC arch/mips/math-emu/sp_frexp.o
CC arch/mips/math-emu/sp_modf.o
CC arch/mips/math-emu/sp_div.o
CC arch/mips/math-emu/sp_mul.o
CC arch/mips/math-emu/sp_sub.o
CC arch/mips/math-emu/sp_add.o
CC arch/mips/math-emu/sp_fdp.o
CC arch/mips/math-emu/sp_cmp.o
CC arch/mips/math-emu/sp_logb.o
CC arch/mips/math-emu/sp_scalb.o
CC arch/mips/math-emu/sp_simple.o
CC arch/mips/math-emu/sp_tint.o
CC arch/mips/math-emu/sp_fint.o
CC arch/mips/math-emu/sp_tlong.o
CC arch/mips/math-emu/sp_flong.o
CC arch/mips/math-emu/dp_sqrt.o
CC arch/mips/math-emu/sp_sqrt.o
CC arch/mips/math-emu/kernel_linkage.o
CC arch/mips/math-emu/dsemul.o
LD arch/mips/math-emu/built-in.o
CC kernel/sched.o
CC kernel/fork.o
CC kernel/exec_domain.o
CC kernel/panic.o
CC kernel/printk.o
CC kernel/profile.o
CC kernel/exit.o
CC kernel/itimer.o
CC kernel/time.o
CC kernel/softirq.o
CC kernel/resource.o
CC kernel/sysctl.o
CC kernel/capability.o
CC kernel/ptrace.o
CC kernel/timer.o
CC kernel/user.o
CC kernel/signal.o
CC kernel/sys.o
kernel/sys.c: In function 'sys_getcpu':
kernel/sys.c:2270: warning: 't0' may be used uninitialized in this function
kernel/sys.c:2270: warning: 't1' may be used uninitialized in this function
kernel/sys.c: In function 'sys_track_flag':
kernel/sys.c:2289: warning: 'in_flag' may be used uninitialized in this function
CC kernel/kmod.o
CC kernel/workqueue.o
CC kernel/pid.o
CC kernel/rcupdate.o
CC kernel/extable.o
CC kernel/params.o
CC kernel/posix-timers.o
CC kernel/kthread.o
CC kernel/wait.o
CC kernel/kfifo.o
CC kernel/sys_ni.o
CC kernel/posix-cpu-timers.o
CC kernel/mutex.o
CC kernel/hrtimer.o
CC kernel/rwsem.o
CC kernel/latency.o
CC kernel/nsproxy.o
CC kernel/srcu.o
CC kernel/die_notifier.o
CC kernel/irq/handle.o
CC kernel/irq/manage.o
CC kernel/irq/spurious.o
CC kernel/irq/resend.o
CC kernel/irq/chip.o
CC kernel/irq/devres.o
CC kernel/irq/autoprobe.o
CC kernel/irq/proc.o
LD kernel/irq/built-in.o
CC kernel/time/timekeeping.o
CC kernel/time/ntp.o
CC kernel/time/clocksource.o
CC kernel/time/jiffies.o
CC kernel/time/timer_list.o
LD kernel/time/built-in.o
CC kernel/futex.o
CC kernel/rtmutex.o
CC kernel/module.o
CC kernel/kallsyms.o
GZIP kernel/config_data.gz
IKCFG kernel/config_data.h
CC kernel/configs.o
CC kernel/ksysfs.o
CC kernel/utsname_sysctl.o
LD kernel/built-in.o
CC mm/bootmem.o
CC mm/filemap.o
CC mm/mempool.o
CC mm/oom_kill.o
CC mm/fadvise.o
CC mm/page_alloc.o
CC mm/page-writeback.o
CC mm/pdflush.o
CC mm/readahead.o
CC mm/swap.o
CC mm/truncate.o
CC mm/vmscan.o
CC mm/prio_tree.o
CC mm/util.o
CC mm/mmzone.o
CC mm/vmstat.o
CC mm/backing-dev.o
CC mm/fremap.o
CC mm/highmem.o
CC mm/madvise.o
CC mm/memory.o
CC mm/mincore.o
CC mm/mlock.o
CC mm/mmap.o
CC mm/mprotect.o
CC mm/mremap.o
CC mm/msync.o
CC mm/rmap.o
CC mm/vmalloc.o
CC mm/bounce.o
CC mm/page_io.o
CC mm/swap_state.o
CC mm/swapfile.o
CC mm/thrash.o
CC mm/shmem.o
CC mm/shmem_acl.o
CC mm/slab.o
LD mm/built-in.o
CC fs/open.o
CC fs/read_write.o
fs/read_write.c: In function 'sys_sendfile':
fs/read_write.c:802: warning: 'off' may be used uninitialized in this function
CC fs/file_table.o
CC fs/super.o
CC fs/char_dev.o
CC fs/stat.o
CC fs/exec.o
CC fs/pipe.o
CC fs/namei.o
CC fs/fcntl.o
fs/fcntl.c: In function 'f_setown':
fs/fcntl.c:296: warning: format '%d' expects type 'int', but argument 2 has type 'struct pid *'
CC fs/ioctl.o
CC fs/readdir.o
CC fs/select.o
CC fs/fifo.o
CC fs/locks.o
CC fs/dcache.o
CC fs/inode.o
CC fs/attr.o
CC fs/bad_inode.o
CC fs/file.o
CC fs/filesystems.o
CC fs/namespace.o
CC fs/aio.o
fs/aio.c: In function 'sys_io_setup':
fs/aio.c:1249: warning: 'ctx' may be used uninitialized in this function
fs/aio.c: In function 'sys_io_cancel':
fs/aio.c:1711: warning: 'key' may be used uninitialized in this function
CC fs/seq_file.o
CC fs/xattr.o
CC fs/libfs.o
CC fs/fs-writeback.o
CC fs/pnode.o
CC fs/drop_caches.o
CC fs/splice.o
fs/splice.c: In function 'sys_vmsplice':
fs/splice.c:1162: warning: 'base' may be used uninitialized in this function
CC fs/sync.o
CC fs/utimes.o
CC fs/stack.o
CC fs/buffer.o
fs/buffer.c: In function 'generic_cont_expand_simple':
fs/buffer.c:2082: warning: format '%d' expects type 'int', but argument 2 has type 'loff_t'
CC fs/bio.o
CC fs/block_dev.o
CC fs/direct-io.o
CC fs/mpage.o
CC fs/ioprio.o
CC fs/inotify.o
CC fs/inotify_user.o
CC fs/eventpoll.o
CC fs/anon_inodes.o
CC fs/signalfd.o
CC fs/timerfd.o
CC fs/eventfd.o
CC fs/binfmt_script.o
CC fs/binfmt_elf.o
CC fs/posix_acl.o
CC fs/xattr_acl.o
CC fs/generic_acl.o
CC fs/dquot.o
CC fs/quota_v2.o
CC fs/quota.o
CC fs/dnotify.o
CC fs/autofs/dirhash.o
CC fs/autofs/init.o
CC fs/autofs/inode.o
CC fs/autofs/root.o
CC fs/autofs/symlink.o
CC fs/autofs/waitq.o
LD fs/autofs/autofs.o
LD fs/autofs/built-in.o
CC fs/autofs4/init.o
CC fs/autofs4/inode.o
CC fs/autofs4/root.o
CC fs/autofs4/symlink.o
CC fs/autofs4/waitq.o
CC fs/autofs4/expire.o
LD fs/autofs4/autofs4.o
LD fs/autofs4/built-in.o
CC fs/configfs/inode.o
CC fs/configfs/file.o
CC fs/configfs/dir.o
CC fs/configfs/symlink.o
CC fs/configfs/mount.o
CC fs/configfs/item.o
LD fs/configfs/configfs.o
LD fs/configfs/built-in.o
CC fs/cramfs/inode.o
CC fs/cramfs/uncompress.o
LD fs/cramfs/cramfs.o
LD fs/cramfs/built-in.o
CC fs/devpts/inode.o
LD fs/devpts/devpts.o
LD fs/devpts/built-in.o
CC fs/ext2/balloc.o
CC fs/ext2/dir.o
CC fs/ext2/file.o
CC fs/ext2/fsync.o
CC fs/ext2/ialloc.o
CC fs/ext2/inode.o
CC fs/ext2/ioctl.o
CC fs/ext2/namei.o
CC fs/ext2/super.o
CC fs/ext2/symlink.o
LD fs/ext2/ext2.o
LD fs/ext2/built-in.o
CC fs/fat/cache.o
CC fs/fat/dir.o
CC fs/fat/fatent.o
fs/fat/fatent.c: In function 'fat_count_free_clusters':
fs/fat/fatent.c:588: warning: ISO C90 forbids mixed declarations and code
CC fs/fat/file.o
fs/fat/file.c:141: warning: 'fat_cont_expand' defined but not used
CC fs/fat/inode.o
CC fs/fat/misc.o
LD fs/fat/fat.o
LD fs/fat/built-in.o
CC fs/fuse/dev.o
CC fs/fuse/dir.o
CC fs/fuse/file.o
CC fs/fuse/inode.o
CC fs/fuse/control.o
LD fs/fuse/fuse.o
LD fs/fuse/built-in.o
CC fs/msdos/namei.o
LD fs/msdos/msdos.o
LD fs/msdos/built-in.o
CC fs/nls/nls_base.o
CC fs/nls/nls_utf8.o
LD fs/nls/built-in.o
CC [M] fs/nls/nls_cp932.o
CC [M] fs/nls/nls_euc-jp.o
CC [M] fs/nls/nls_cp936.o
CC [M] fs/nls/nls_cp949.o
CC [M] fs/nls/nls_cp950.o
CC fs/ntfs/aops.o
CC fs/ntfs/attrib.o
CC fs/ntfs/collate.o
CC fs/ntfs/compress.o
CC fs/ntfs/debug.o
CC fs/ntfs/dir.o
CC fs/ntfs/file.o
CC fs/ntfs/index.o
CC fs/ntfs/inode.o
CC fs/ntfs/mft.o
CC fs/ntfs/mst.o
CC fs/ntfs/namei.o
CC fs/ntfs/runlist.o
CC fs/ntfs/super.o
CC fs/ntfs/sysctl.o
CC fs/ntfs/unistr.o
CC fs/ntfs/upcase.o
LD fs/ntfs/ntfs.o
LD fs/ntfs/built-in.o
CC fs/partitions/check.o
fs/partitions/check.c: In function 'add_partition':
fs/partitions/check.c:392: warning: ignoring return value of 'kobject_add', declared with attribute warn_unused_result
fs/partitions/check.c:395: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result
fs/partitions/check.c:403: warning: ignoring return value of 'sysfs_create_file', declared with attribute warn_unused_result
CC fs/partitions/ldm.o
CC fs/partitions/msdos.o
LD fs/partitions/built-in.o
CC fs/proc/mmu.o
CC fs/proc/task_mmu.o
CC fs/proc/inode.o
CC fs/proc/root.o
CC fs/proc/base.o
CC fs/proc/generic.o
CC fs/proc/array.o
CC fs/proc/proc_tty.o
CC fs/proc/proc_misc.o
CC fs/proc/proc_sysctl.o
CC fs/proc/kcore.o
CC fs/proc/kmsg.o
LD fs/proc/proc.o
LD fs/proc/built-in.o
CC fs/ramfs/inode.o
CC fs/ramfs/file-mmu.o
LD fs/ramfs/ramfs.o
LD fs/ramfs/built-in.o
CC fs/smbfs/proc.o
fs/smbfs/proc.c: In function 'smb_proc_trunc64':
fs/smbfs/proc.c:1737: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c: In function 'smb_proc_setattr_unix':
fs/smbfs/proc.c:2993: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3010: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3010: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3010: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3011: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3011: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3011: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3012: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3012: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3012: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3013: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3013: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3013: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3014: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3014: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3014: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3015: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3015: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3016: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3016: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3021: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c:3021: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c: In function 'smb_proc_read_link':
fs/smbfs/proc.c:3166: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c: In function 'smb_proc_symlink':
fs/smbfs/proc.c:3215: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c: In function 'smb_proc_link':
fs/smbfs/proc.c:3258: warning: large integer implicitly truncated to unsigned type
fs/smbfs/proc.c: In function 'smb_proc_query_cifsunix':
fs/smbfs/proc.c:3302: warning: large integer implicitly truncated to unsigned type
CC fs/smbfs/dir.o
CC fs/smbfs/cache.o
CC fs/smbfs/sock.o
CC fs/smbfs/inode.o
CC fs/smbfs/file.o
CC fs/smbfs/ioctl.o
CC fs/smbfs/getopt.o
CC fs/smbfs/symlink.o
CC fs/smbfs/smbiod.o
CC fs/smbfs/request.o
LD fs/smbfs/smbfs.o
LD fs/smbfs/built-in.o
CC fs/squashfs/inode.o
CC fs/squashfs/squashfs2_0.o
LD fs/squashfs/squashfs.o
LD fs/squashfs/built-in.o
CC fs/sysfs/inode.o
CC fs/sysfs/file.o
CC fs/sysfs/dir.o
CC fs/sysfs/symlink.o
CC fs/sysfs/mount.o
CC fs/sysfs/bin.o
CC fs/sysfs/group.o
LD fs/sysfs/built-in.o
CC fs/vfat/namei.o
LD fs/vfat/vfat.o
LD fs/vfat/built-in.o
LD fs/built-in.o
CC ipc/util.o
CC ipc/msgutil.o
CC ipc/msg.o
ipc/msg.c: In function 'sys_msgctl':
ipc/msg.c:390: warning: 'setbuf.qbytes' may be used uninitialized in this function
ipc/msg.c:390: warning: 'setbuf.uid' may be used uninitialized in this function
ipc/msg.c:390: warning: 'setbuf.gid' may be used uninitialized in this function
ipc/msg.c:390: warning: 'setbuf.mode' may be used uninitialized in this function
CC ipc/sem.o
ipc/sem.c: In function 'sys_semctl':
ipc/sem.c:861: warning: 'setbuf.uid' may be used uninitialized in this function
ipc/sem.c:861: warning: 'setbuf.gid' may be used uninitialized in this function
ipc/sem.c:861: warning: 'setbuf.mode' may be used uninitialized in this function
CC ipc/shm.o
CC ipc/ipc_sysctl.o
LD ipc/built-in.o
CC security/commoncap.o
LD security/built-in.o
CC crypto/api.o
CC crypto/scatterwalk.o
CC crypto/cipher.o
CC crypto/digest.o
CC crypto/compress.o
CC crypto/algapi.o
CC crypto/proc.o
CC crypto/hash.o
LD crypto/crypto_algapi.o
CC crypto/blkcipher.o
LD crypto/crypto_hash.o
CC crypto/cryptomgr.o
CC crypto/hmac.o
CC crypto/md5.o
CC crypto/sha1.o
CC crypto/ecb.o
CC crypto/arc4.o
LD crypto/built-in.o
CC block/elevator.o
CC block/ll_rw_blk.o
CC block/ioctl.o
CC block/genhd.o
CC block/scsi_ioctl.o
CC block/noop-iosched.o
LD block/built-in.o
LD drivers/auxdisplay/built-in.o
CC drivers/base/core.o
drivers/base/core.c: In function 'device_add':
drivers/base/core.c:716: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result
drivers/base/core.c:721: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result
drivers/base/core.c:724: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result
drivers/base/core.c:730: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result
drivers/base/core.c: In function 'device_rename':
drivers/base/core.c:1189: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result
drivers/base/core.c:1199: warning: ignoring return value of 'sysfs_create_link', declared with attribute warn_unused_result
CC drivers/base/sys.o
CC drivers/base/bus.o
CC drivers/base/dd.o
CC drivers/base/driver.o
CC drivers/base/class.o
CC drivers/base/platform.o
CC drivers/base/cpu.o
CC drivers/base/firmware.o
CC drivers/base/init.o
CC drivers/base/map.o
CC drivers/base/devres.o
CC drivers/base/attribute_container.o
CC drivers/base/transport_class.o
CC drivers/base/power/shutdown.o
LD drivers/base/power/built-in.o
CC drivers/base/dma-mapping.o
CC drivers/base/dmapool.o
CC drivers/base/firmware_class.o
LD drivers/base/built-in.o
CC drivers/block/loop.o
LD drivers/block/built-in.o
LD drivers/cdrom/built-in.o
CC drivers/char/mem.o
CC drivers/char/random.o
CC drivers/char/tty_io.o
CC drivers/char/n_tty.o
CC drivers/char/tty_ioctl.o
drivers/char/tty_ioctl.c: In function 'set_termios':
drivers/char/tty_ioctl.c:417: warning: 'tmp' may be used uninitialized in this function
CC drivers/char/pty.o
CC drivers/char/misc.o
CC drivers/char/sysrq.o
CC drivers/char/n_hdlc.o
LD drivers/char/built-in.o
LD drivers/clocksource/built-in.o
LD drivers/connector/built-in.o
CC [M] drivers/connector/cn_queue.o
CC [M] drivers/connector/connector.o
LD [M] drivers/connector/cn.o
LD drivers/crypto/built-in.o
LD drivers/firmware/built-in.o
LD drivers/i2c/algos/built-in.o
LD drivers/i2c/busses/built-in.o
LD drivers/i2c/chips/built-in.o
LD drivers/i2c/built-in.o
LD drivers/macintosh/built-in.o
LD drivers/media/common/built-in.o
LD drivers/media/built-in.o
LD drivers/mfd/built-in.o
LD drivers/misc/built-in.o
CC drivers/mtd/mtdcore.o
CC drivers/mtd/mtdsuper.o
CC drivers/mtd/mtdpart.o
CC drivers/mtd/mtdchar.o
CC drivers/mtd/mtd_blkdevs.o
CC drivers/mtd/mtdblock.o
CC drivers/mtd/chips/chipreg.o
CC drivers/mtd/chips/cfi_probe.o
CC drivers/mtd/chips/cfi_util.o
CC drivers/mtd/chips/cfi_cmdset_0020.o
CC drivers/mtd/chips/cfi_cmdset_0002.o
CC drivers/mtd/chips/cfi_cmdset_0001.o
CC drivers/mtd/chips/gen_probe.o
LD drivers/mtd/chips/built-in.o
CC drivers/mtd/devices/sflash.o
LD drivers/mtd/devices/built-in.o
CC drivers/mtd/maps/bcm947xx-flash.o
LD drivers/mtd/maps/built-in.o
LD drivers/mtd/nand/built-in.o
LD drivers/mtd/onenand/built-in.o
LD drivers/mtd/built-in.o
CC drivers/net/Space.o
CC drivers/net/loopback.o
CC drivers/net/ppp_generic.o
CC drivers/net/ppp_async.o
CC drivers/net/ppp_synctty.o
CC drivers/net/ppp_deflate.o
CC drivers/net/bsd_comp.o
CC drivers/net/ppp_mppe.o
CC drivers/net/pppox.o
In file included from drivers/net/pppox.c:30:
include/linux/if_pppox.h:257: warning: 'struct net_proto' declared inside parameter list
include/linux/if_pppox.h:257: warning: its scope is only this definition or declaration, which is probably not what you want
CC drivers/net/pppoe.o
In file included from drivers/net/pppoe.c:72:
include/linux/if_pppox.h:257: warning: 'struct net_proto' declared inside parameter list
include/linux/if_pppox.h:257: warning: its scope is only this definition or declaration, which is probably not what you want
CC drivers/net/pppol2tp.o
In file included from drivers/net/pppol2tp.c:83:
include/linux/if_pppox.h:257: warning: 'struct net_proto' declared inside parameter list
include/linux/if_pppox.h:257: warning: its scope is only this definition or declaration, which is probably not what you want
CC drivers/net/pptp.o
In file included from drivers/net/pptp.c:50:
include/linux/if_pppox.h:257: warning: 'struct net_proto' declared inside parameter list
include/linux/if_pppox.h:257: warning: its scope is only this definition or declaration, which is probably not what you want
CC drivers/net/slhc.o
LD drivers/net/bcm57xx/built-in.o
CC [M] drivers/net/bcm57xx/../../../../../bcm57xx/linux/b57um.o
In file included from ../../include/osl.h:40,
from drivers/net/bcm57xx/../../../../../bcm57xx/linux/b57um.c:24:
../../include/linux_osl.h:162:1: warning: "printf" redefined
In file included from drivers/net/bcm57xx/../../../../../bcm57xx/linux/b57um.c:20:
drivers/net/bcm57xx/../../../../../bcm57xx/linux/mm.h:613:1: warning: this is the location of the previous definition
CC [M] drivers/net/bcm57xx/../../../../../bcm57xx/linux/b57proc.o
CC [M] drivers/net/bcm57xx/../../../../../bcm57xx/linux/b57diag.o
CC [M] drivers/net/bcm57xx/../../../../../bcm57xx/sys/tigon3.o
In file included from ../../include/osl.h:40,
from ../../include/bcmutils.h:59,
from drivers/net/bcm57xx/../../../../../bcm57xx/sys/tigon3.c:18:
../../include/linux_osl.h:162:1: warning: "printf" redefined
In file included from drivers/net/bcm57xx/../../../../../bcm57xx/sys/tigon3.c:16:
drivers/net/bcm57xx/../../../../../bcm57xx/linux/mm.h:613:1: warning: this is the location of the previous definition
CC [M] drivers/net/bcm57xx/../../../../../bcm57xx/sys/autoneg.o
CC [M] drivers/net/bcm57xx/../../../../../bcm57xx/sys/5701rls.o
CC [M] drivers/net/bcm57xx/../../../../../bcm57xx/sys/tcp_seg.o
CC [M] drivers/net/bcm57xx/../../../../../shared/hndgige.o
LD [M] drivers/net/bcm57xx/bcm57xx.o
LD drivers/net/emf/built-in.o
CC [M] drivers/net/emf/../../../../../emf/emf/emfc.o
CC [M] drivers/net/emf/../../../../../router/emf/emf/emf_linux.o
In file included from include/linux/netfilter_bridge.h:10,
from drivers/net/emf/../../../../../router/emf/emf/emf_linux.c:18:
include/linux/if_pppox.h:257: warning: 'struct net_proto' declared inside parameter list
include/linux/if_pppox.h:257: warning: its scope is only this definition or declaration, which is probably not what you want
LD [M] drivers/net/emf/emf.o
LD drivers/net/et/built-in.o
CC [M] drivers/net/et/../../../../../et/sys/et_linux.o
CC [M] drivers/net/et/../../../../../et/sys/etc.o
CC [M] drivers/net/et/../../../../../et/sys/etc47xx.o
CC [M] drivers/net/et/../../../../../et/sys/etc_adm.o
CC [M] drivers/net/et/../../../../../et/sys/etcgmac.o
LD [M] drivers/net/et/et.o
LD drivers/net/hnd/hnd.o
CC drivers/net/hnd/shared_ksyms.o
LD drivers/net/hnd/built-in.o
LD drivers/net/igs/built-in.o
CC [M] drivers/net/igs/../../../../../emf/igs/igsc.o
CC [M] drivers/net/igs/../../../../../emf/igs/igsc_sdb.o
CC [M] drivers/net/igs/../../../../../router/emf/igs/igs_linux.o
CC [M] drivers/net/igs/../../../../../emf/igs/osl_linux.o
LD [M] drivers/net/igs/igs.o
LD drivers/net/wireless/built-in.o
LD drivers/net/wl/built-in.o
LD [M] drivers/net/wl/wl.o
LD drivers/net/built-in.o
CC drivers/pci/access.o
CC drivers/pci/bus.o
CC drivers/pci/probe.o
CC drivers/pci/remove.o
CC drivers/pci/pci.o
CC drivers/pci/quirks.o
CC drivers/pci/pci-driver.o
CC drivers/pci/search.o
drivers/pci/search.c: In function 'pci_find_slot':
drivers/pci/search.c:99: warning: 'pci_find_device' is deprecated (declared at include/linux/pci.h:477)
drivers/pci/search.c: At top level:
drivers/pci/search.c:434: warning: 'pci_find_device' is deprecated (declared at drivers/pci/search.c:241)
drivers/pci/search.c:434: warning: 'pci_find_device' is deprecated (declared at drivers/pci/search.c:241)
CC drivers/pci/pci-sysfs.o
CC drivers/pci/rom.o
CC drivers/pci/setup-res.o
CC drivers/pci/proc.o
CC drivers/pci/hotplug.o
CC drivers/pci/setup-bus.o
CC drivers/pci/setup-irq.o
CC drivers/pci/syscall.o
LD drivers/pci/built-in.o
LD drivers/scsi/built-in.o
CC [M] drivers/scsi/scsi.o
CC [M] drivers/scsi/hosts.o
CC [M] drivers/scsi/scsi_ioctl.o
CC [M] drivers/scsi/constants.o
CC [M] drivers/scsi/scsicam.o
CC [M] drivers/scsi/scsi_error.o
CC [M] drivers/scsi/scsi_lib.o
CC [M] drivers/scsi/scsi_scan.o
CC [M] drivers/scsi/scsi_sysfs.o
CC [M] drivers/scsi/scsi_devinfo.o
CC [M] drivers/scsi/scsi_sysctl.o
CC [M] drivers/scsi/scsi_proc.o
include/scsi/sd.h:50: warning: 'sd_revalidate_disk' declared 'static' but never defined
include/scsi/sd.h:51: warning: 'sd_rw_intr' declared 'static' but never defined
include/scsi/sd.h:52: warning: 'sd_probe' declared 'static' but never defined
include/scsi/sd.h:53: warning: 'sd_remove' declared 'static' but never defined
include/scsi/sd.h:54: warning: 'sd_shutdown' declared 'static' but never defined
include/scsi/sd.h:55: warning: 'sd_suspend' declared 'static' but never defined
include/scsi/sd.h:56: warning: 'sd_resume' declared 'static' but never defined
include/scsi/sd.h:57: warning: 'sd_rescan' declared 'static' but never defined
include/scsi/sd.h:58: warning: 'sd_init_command' declared 'static' but never defined
include/scsi/sd.h:59: warning: 'sd_issue_flush' declared 'static' but never defined
include/scsi/sd.h:60: warning: 'sd_prepare_flush' declared 'static' but never defined
include/scsi/sd.h:61: warning: 'sd_read_capacity' declared 'static' but never defined
include/scsi/sd.h:62: warning: 'scsi_disk_release' declared 'static' but never defined
include/scsi/sd.h:63: warning: 'sd_print_sense_hdr' declared 'static' but never defined
include/scsi/sd.h:64: warning: 'sd_print_result' declared 'static' but never defined
CC [M] drivers/scsi/sd.o
LD [M] drivers/scsi/scsi_mod.o
LD [M] drivers/scsi/sd_mod.o
CC [M] drivers/scsi/sg.o
CC [M] drivers/scsi/scsi_wait_scan.o
CC drivers/serial/serial_core.o
CC drivers/serial/8250.o
CC drivers/serial/8250_pci.o
CC drivers/serial/8250_early.o
LD drivers/serial/built-in.o
LD drivers/usb/class/built-in.o
CC [M] drivers/usb/class/cdc-acm.o
CC [M] drivers/usb/class/usblp.o
drivers/usb/class/usblp.c:123:1: warning: "DEVICE_ID_SIZE" redefined
In file included from include/linux/interrupt.h:15,
from include/linux/usb.h:15,
from drivers/usb/class/usblp.c:59:
include/linux/device.h:29:1: warning: this is the location of the previous definition
drivers/usb/class/usblp.c: In function 'proc_get_usblpid':
drivers/usb/class/usblp.c:389: warning: unused variable 'unk'
drivers/usb/class/usblp.c:389: warning: unused variable 'i'
drivers/usb/class/usblp.c:388: warning: unused variable 'strtmp'
drivers/usb/class/usblp.c: In function 'usblp_ioctl':
drivers/usb/class/usblp.c:686: warning: unused variable 'unk'
drivers/usb/class/usblp.c:684: warning: unused variable 'strtmp'
drivers/usb/class/usblp.c:682: warning: unused variable 'user_buf_tmp'
drivers/usb/class/usblp.c: At top level:
drivers/usb/class/usblp.c:87: warning: 'usblp_status_type' defined but not used
drivers/usb/class/usblp.c:88: warning: 'usblp_status_maping' defined but not used
LD drivers/usb/core/built-in.o
CC [M] drivers/usb/core/usb.o
CC [M] drivers/usb/core/hub.o
CC [M] drivers/usb/core/hcd.o
CC [M] drivers/usb/core/urb.o
CC [M] drivers/usb/core/message.o
CC [M] drivers/usb/core/driver.o
CC [M] drivers/usb/core/config.o
CC [M] drivers/usb/core/file.o
CC [M] drivers/usb/core/buffer.o
CC [M] drivers/usb/core/sysfs.o
CC [M] drivers/usb/core/endpoint.o
CC [M] drivers/usb/core/devio.o
CC [M] drivers/usb/core/notify.o
CC [M] drivers/usb/core/generic.o
CC [M] drivers/usb/core/quirks.o
CC [M] drivers/usb/core/hcd-pci.o
CC [M] drivers/usb/core/inode.o
CC [M] drivers/usb/core/devices.o
LD [M] drivers/usb/core/usbcore.o
CC drivers/usb/host/pci-quirks.o
LD drivers/usb/host/built-in.o
CC [M] drivers/usb/host/ehci-hcd.o
CC [M] drivers/usb/host/ohci-hcd.o
CC [M] drivers/usb/host/uhci-hcd.o
LD drivers/usb/serial/built-in.o
CC [M] drivers/usb/serial/usb-serial.o
CC [M] drivers/usb/serial/generic.o
CC [M] drivers/usb/serial/bus.o
LD [M] drivers/usb/serial/usbserial.o
LD drivers/usb/storage/built-in.o
CC [M] drivers/usb/storage/scsiglue.o
CC [M] drivers/usb/storage/protocol.o
CC [M] drivers/usb/storage/transport.o
CC [M] drivers/usb/storage/usb.o
CC [M] drivers/usb/storage/initializers.o
CC [M] drivers/usb/storage/shuttle_usbat.o
CC [M] drivers/usb/storage/sddr09.o
CC [M] drivers/usb/storage/sddr55.o
CC [M] drivers/usb/storage/freecom.o
CC [M] drivers/usb/storage/dpcm.o
CC [M] drivers/usb/storage/datafab.o
CC [M] drivers/usb/storage/jumpshot.o
CC [M] drivers/usb/storage/alauda.o
CC [M] drivers/usb/storage/karma.o
LD [M] drivers/usb/storage/usb-storage.o
LD drivers/usb/built-in.o
CC drivers/video/fb_notify.o
LD drivers/video/backlight/built-in.o
LD drivers/video/display/built-in.o
LD drivers/video/built-in.o
CC drivers/../arch/mips/brcm-boards/bcm947xx/nvram_linux.o
drivers/../arch/mips/brcm-boards/bcm947xx/nvram_linux.c: In function 'asusnls_u2c':
drivers/../arch/mips/brcm-boards/bcm947xx/nvram_linux.c:115: warning: assignment makes integer from pointer without a cast
drivers/../arch/mips/brcm-boards/bcm947xx/nvram_linux.c:135: warning: suggest parentheses around assignment used as truth value
drivers/../arch/mips/brcm-boards/bcm947xx/nvram_linux.c: In function 'asusnls_c2u':
drivers/../arch/mips/brcm-boards/bcm947xx/nvram_linux.c:194: warning: assignment makes integer from pointer without a cast
LD drivers/nvram_linux.o
LD drivers/built-in.o
LD sound/built-in.o
CC arch/mips/pci/pci.o
CC arch/mips/pci/pci-dac.o
LD arch/mips/pci/built-in.o
CC net/socket.o
CC net/802/sysctl_net_802.o
CC net/802/p8022.o
CC net/802/psnap.o
LD net/802/built-in.o
CC net/8021q/vlan.o
CC net/8021q/vlan_dev.o
CC net/8021q/vlanproc.o
LD net/8021q/8021q.o
LD net/8021q/built-in.o
CC net/bridge/br.o
CC net/bridge/br_device.o
CC net/bridge/br_fdb.o
CC net/bridge/br_forward.o
In file included from include/linux/netfilter_bridge.h:10,
from net/bridge/br_forward.c:20:
include/linux/if_pppox.h:257: warning: 'struct net_proto' declared inside parameter list
include/linux/if_pppox.h:257: warning: its scope is only this definition or declaration, which is probably not what you want
CC net/bridge/br_if.o
CC net/bridge/br_input.o
In file included from include/linux/netfilter_bridge.h:10,
from net/bridge/br_input.c:19:
include/linux/if_pppox.h:257: warning: 'struct net_proto' declared inside parameter list
include/linux/if_pppox.h:257: warning: its scope is only this definition or declaration, which is probably not what you want
CC net/bridge/br_ioctl.o
CC net/bridge/br_notify.o
CC net/bridge/br_stp.o
CC net/bridge/br_stp_bpdu.o
In file included from include/linux/netfilter_bridge.h:10,
from net/bridge/br_stp_bpdu.c:17:
include/linux/if_pppox.h:257: warning: 'struct net_proto' declared inside parameter list
include/linux/if_pppox.h:257: warning: its scope is only this definition or declaration, which is probably not what you want
CC net/bridge/br_stp_if.o
CC net/bridge/br_stp_timer.o
CC net/bridge/br_netlink.o
CC net/bridge/br_sysfs_if.o
CC net/bridge/br_sysfs_br.o
LD net/bridge/bridge.o
CC net/bridge/netfilter/ebtables.o
In file included from include/linux/netfilter_bridge.h:10,
from include/linux/netfilter_bridge/ebtables.h:16,
from net/bridge/netfilter/ebtables.c:24:
include/linux/if_pppox.h:257: warning: 'struct net_proto' declared inside parameter list
include/linux/if_pppox.h:257: warning: its scope is only this definition or declaration, which is probably not what you want
LD net/bridge/netfilter/built-in.o
LD net/bridge/built-in.o
CC net/core/sock.o
CC net/core/request_sock.o
CC net/core/skbuff.o
CC net/core/iovec.o
CC net/core/datagram.o
CC net/core/stream.o
CC net/core/scm.o
CC net/core/gen_stats.o
CC net/core/gen_estimator.o
CC net/core/sysctl_net_core.o
CC net/core/dev.o
CC net/core/ethtool.o
CC net/core/dev_mcast.o
CC net/core/dst.o
CC net/core/netevent.o
CC net/core/neighbour.o
CC net/core/rtnetlink.o
CC net/core/utils.o
CC net/core/link_watch.o
CC net/core/filter.o
CC net/core/net-sysfs.o
LD net/core/built-in.o
CC net/ethernet/eth.o
LD net/ethernet/built-in.o
CC net/ipv4/route.o
CC net/ipv4/inetpeer.o
CC net/ipv4/protocol.o
CC net/ipv4/ip_input.o
CC net/ipv4/ip_fragment.o
CC net/ipv4/ip_forward.o
CC net/ipv4/ip_options.o
CC net/ipv4/ip_output.o
In file included from include/linux/netfilter_bridge.h:10,
from net/ipv4/ip_output.c:81:
include/linux/if_pppox.h:257: warning: 'struct net_proto' declared inside parameter list
include/linux/if_pppox.h:257: warning: its scope is only this definition or declaration, which is probably not what you want
CC net/ipv4/ip_sockglue.o
CC net/ipv4/inet_hashtables.o
CC net/ipv4/inet_timewait_sock.o
CC net/ipv4/inet_connection_sock.o
CC net/ipv4/tcp.o
CC net/ipv4/tcp_input.o
CC net/ipv4/tcp_output.o
CC net/ipv4/tcp_timer.o
CC net/ipv4/tcp_ipv4.o
CC net/ipv4/tcp_minisocks.o
CC net/ipv4/tcp_cong.o
CC net/ipv4/datagram.o
CC net/ipv4/raw.o
CC net/ipv4/udp.o
CC net/ipv4/udplite.o
CC net/ipv4/arp.o
CC net/ipv4/icmp.o
CC net/ipv4/devinet.o
CC net/ipv4/af_inet.o
CC net/ipv4/igmp.o
CC net/ipv4/sysctl_net_ipv4.o
CC net/ipv4/fib_frontend.o
CC net/ipv4/fib_semantics.o
CC net/ipv4/fib_hash.o
CC net/ipv4/proc.o
CC net/ipv4/ipmr.o
CC net/ipv4/ipip.o
CC net/ipv4/ip_gre.o
CC net/ipv4/syncookies.o
CC net/ipv4/tunnel4.o
CC net/ipv4/netfilter.o
CC net/ipv4/netfilter/nf_nat_rule.o
CC net/ipv4/netfilter/nf_nat_standalone.o
CC net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.o
CC net/ipv4/netfilter/nf_conntrack_proto_icmp.o
CC net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.o
CC net/ipv4/netfilter/nf_nat_core.o
CC net/ipv4/netfilter/nf_nat_helper.o
CC net/ipv4/netfilter/nf_nat_proto_unknown.o
CC net/ipv4/netfilter/nf_nat_proto_tcp.o
CC net/ipv4/netfilter/nf_nat_proto_udp.o
CC net/ipv4/netfilter/nf_nat_proto_icmp.o
LD net/ipv4/netfilter/nf_conntrack_ipv4.o
LD net/ipv4/netfilter/nf_nat.o
CC net/ipv4/netfilter/nf_nat_ftp.o
CC net/ipv4/netfilter/nf_nat_h323.o
CC net/ipv4/netfilter/nf_nat_pptp.o
CC net/ipv4/netfilter/nf_nat_tftp.o
CC net/ipv4/netfilter/nf_nat_autofw.o
CC net/ipv4/netfilter/nf_nat_proto_gre.o
CC net/ipv4/netfilter/ip_tables.o
CC net/ipv4/netfilter/iptable_filter.o
CC net/ipv4/netfilter/iptable_mangle.o
LD net/ipv4/netfilter/iptable_nat.o
CC net/ipv4/netfilter/ipt_iprange.o
CC net/ipv4/netfilter/ipt_addrtype.o
CC net/ipv4/netfilter/ipt_REJECT.o
CC net/ipv4/netfilter/ipt_TOS.o
CC net/ipv4/netfilter/ipt_ECN.o
CC net/ipv4/netfilter/ipt_MASQUERADE.o
CC net/ipv4/netfilter/ipt_REDIRECT.o
CC net/ipv4/netfilter/ipt_NETMAP.o
CC net/ipv4/netfilter/ipt_SAME.o
CC net/ipv4/netfilter/ipt_LOG.o
CC net/ipv4/netfilter/ipt_TTL.o
LD net/ipv4/netfilter/built-in.o
CC net/ipv4/tcp_cubic.o
LD net/ipv4/built-in.o
CC net/ipv6/af_inet6.o
CC net/ipv6/anycast.o
CC net/ipv6/ip6_output.o
CC net/ipv6/ip6_input.o
CC net/ipv6/addrconf.o
CC net/ipv6/route.o
CC net/ipv6/ip6_fib.o
CC net/ipv6/ipv6_sockglue.o
CC net/ipv6/ndisc.o
CC net/ipv6/udp.o
CC net/ipv6/udplite.o
CC net/ipv6/raw.o
CC net/ipv6/protocol.o
CC net/ipv6/icmp.o
CC net/ipv6/mcast.o
CC net/ipv6/reassembly.o
CC net/ipv6/tcp_ipv6.o
CC net/ipv6/exthdrs.o
CC net/ipv6/sysctl_net_ipv6.o
CC net/ipv6/datagram.o
CC net/ipv6/ip6_flowlabel.o
CC net/ipv6/inet6_connection_sock.o
CC net/ipv6/netfilter.o
CC net/ipv6/proc.o
LD net/ipv6/ipv6.o
LD net/ipv6/netfilter/built-in.o
CC net/ipv6/sit.o
CC net/ipv6/addrconf_core.o
CC net/ipv6/exthdrs_core.o
CC net/ipv6/inet6_hashtables.o
LD net/ipv6/built-in.o
CC net/llc/llc_core.o
CC net/llc/llc_input.o
CC net/llc/llc_output.o
LD net/llc/llc.o
LD net/llc/built-in.o
CC net/netfilter/core.o
CC net/netfilter/nf_log.o
CC net/netfilter/nf_queue.o
CC net/netfilter/nf_sockopt.o
CC net/netfilter/nf_conntrack_core.o
CC net/netfilter/nf_conntrack_standalone.o
CC net/netfilter/nf_conntrack_expect.o
CC net/netfilter/nf_conntrack_helper.o
CC net/netfilter/nf_conntrack_proto.o
CC net/netfilter/nf_conntrack_l3proto_generic.o
CC net/netfilter/nf_conntrack_proto_generic.o
CC net/netfilter/nf_conntrack_proto_tcp.o
net/netfilter/nf_conntrack_proto_tcp.c: In function 'tcp_print_conntrack':
net/netfilter/nf_conntrack_proto_tcp.c:315: warning: passing argument 1 of 'nf_ct_refresh' discards qualifiers from pointer target type
CC net/netfilter/nf_conntrack_proto_udp.o
net/netfilter/nf_conntrack_proto_udp.c: In function 'udp_print_conntrack':
net/netfilter/nf_conntrack_proto_udp.c:71: warning: passing argument 1 of 'nf_ct_refresh' discards qualifiers from pointer target type
CC net/netfilter/nf_conntrack_h323_main.o
CC net/netfilter/nf_conntrack_h323_asn1.o
LD net/netfilter/netfilter.o
CC net/netfilter/nf_sysctl.o
CC net/netfilter/nfnetlink.o
LD net/netfilter/nf_conntrack.o
CC net/netfilter/nf_conntrack_proto_gre.o
CC net/netfilter/nf_conntrack_netlink.o
CC net/netfilter/nf_conntrack_ftp.o
LD net/netfilter/nf_conntrack_h323.o
CC net/netfilter/nf_conntrack_pptp.o
CC net/netfilter/nf_conntrack_tftp.o
CC net/netfilter/x_tables.o
CC net/netfilter/xt_tcpudp.o
CC net/netfilter/xt_CLASSIFY.o
CC net/netfilter/xt_MARK.o
CC net/netfilter/xt_NFLOG.o
CC net/netfilter/xt_TCPMSS.o
CC net/netfilter/xt_connmark.o
CC net/netfilter/xt_conntrack.o
CC net/netfilter/xt_dscp.o
CC net/netfilter/xt_helper.o
CC net/netfilter/xt_limit.o
CC net/netfilter/xt_mac.o
CC net/netfilter/xt_multiport.o
CC net/netfilter/xt_state.o
CC net/netfilter/xt_webstr.o
CC net/netfilter/xt_time.o
net/netfilter/xt_time.c: In function 'ipt_time_checkentry':
net/netfilter/xt_time.c:137: warning: comparison is always false due to limited range of data type
net/netfilter/xt_time.c:138: warning: comparison is always false due to limited range of data type
net/netfilter/xt_time.c: In function 'init':
net/netfilter/xt_time.c:175: warning: passing argument 1 of 'xt_register_match' from incompatible pointer type
net/netfilter/xt_time.c: In function 'fini':
net/netfilter/xt_time.c:181: warning: passing argument 1 of 'xt_unregister_match' from incompatible pointer type
CC net/netfilter/xt_tcpmss.o
LD net/netfilter/built-in.o
CC net/netlink/af_netlink.o
CC net/netlink/attr.o
CC net/netlink/genetlink.o
LD net/netlink/built-in.o
CC net/packet/af_packet.o
LD net/packet/built-in.o
CC net/sched/sch_generic.o
CC net/sched/sch_api.o
CC net/sched/sch_blackhole.o
CC net/sched/cls_api.o
CC net/sched/act_api.o
CC net/sched/act_police.o
CC net/sched/act_gact.o
CC net/sched/act_mirred.o
CC net/sched/act_ipt.o
CC net/sched/sch_fifo.o
CC net/sched/sch_htb.o
CC net/sched/sch_ingress.o
net/sched/sch_ingress.c: In function 'ingress_reset':
net/sched/sch_ingress.c:318: warning: unused variable 'p'
CC net/sched/sch_prio.o
CC net/sched/sch_netem.o
CC net/sched/cls_u32.o
CC net/sched/cls_route.o
CC net/sched/cls_fw.o
CC net/sched/cls_tcindex.o
CC net/sched/cls_basic.o
LD net/sched/built-in.o
CC net/unix/af_unix.o
CC net/unix/garbage.o
CC net/unix/sysctl_net_unix.o
LD net/unix/unix.o
LD net/unix/built-in.o
LD net/wireless/built-in.o
CC net/sysctl_net.o
LD net/built-in.o
CC lib/div64.o
CC lib/sort.o
CC lib/parser.o
CC lib/halfmd4.o
CC lib/debug_locks.o
CC lib/random32.o
CC lib/bust_spinlocks.o
CC lib/hexdump.o
CC lib/iomap_copy.o
CC lib/devres.o
CC lib/hweight.o
CC lib/plist.o
CC lib/bitrev.o
CC lib/crc-ccitt.o
HOSTCC lib/gen_crc32table
GEN lib/crc32table.h
CC lib/crc32.o
CC lib/zlib_deflate/deflate.o
CC lib/zlib_deflate/deftree.o
CC lib/zlib_deflate/deflate_syms.o
LD lib/zlib_deflate/zlib_deflate.o
LD lib/zlib_deflate/built-in.o
CC lib/zlib_inflate/inffast.o
CC lib/zlib_inflate/inflate.o
CC lib/zlib_inflate/inftrees.o
CC lib/zlib_inflate/inflate_syms.o
LD lib/zlib_inflate/zlib_inflate.o
LD lib/zlib_inflate/built-in.o
LD lib/built-in.o
CC lib/bitmap.o
CC lib/cmdline.o
CC lib/ctype.o
CC lib/dec_and_lock.o
CC lib/dump_stack.o
CC lib/extable.o
CC lib/find_next_bit.o
CC lib/idr.o
CC lib/int_sqrt.o
CC lib/ioremap.o
CC lib/irq_regs.o
CC lib/klist.o
CC lib/kobject.o
CC lib/kobject_uevent.o
CC lib/kref.o
CC lib/prio_tree.o
CC lib/radix-tree.o
CC lib/rbtree.o
CC lib/reciprocal_div.o
CC lib/rwsem-spinlock.o
CC lib/sha1.o
CC lib/string.o
CC lib/vsprintf.o
AR lib/lib.a
CC [M] lib/libcrc32c.o
CC arch/mips/lib/iomap.o
CC arch/mips/lib/iomap-pci.o
CC arch/mips/lib/ashldi3.o
CC arch/mips/lib/ashrdi3.o
CC arch/mips/lib/lshrdi3.o
CC arch/mips/lib/ucmpdi2.o
LD arch/mips/lib/built-in.o
AS arch/mips/lib/csum_partial.o
AS arch/mips/lib/memcpy-inatomic.o
AS arch/mips/lib/memcpy.o
AS arch/mips/lib/memset.o
AS arch/mips/lib/strlen_user.o
AS arch/mips/lib/strncpy_user.o
AS arch/mips/lib/strnlen_user.o
CC arch/mips/lib/uncached.o
AR arch/mips/lib/lib.a
CC arch/mips/lib-32/dump_tlb.o
arch/mips/lib-32/dump_tlb.c: In function 'msk2str':
arch/mips/lib-32/dump_tlb.c:43: warning: control reaches end of non-void function
LD arch/mips/lib-32/built-in.o
AS arch/mips/lib-32/watch.o
AR arch/mips/lib-32/lib.a
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
KSYM .tmp_kallsyms1.S
AS .tmp_kallsyms1.o
LD .tmp_vmlinux2
KSYM .tmp_kallsyms2.S
AS .tmp_kallsyms2.o
LD vmlinux
SYSMAP System.map
SYSMAP .tmp_System.map
MODPOST vmlinux
WARNING: arch/mips/kernel/head.o(.text+0x0): Section mismatch: reference to .init.text:kernel_entry before '_stext' (at offset -0x4001fb4d4001f61f)
WARNING: arch/mips/brcm-boards/bcm947xx/built-in.o(__dbe_table+0x10): Section mismatch: reference to .init.text:
Building modules, stage 2.
MODPOST 24 modules
WARNING: could not find drivers/net/wl/../../../../../wl/linux/.wl_apsta.o.cmd for drivers/net/wl/../../../../../wl/linux/wl_apsta.o
CC drivers/connector/cn.mod.o
LD [M] drivers/connector/cn.ko
CC drivers/net/bcm57xx/bcm57xx.mod.o
LD [M] drivers/net/bcm57xx/bcm57xx.ko
CC drivers/net/emf/emf.mod.o
LD [M] drivers/net/emf/emf.ko
CC drivers/net/et/et.mod.o
LD [M] drivers/net/et/et.ko
CC drivers/net/igs/igs.mod.o
LD [M] drivers/net/igs/igs.ko
CC drivers/net/wl/wl.mod.o
LD [M] drivers/net/wl/wl.ko
CC drivers/scsi/scsi_mod.mod.o
LD [M] drivers/scsi/scsi_mod.ko
CC drivers/scsi/scsi_wait_scan.mod.o
LD [M] drivers/scsi/scsi_wait_scan.ko
CC drivers/scsi/sd_mod.mod.o
LD [M] drivers/scsi/sd_mod.ko
CC drivers/scsi/sg.mod.o
LD [M] drivers/scsi/sg.ko
CC drivers/usb/class/cdc-acm.mod.o
LD [M] drivers/usb/class/cdc-acm.ko
CC drivers/usb/class/usblp.mod.o
LD [M] drivers/usb/class/usblp.ko
CC drivers/usb/core/usbcore.mod.o
LD [M] drivers/usb/core/usbcore.ko
CC drivers/usb/host/ehci-hcd.mod.o
LD [M] drivers/usb/host/ehci-hcd.ko
CC drivers/usb/host/ohci-hcd.mod.o
LD [M] drivers/usb/host/ohci-hcd.ko
CC drivers/usb/host/uhci-hcd.mod.o
LD [M] drivers/usb/host/uhci-hcd.ko
CC drivers/usb/serial/usbserial.mod.o
LD [M] drivers/usb/serial/usbserial.ko
CC drivers/usb/storage/usb-storage.mod.o
LD [M] drivers/usb/storage/usb-storage.ko
CC fs/nls/nls_cp932.mod.o
LD [M] fs/nls/nls_cp932.ko
CC fs/nls/nls_cp936.mod.o
LD [M] fs/nls/nls_cp936.ko
CC fs/nls/nls_cp949.mod.o
LD [M] fs/nls/nls_cp949.ko
CC fs/nls/nls_cp950.mod.o
LD [M] fs/nls/nls_cp950.ko
CC fs/nls/nls_euc-jp.mod.o
LD [M] fs/nls/nls_euc-jp.ko
CC lib/libcrc32c.mod.o
LD [M] lib/libcrc32c.ko
請各位高手幫忙指導小弟
最後修改: talent881 (2009-11-16 11:26:22)
離線
#4 2009-11-16 11:26:57
Re: [問題] 請問有沒有人會compile華碩的韌體 (RT-N16)
再來是make 其他軟體
make -C router all
make[1]: Entering directory `/root/RT-N16/src/router'
[ ! -d version ] || make -C version
[ ! -d libbcmcrypto ] || make -C libbcmcrypto
find: `/root/RT-N16/src/router/mipsel-uclibc/target': No such file or directory
make[2]: Entering directory `/root/RT-N16/src/router/libbcmcrypto'
mipsel-uclibc-ld -shared -o libbcmcrypto.so /root/RT-N16/src/router/libbcmcrypto/prebuilt/aes.o /root/RT-N16/src/router/libbcmcrypto/prebuilt/aeskeywrap.o /root/RT-N16/src/router/libbcmcrypto/prebuilt/rijndael-alg-fst.o /root/RT-N16/src/router/libbcmcrypto/prebuilt/dh.o /root/RT-N16/src/router/libbcmcrypto/prebuilt/bn.o /root/RT-N16/src/router/libbcmcrypto/prebuilt/sha1.o /root/RT-N16/src/router/libbcmcrypto/prebuilt/passhash.o /root/RT-N16/src/router/libbcmcrypto/prebuilt/prf.o /root/RT-N16/src/router/libbcmcrypto/prebuilt/md5.o /root/RT-N16/src/router/libbcmcrypto/prebuilt/hmac.o /root/RT-N16/src/router/libbcmcrypto/prebuilt/rc4.o /root/RT-N16/src/router/libbcmcrypto/prebuilt/random.o /root/RT-N16/src/router/libbcmcrypto/prebuilt/sha256.o /root/RT-N16/src/router/libbcmcrypto/prebuilt/hmac_sha256.o
make[2]: Leaving directory `/root/RT-N16/src/router/libbcmcrypto'
[ ! -d nvram ] || make -C nvram
make[2]: Entering directory `/root/RT-N16/src/router/nvram'
mipsel-uclibc-gcc -DBCMWPA2 -DBCMWPS -D__CONFIG_EMF__ -D__CONFIG_IGMP_PROXY__ -I. -I/root/RT-N16/src/include -Wall -s -O2 -DASUS -c -o nvram_linux.o nvram_linux.c
mipsel-uclibc-ld -shared -o libnvram.so nvram_linux.o
mipsel-uclibc-gcc -DBCMWPA2 -DBCMWPS -D__CONFIG_EMF__ -D__CONFIG_IGMP_PROXY__ -I. -I/root/RT-N16/src/include -Wall -s -O2 -DASUS -c -o main.o main.c
main.c: In function 'issyspara':
main.c:63: warning: unused variable 'u'
main.c: In function 'nvram_restore':
main.c:101: warning: assignment makes integer from pointer without a cast
main.c: In function 'main':
main.c:180: warning: implicit declaration of function 'nvram_xfr'
main.c:180: warning: assignment makes pointer from integer without a cast
main.c: At top level:
main.c:33: warning: 'NLS_NVRAM_U2C' defined but not used
main.c:34: warning: 'NLS_NVRAM_C2U' defined but not used
mipsel-uclibc-gcc -DBCMWPA2 -DBCMWPS -D__CONFIG_EMF__ -D__CONFIG_IGMP_PROXY__ -I. -I/root/RT-N16/src/include -Wall -s -O2 -DASUS -o nvram main.o -L. -L/root/RT-N16/src/router/shared -L/root/RT-N16/src/router/mipsel-uclibc/install/shared/usr/lib -lshared -L/root/RT-N16/src/router/netconf -L/root/RT-N16/src/router/mipsel-uclibc/install/netconf/usr/lib -lnetconf -lnvram
#mipsel-uclibc-gcc -DBCMWPA2 -DBCMWPS -D__CONFIG_EMF__ -D__CONFIG_IGMP_PROXY__ -I. -I/root/RT-N16/src/include -Wall -s -O2 -DASUS -o nvram main.o -L. -L/root/RT-N16/src/router/shared -L/root/RT-N16/src/router/mipsel-uclibc/install/shared/usr/lib -lshared -L/root/RT-N16/src/router/netconf -L/root/RT-N16/src/router/mipsel-uclibc/install/netconf/usr/lib -lnetconf -lnvram
mipsel-uclibc-strip libnvram.so
mipsel-uclibc-strip nvram
make[2]: Leaving directory `/root/RT-N16/src/router/nvram'
make -C shared install INSTALLDIR=/root/RT-N16/src/router/mipsel-uclibc/install/shared
make[2]: Entering directory `/root/RT-N16/src/router/shared'
mipsel-uclibc-gcc -DBCMWPA2 -DBCMWPS -D__CONFIG_EMF__ -D__CONFIG_IGMP_PROXY__ -I. -I../httpd -I/root/RT-N16/src/include -Wall -s -O2 -DDLM -c -o nvparse.o nvparse.c
nvparse.c: In function 'porttrigger_setting':
nvparse.c:1572: warning: passing argument 1 of 'strncpy' from incompatible pointer type
nvparse.c:1575: warning: passing argument 1 of 'strncpy' from incompatible pointer type
nvparse.c:1592: warning: passing argument 1 of 'netconf_add_fw' from incompatible pointer type
nvparse.c:1503: warning: unused variable 'test'
nvparse.c:1595: warning: control reaches end of non-void function
mipsel-uclibc-gcc -DBCMWPA2 -DBCMWPS -D__CONFIG_EMF__ -D__CONFIG_IGMP_PROXY__ -I. -I../httpd -I/root/RT-N16/src/include -Wall -s -O2 -DDLM -c -o shutils.o shutils.c
mipsel-uclibc-gcc -DBCMWPA2 -DBCMWPS -D__CONFIG_EMF__ -D__CONFIG_IGMP_PROXY__ -I. -I../httpd -I/root/RT-N16/src/include -Wall -s -O2 -DDLM -c -o wl.o wl.c
mipsel-uclibc-gcc -DBCMWPA2 -DBCMWPS -D__CONFIG_EMF__ -D__CONFIG_IGMP_PROXY__ -I. -I../httpd -I/root/RT-N16/src/include -Wall -s -O2 -DDLM -c -o wl_linux.o wl_linux.c
mipsel-uclibc-gcc -DBCMWPA2 -DBCMWPS -D__CONFIG_EMF__ -D__CONFIG_IGMP_PROXY__ -I. -I../httpd -I/root/RT-N16/src/include -Wall -s -O2 -DDLM -c -o linux_timer.o linux_timer.c
mipsel-uclibc-gcc -DBCMWPA2 -DBCMWPS -D__CONFIG_EMF__ -D__CONFIG_IGMP_PROXY__ -I. -I../httpd -I/root/RT-N16/src/include -Wall -s -O2 -DDLM -c -o defaults.o defaults.c
mipsel-uclibc-gcc -DBCMWPA2 -DBCMWPS -D__CONFIG_EMF__ -D__CONFIG_IGMP_PROXY__ -I. -I../httpd -I/root/RT-N16/src/include -Wall -s -O2 -DDLM -c -o wlif_utils.o wlif_utils.c
wlif_utils.c:37:1: warning: "MAX_NVPARSE" redefined
In file included from wlif_utils.c:32:
./nvparse.h:19:1: warning: this is the location of the previous definition
wlif_utils.c: In function 'get_real_mac':
wlif_utils.c:189: warning: pointer targets in passing argument 2 of 'ether_atoe' differ in signedness
wlif_utils.c: In function 'get_wlmacstr_by_unit':
wlif_utils.c:206: warning: pointer targets in return differ in signedness
wlif_utils.c: In function 'get_lan_mac':
wlif_utils.c:212: warning: pointer targets in initialization differ in signedness
wlif_utils.c:220: warning: pointer targets in passing argument 1 of 'ether_atoe' differ in signedness
wlif_utils.c: In function 'get_wsec':
wlif_utils.c:406: warning: pointer targets in passing argument 1 of 'get_wlname_by_mac' differ in signedness
wlif_utils.c:444: warning: pointer targets in passing argument 3 of 'get_wds_wsec' differ in signedness
wlif_utils.c:545: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
wlif_utils.c:546: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
wlif_utils.c: In function 'get_deviceinfo_by_mac':
wlif_utils.c:633: warning: pointer targets in passing argument 1 of 'get_wlname_by_mac' differ in signedness
mipsel-uclibc-gcc -DBCMWPA2 -DBCMWPS -D__CONFIG_EMF__ -D__CONFIG_IGMP_PROXY__ -I. -I../httpd -I/root/RT-N16/src/include -Wall -s -O2 -DDLM -c -o UdpLib.o UdpLib.c
mipsel-uclibc-gcc -DBCMWPA2 -DBCMWPS -D__CONFIG_EMF__ -D__CONFIG_IGMP_PROXY__ -I. -I../httpd -I/root/RT-N16/src/include -Wall -s -O2 -DDLM -c -o notify_rc.o notify_rc.c
mipsel-uclibc-gcc -DBCMWPA2 -DBCMWPS -D__CONFIG_EMF__ -D__CONFIG_IGMP_PROXY__ -I. -I../httpd -I/root/RT-N16/src/include -Wall -s -O2 -DDLM -c -o semaphore.o semaphore.c
mipsel-uclibc-ld -shared -o libshared.so nvparse.o shutils.o wl.o wl_linux.o linux_timer.o defaults.o wlif_utils.o UdpLib.o notify_rc.o semaphore.o
install -d /root/RT-N16/src/router/mipsel-uclibc/install/shared/usr/lib
install -m 755 libshared.so /root/RT-N16/src/router/mipsel-uclibc/install/shared/usr/lib
mipsel-uclibc-strip /root/RT-N16/src/router/mipsel-uclibc/install/shared/usr/lib/libshared.so
make[2]: Leaving directory `/root/RT-N16/src/router/shared'
[ ! -d libbcm ] || make -C libbcm
make[2]: Entering directory `/root/RT-N16/src/router/libbcm'
mipsel-uclibc-gcc -DBCMWPA2 -DBCMWPS -D__CONFIG_EMF__ -D__CONFIG_IGMP_PROXY__ -I. -I/root/RT-N16/src/include -I/root/RT-N16/src/router/shared -Wall -s -O2 -c -o bcmgpio.o bcmgpio.c
mipsel-uclibc-ld -shared -o libbcm.so bcmgpio.o
make[2]: Leaving directory `/root/RT-N16/src/router/libbcm'
[ ! -d httpd ] || make -C httpd
make[2]: Entering directory `/root/RT-N16/src/router/httpd'
mipsel-uclibc-gcc -DBCMWPA2 -DBCMWPS -D__CONFIG_EMF__ -D__CONFIG_IGMP_PROXY__ -I. -I/root/RT-N16/src/router/shared -I/root/RT-N16/src/include -Wall -DFLASH_EMULATOR -DLinux -DMIPS -s -O2 -DASUS_DDNS -DLINUX26 -c -o httpd.o httpd.c
httpd.c: In function 'auth_check':
httpd.c:210: warning: pointer targets in passing argument 2 of 'b64_decode' differ in signedness
httpd.c: In function 'handle_request':
httpd.c:458: warning: implicit declaration of function 'is_firsttime'
httpd.c:610: warning: implicit declaration of function 'http_login_check'
httpd.c:458: warning: unused variable 'firstSetting'
httpd.c:451: warning: unused variable 'alang'
httpd.c: In function 'is_auth':
httpd.c:884: warning: implicit declaration of function 'nvram_get_x'
httpd.c:884: warning: passing argument 1 of 'strcmp' makes pointer from integer without a cast
httpd.c: In function 'is_phyconnected':
httpd.c:908: warning: implicit declaration of function 'ioctl'
httpd.c:949: warning: passing argument 1 of 'strcmp' makes pointer from integer without a cast
httpd.c:949: warning: passing argument 1 of 'strcmp' makes pointer from integer without a cast
httpd.c: In function 'is_firsttime':
httpd.c:1011: warning: passing argument 1 of 'strcmp' makes pointer from integer without a cast
mipsel-uclibc-gcc -DBCMWPA2 -DBCMWPS -D__CONFIG_EMF__ -D__CONFIG_IGMP_PROXY__ -I. -I/root/RT-N16/src/router/shared -I/root/RT-N16/src/include -Wall -DFLASH_EMULATOR -DLinux -DMIPS -s -O2 -DASUS_DDNS -DLINUX26 -c -o ej.o ej.c
ej.c: In function 'get_arg':
ej.c:65: warning: implicit declaration of function 'isspace'
ej.c: In function 'do_ej':
ej.c:177: warning: unused variable 'lang'
ej.c:176: warning: unused variable 'key_end'
ej.c: At top level:
ej.c:103: warning: 'kw_mark2' defined but not used
mipsel-uclibc-gcc -DBCMWPA2 -DBCMWPS -D__CONFIG_EMF__ -D__CONFIG_IGMP_PROXY__ -I. -I/root/RT-N16/src/router/shared -I/root/RT-N16/src/include -Wall -DFLASH_EMULATOR -DLinux -DMIPS -s -O2 -DASUS_DDNS -DLINUX26 -c -o cgi.o cgi.c
mipsel-uclibc-gcc -DBCMWPA2 -DBCMWPS -D__CONFIG_EMF__ -D__CONFIG_IGMP_PROXY__ -I. -I/root/RT-N16/src/router/shared -I/root/RT-N16/src/include -Wall -DFLASH_EMULATOR -DLinux -DMIPS -s -O2 -DASUS_DDNS -DLINUX26 -c -o web_ex.o web_ex.c
web_ex.c: In function 'sys_script':
web_ex.c:694: warning: implicit declaration of function 'kill_pidfile_s'
web_ex.c:741: warning: implicit declaration of function 'sys_refresh_lease'
web_ex.c:758: warning: implicit declaration of function 'sys_renew'
web_ex.c:762: warning: implicit declaration of function 'sys_release'
web_ex.c: In function 'ej_select_channel':
web_ex.c:1214: warning: implicit declaration of function 'wl_channels_in_country'
web_ex.c:1216: warning: implicit declaration of function 'wl_channels_in_country_asus'
web_ex.c: In function 'ej_uptime':
web_ex.c:1305: warning: unused variable 'uptime'
web_ex.c:1303: warning: unused variable 'fp'
web_ex.c: In function 'ej_dumplog':
web_ex.c:1428: warning: zero-length printf format string
web_ex.c:1330: warning: unused variable 'next'
web_ex.c: In function 'dump_file':
web_ex.c:1615: warning: zero-length printf format string
web_ex.c: In function 'ej_dump':
web_ex.c:1677: warning: implicit declaration of function 'ej_wl_status'
web_ex.c:1680: warning: implicit declaration of function 'ej_lan_leases'
web_ex.c:1682: warning: implicit declaration of function 'ej_nat_table'
web_ex.c:1684: warning: implicit declaration of function 'ej_route_table'
web_ex.c:1655: warning: unused variable 'buf'
web_ex.c:1654: warning: unused variable 'fp'
web_ex.c: In function 'ej_load':
web_ex.c:1710: warning: zero-length printf format string
web_ex.c: In function 'validate_cgi':
web_ex.c:1740: warning: passing argument 1 of 'memset' discards qualifiers from pointer target type
web_ex.c:1741: warning: passing argument 1 of 'sprintf' discards qualifiers from pointer target type
web_ex.c:1743: warning: passing argument 1 of 'get_cgi' discards qualifiers from pointer target type
web_ex.c: In function 'ej_notify_services':
web_ex.c:2443: warning: implicit declaration of function 'notify_rc'
web_ex.c: In function 'detect_if_wan':
web_ex.c:2532: warning: implicit declaration of function 'is_phyconnected'
web_ex.c: In function 'ej_wl_auth_list':
web_ex.c:3532: warning: unused variable 'wme'
web_ex.c: In function 'ej_shown_time':
web_ex.c:5804: warning: format '%e' expects type 'double', but argument 3 has type 'time_t'
web_ex.c: In function 'ej_nvram_char_to_ascii':
web_ex.c:5868: warning: unused variable 'c'
web_ex.c: In function 'apply_cgi':
web_ex.c:6019: warning: implicit declaration of function 'setSharedEntry'
web_ex.c:6063: warning: comparison between pointer and integer
web_ex.c:6066: warning: implicit declaration of function 'initSharedEntry'
web_ex.c:6121: warning: implicit declaration of function 'getSharedEntry'
web_ex.c:6206: warning: label 'footer' defined but not used
web_ex.c:5899: warning: unused variable 'host'
web_ex.c: In function 'nvram_add_group_item':
web_ex.c:6317: warning: implicit declaration of function 'nvram_add_lists_x'
web_ex.c: In function 'nvram_remove_group_item':
web_ex.c:6352: warning: implicit declaration of function 'nvram_del_lists_x'
web_ex.c:6339: warning: unused variable 'item'
web_ex.c:6338: warning: unused variable 'glistPtr'
web_ex.c:6338: warning: unused variable 'itemPtr'
web_ex.c:6338: warning: unused variable 'glist'
web_ex.c:6337: warning: unused variable 'value'
web_ex.c: In function 'nvram_add_right_item':
web_ex.c:6397: warning: implicit declaration of function 'nvram_add_right_list'
web_ex.c: In function 'nvram_remove_right_item':
web_ex.c:6424: warning: implicit declaration of function 'nvram_remove_right_list'
web_ex.c:6412: warning: unused variable 'count'
web_ex.c:6412: warning: unused variable 'i'
web_ex.c:6412: warning: unused variable 'item'
web_ex.c:6411: warning: unused variable 'cstr'
web_ex.c:6411: warning: unused variable 'glistPtr'
web_ex.c:6411: warning: unused variable 'itemPtr'
web_ex.c:6411: warning: unused variable 'glist'
web_ex.c:6410: warning: unused variable 'value'
web_ex.c:6409: warning: unused variable 'gv'
web_ex.c: In function 'nvram_add_group_table':
web_ex.c:6561: warning: pointer targets in passing argument 2 of 'utf8_mbstowcs' differ in signedness
web_ex.c:6565: warning: assignment makes integer from pointer without a cast
web_ex.c: In function 'nvram_add_right_table':
web_ex.c:6709: warning: implicit declaration of function 'findpattern'
web_ex.c:6709: warning: assignment makes pointer from integer without a cast
web_ex.c:6710: warning: assignment makes pointer from integer without a cast
web_ex.c:6731: warning: suggest parentheses around assignment used as truth value
web_ex.c:6738: warning: assignment makes pointer from integer without a cast
web_ex.c:6739: warning: assignment makes pointer from integer without a cast
web_ex.c:6667: warning: unused variable 'fieldLen'
web_ex.c:6661: warning: unused variable 'gv'
web_ex.c: In function 'apply_cgi_group':
web_ex.c:6770: warning: unused variable 'i'
web_ex.c:6769: warning: unused variable 'item'
web_ex.c:6768: warning: unused variable 'value1'
web_ex.c:6768: warning: unused variable 'value'
web_ex.c: In function 'apply_right_group':
web_ex.c:6819: warning: unused variable 'i'
web_ex.c:6818: warning: unused variable 'item'
web_ex.c:6817: warning: unused variable 'value1'
web_ex.c:6817: warning: unused variable 'value'
web_ex.c: In function 'modify_right_group':
web_ex.c:6879: warning: implicit declaration of function 'nvram_modify_right_list'
web_ex.c: In function 'do_auth':
web_ex.c:7030: warning: implicit declaration of function 'is_auth'
web_ex.c:7005: warning: unused variable 'tm'
web_ex.c: In function 'do_webcam_cgi':
web_ex.c:7178: warning: unused variable 'last'
web_ex.c: In function 'do_upgrade_post':
web_ex.c:7229: warning: too few arguments for format
web_ex.c:7274: warning: format '%d' expects type 'int', but argument 3 has type 'long int'
web_ex.c:7298: warning: assignment from incompatible pointer type
web_ex.c:7211: warning: unused variable 'hwver'
web_ex.c:7207: warning: unused variable 'eno'
web_ex.c: In function 'do_upgrade_cgi':
web_ex.c:7399: warning: unused variable 'ret'
web_ex.c: In function 'do_upload_post':
web_ex.c:7509: warning: assignment from incompatible pointer type
web_ex.c:7450: warning: unused variable 'hwver'
web_ex.c:7449: warning: unused variable 'version'
web_ex.c:7448: warning: unused variable 'hwminor'
web_ex.c:7448: warning: unused variable 'hwmajor'
web_ex.c:7446: warning: unused variable 'eno'
web_ex.c:7443: warning: unused variable 'pid'
web_ex.c: In function 'do_upload_cgi':
web_ex.c:7582: warning: unused variable 'ret'
web_ex.c: In function 'do_selectdir_cgi':
web_ex.c:7681: warning: assignment makes integer from pointer without a cast
web_ex.c: At top level:
web_ex.c:7760: warning: initialization from incompatible pointer type
web_ex.c: In function 'ej_select_folder':
web_ex.c:7780: warning: unused variable 'temp'
web_ex.c:7779: warning: unused variable 'keyword'
web_ex.c:7778: warning: unused variable 'convDir'
web_ex.c:7773: warning: unused variable 'fp'
web_ex.c:7772: warning: unused variable 'channel'
web_ex.c:7772: warning: unused variable 'i'
web_ex.c:7771: warning: unused variable 'buf'
web_ex.c: In function 'ej_select_list':
web_ex.c:7826: warning: unused variable 'channel'
web_ex.c:7825: warning: unused variable 'buf'
web_ex.c: At top level:
web_ex.c:8230: warning: initialization from incompatible pointer type
web_ex.c: In function 'websSetVer':
web_ex.c:8293: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'long unsigned int'
web_ex.c:8282: warning: unused variable 'i'
web_ex.c:8276: warning: unused variable 'buf'
web_ex.c: In function 'wl_channels_in_country_asus':
web_ex.c:8340: warning: unused variable 'log_accept'
web_ex.c:8340: warning: unused variable 'log_drop'
web_ex.c:8340: warning: unused variable 'log_level'
web_ex.c:8338: warning: unused variable 'cic'
web_ex.c:8337: warning: unused variable 'j'
web_ex.c: In function 'wl_channels_in_country':
web_ex.c:8368: warning: unused variable 'ci'
web_ex.c: In function 'kill_pidfile_s':
web_ex.c:8415: warning: type defaults to 'int' in declaration of '__errno_location'
web_ex.c: At top level:
dp.h:141: warning: 'client_config' defined but not used
dp.h:204: warning: 'state' defined but not used
dp.h:209: warning: 'cfd' defined but not used
dp.h:215: warning: 'listen_mode' defined but not used
dp.h:218: warning: 'options' defined but not used
dp.h:250: warning: 'option_lengths' defined but not used
dp.h:281: warning: 'init_packet' declared 'static' but never defined
dp.h:283: warning: 'add_requests' declared 'static' but never defined
dp.h:291: warning: 'change_mode' declared 'static' but never defined
dp.h:313: warning: 'Eth_PPPOE_Discovery' defined but not used
dp.h:314: warning: 'Eth_PPPOE_Session' defined but not used
web_ex.c:197: warning: 'last_arp_info_len' defined but not used
web_ex.c:206: warning: 'ezc_error' defined but not used
web_ex.c:1096: warning: 'ej_nvram_match_list_both_x' defined but not used
web_ex.c:1326: warning: 'ej_dumplog' defined but not used
web_ex.c:1530: warning: 'ej_dumpiptable' defined but not used
web_ex.c:1716: warning: 'ej_ppplink' defined but not used
web_ex.c:1831: warning: 'special_handler' defined but not used
web_ex.c:1957: warning: 'show_error_msg' defined but not used
web_ex.c:1969: warning: 'clean_error_msg' defined but not used
web_ex.c:7070: warning: 'do_apply_cgi_post' defined but not used
web_ex.c:7632: warning: 'log_headers' defined but not used
web_ex.c:8183: warning: 'nvMap' defined but not used
web_ex.c: In function 'dump_file':
web_ex.c:1615: warning: 'ret' is used uninitialized in this function
web_ex.c: In function 'do_upgrade_post':
web_ex.c:7393: warning: 'dbg_ret' is used uninitialized in this function
mipsel-uclibc-gcc -DBCMWPA2 -DBCMWPS -D__CONFIG_EMF__ -D__CONFIG_IGMP_PROXY__ -I. -I/root/RT-N16/src/router/shared -I/root/RT-N16/src/include -Wall -DFLASH_EMULATOR -DLinux -DMIPS -s -O2 -DASUS_DDNS -DLINUX26 -c -o common.o common.c
In file included from common.c:27:
/root/RT-N16/src/router/shared/shutils.h: In function 'strcat_r':
/root/RT-N16/src/router/shared/shutils.h:115: warning: implicit declaration of function 'strcpy'
/root/RT-N16/src/router/shared/shutils.h:115: warning: incompatible implicit declaration of built-in function 'strcpy'
/root/RT-N16/src/router/shared/shutils.h:116: warning: implicit declaration of function 'strcat'
/root/RT-N16/src/router/shared/shutils.h:116: warning: incompatible implicit declaration of built-in function 'strcat'
common.c: In function 'inet_atoul':
common.c:50: warning: implicit declaration of function 'inet_aton'
common.c: In function 'validate_ipaddr':
common.c:90: warning: unused variable 'netmask'
common.c:90: warning: unused variable 'netaddr'
common.c: In function 'validate_choice':
common.c:118: warning: implicit declaration of function 'strcmp'
common.c: In function 'validate_range':
common.c:134: warning: implicit declaration of function 'atoi'
common.c: In function 'validate_string':
common.c:154: warning: implicit declaration of function 'strlen'
common.c:154: warning: incompatible implicit declaration of built-in function 'strlen'
common.c: In function 'validate_group':
common.c:165: warning: 'return' with a value, in function returning void
In file included from common.c:192:
variables.c: At top level:
variables.c:124: warning: initialization from incompatible pointer type
variables.c:124: warning: initialization from incompatible pointer type
variables.c:126: warning: initialization from incompatible pointer type
variables.c:126: warning: initialization from incompatible pointer type
variables.c:129: warning: initialization from incompatible pointer type
variables.c:129: warning: initialization from incompatible pointer type
variables.c:1031: warning: initialization from incompatible pointer type
variables.c:1031: warning: initialization from incompatible pointer type
variables.c:1034: warning: initialization from incompatible pointer type
variables.c:1034: warning: initialization from incompatible pointer type
variables.c:1036: warning: initialization from incompatible pointer type
variables.c:1036: warning: initialization from incompatible pointer type
variables.c:1038: warning: initialization from incompatible pointer type
variables.c:1038: warning: initialization from incompatible pointer type
variables.c:1184: warning: initialization from incompatible pointer type
variables.c:1184: warning: initialization from incompatible pointer type
variables.c:1440: warning: initialization from incompatible pointer type
variables.c:1440: warning: initialization from incompatible pointer type
variables.c:1442: warning: initialization from incompatible pointer type
variables.c:1442: warning: initialization from incompatible pointer type
variables.c:1444: warning: initialization from incompatible pointer type
variables.c:1444: warning: initialization from incompatible pointer type
variables.c:1448: warning: initialization from incompatible pointer type
variables.c:1448: warning: initialization from incompatible pointer type
variables.c:1450: warning: initialization from incompatible pointer type
variables.c:1450: warning: initialization from incompatible pointer type
variables.c:1452: warning: initialization from incompatible pointer type
variables.c:1452: warning: initialization from incompatible pointer type
variables.c:1454: warning: initialization from incompatible pointer type
variables.c:1454: warning: initialization from incompatible pointer type
variables.c:1456: warning: initialization from incompatible pointer type
variables.c:1456: warning: initialization from incompatible pointer type
variables.c:1459: warning: initialization from incompatible pointer type
variables.c:1459: warning: initialization from incompatible pointer type
variables.c:1624: warning: initialization from incompatible pointer type
variables.c:1624: warning: initialization from incompatible pointer type
variables.c:1627: warning: initialization from incompatible pointer type
variables.c:1627: warning: initialization from incompatible pointer type
variables.c:1631: warning: initialization from incompatible pointer type
variables.c:1631: warning: initialization from incompatible pointer type
variables.c:1633: warning: initialization from incompatible pointer type
variables.c:1633: warning: initialization from incompatible pointer type
variables.c:1635: warning: initialization from incompatible pointer type
variables.c:1635: warning: initialization from incompatible pointer type
variables.c:1865: warning: initialization from incompatible pointer type
variables.c:1865: warning: initialization from incompatible pointer type
variables.c:1868: warning: initialization from incompatible pointer type
variables.c:1868: warning: initialization from incompatible pointer type
variables.c:1870: warning: initialization from incompatible pointer type
variables.c:1870: warning: initialization from incompatible pointer type
variables.c:1998: warning: initialization from incompatible pointer type
variables.c:1998: warning: initialization from incompatible pointer type
variables.c:2001: warning: initialization from incompatible pointer type
variables.c:2001: warning: initialization from incompatible pointer type
variables.c:2036: warning: initialization from incompatible pointer type
variables.c:2036: warning: initialization from incompatible pointer type
variables.c:2038: warning: initialization from incompatible pointer type
variables.c:2038: warning: initialization from incompatible pointer type
variables.c:2404: warning: initialization from incompatible pointer type
variables.c:2404: warning: initialization from incompatible pointer type
variables.c:2439: warning: initialization from incompatible pointer type
variables.c:2439: warning: initialization from incompatible pointer type
variables.c:2444: warning: initialization from incompatible pointer type
variables.c:2444: warning: initialization from incompatible pointer type
variables.c:2479: warning: initialization from incompatible pointer type
variables.c:2479: warning: initialization from incompatible pointer type
variables.c:2481: warning: initialization from incompatible pointer type
variables.c:2481: warning: initialization from incompatible pointer type
variables.c:2634: warning: initialization from incompatible pointer type
variables.c:2634: warning: initialization from incompatible pointer type
variables.c:2636: warning: initialization from incompatible pointer type
variables.c:2636: warning: initialization from incompatible pointer type
variables.c:2664: warning: initialization from incompatible pointer type
variables.c:2664: warning: initialization from incompatible pointer type
common.c: In function 'CheckGroupVariables':
common.c:300: warning: assignment from incompatible pointer type
common.c: In function 'GetVariable':
common.c:332: warning: incompatible implicit declaration of built-in function 'strcpy'
common.c:334: warning: function returns address of local variable
common.c: In function 'validate_wlwep':
common.c:68: warning: control reaches end of non-void function
common.c: In function 'validate_wlchannel':
common.c:63: warning: control reaches end of non-void function
common.c: In function 'validate_wlkey':
common.c:73: warning: control reaches end of non-void function
common.c: At top level:
common.c:47: warning: 'inet_atoul' defined but not used
common.c:77: warning: 'validate_wlrate' defined but not used
common.c:82: warning: 'validate_wlphrase' defined but not used
variables.c:4588: warning: array 'actions_FirewallConfig' assumed to have one element
variables.c:4589: warning: array 'actions_RouterConfig' assumed to have one element
variables.c:4590: warning: array 'actions_WLANConfig' assumed to have one element
variables.c:4591: warning: array 'actions_DeviceSecurity' assumed to have one element
variables.c:4592: warning: array 'actions_WLANAuthentication' assumed to have one element
variables.c:4593: warning: array 'actions_PrinterStatus' assumed to have one element
variables.c:4595: warning: array 'actions_Storage' assumed to have one element
variables.c:4596: warning: array 'actions_Language' assumed to have one element
mipsel-uclibc-gcc -DBCMWPA2 -DBCMWPS -D__CONFIG_EMF__ -D__CONFIG_IGMP_PROXY__ -I. -I/root/RT-N16/src/router/shared -I/root/RT-N16/src/include -Wall -DFLASH_EMULATOR -DLinux -DMIPS -s -O2 -DASUS_DDNS -DLINUX26 -c -o nvram_f.o nvram_f.c
nvram_f.c: In function 'strtrim_c':
nvram_f.c:90: warning: unused variable 'i'
nvram_f.c: In function 'nvram_add_lists_x':
nvram_f.c:343: warning: implicit declaration of function 'findNVRAMName'
nvram_f.c: In function 'nvram_del_lists_x':
nvram_f.c:487: warning: unused variable 'fp'
nvram_f.c: In function 'nvram_add_right_list':
nvram_f.c:676: warning: implicit declaration of function 'nvram_get_i'
nvram_f.c:676: warning: passing argument 1 of 'atoi' makes pointer from integer without a cast
nvram_f.c:678: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast
nvram_f.c:682: warning: implicit declaration of function 'nvram_set_i'
nvram_f.c:686: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast
nvram_f.c:693: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast
nvram_f.c:697: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast
nvram_f.c: In function 'nvram_remove_right_list':
nvram_f.c:722: warning: passing argument 1 of 'atoi' makes pointer from integer without a cast
nvram_f.c:726: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast
nvram_f.c:727: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast
nvram_f.c:728: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast
nvram_f.c:738: warning: suggest parentheses around assignment used as truth value
nvram_f.c: In function 'nvram_modify_right_list':
nvram_f.c:794: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast
nvram_f.c: In function 'del_right_list':
nvram_f.c:837: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast
nvram_f.c:839: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast
nvram_f.c: At top level:
nvram_f.c:45: warning: 'curEnv' defined but not used
mipsel-uclibc-gcc -DBCMWPA2 -DBCMWPS -D__CONFIG_EMF__ -D__CONFIG_IGMP_PROXY__ -I. -I/root/RT-N16/src/router/shared -I/root/RT-N16/src/include -Wall -DFLASH_EMULATOR -DLinux -DMIPS -s -O2 -DASUS_DDNS -DLINUX26 -c -o nvmap.o nvmap.c
In file included from nvmap.c:4:
/root/RT-N16/src/include/bcmnvram.h: In function 'nvram_match':
/root/RT-N16/src/include/bcmnvram.h:95: warning: implicit declaration of function 'strcmp'
nvmap.c: In function 'readFromNvram':
nvmap.c:117: warning: implicit declaration of function 'strcpy'
nvmap.c:117: warning: incompatible implicit declaration of built-in function 'strcpy'
nvmap.c: In function 'findNVRAMName':
nvmap.c:276: warning: incompatible implicit declaration of built-in function 'strcpy'
nvmap.c: In function 'findpattern':
nvmap.c:292: warning: implicit declaration of function 'strstr'
nvmap.c:292: warning: incompatible implicit declaration of built-in function 'strstr'
nvmap.c:294: warning: implicit declaration of function 'strlen'
nvmap.c:294: warning: incompatible implicit declaration of built-in function 'strlen'
nvmap.c: At top level:
nvmap.c:373: warning: return type defaults to 'int'
nvmap.c: In function 'nvram_cpy':
nvmap.c:377: warning: incompatible implicit declaration of built-in function 'strcpy'
nvmap.c: At top level:
nvmap.c:382: warning: return type defaults to 'int'
nvmap.c: In function 'nvram_cpy2':
nvmap.c:386: warning: incompatible implicit declaration of built-in function 'strcpy'
nvmap.c: In function 'delSharedEntry':
nvmap.c:426: warning: implicit declaration of function 'nvram_del_list'
nvmap.c:421: warning: unused variable 'del'
nvmap.c: At top level:
nvmap.c:445: warning: return type defaults to 'int'
nvmap.c: In function 'getSharedEntry':
nvmap.c:489: warning: incompatible implicit declaration of built-in function 'strcpy'
nvmap.c:486: warning: unused variable 'acc_num'
nvmap.c:486: warning: unused variable 'j'
nvmap.c:486: warning: unused variable 'i'
nvmap.c:485: warning: unused variable 'wuser'
nvmap.c:485: warning: unused variable 'ruser'
nvmap.c:484: warning: unused variable 'username'
nvmap.c:484: warning: unused variable 'wright'
nvmap.c:484: warning: unused variable 'rright'
nvmap.c:483: warning: unused variable 'path'
nvmap.c:482: warning: unused variable 'acc'
nvmap.c:482: warning: unused variable 'idxstr1'
nvmap.c: In function 'nvram_del_list':
nvmap.c:476: warning: control reaches end of non-void function
nvmap.c: In function 'nvram_cpy2':
nvmap.c:388: warning: control reaches end of non-void function
nvmap.c: In function 'nvram_cpy':
nvmap.c:379: warning: control reaches end of non-void function
mipsel-uclibc-gcc -DBCMWPA2 -DBCMWPS -D__CONFIG_EMF__ -D__CONFIG_IGMP_PROXY__ -I. -I/root/RT-N16/src/router/shared -I/root/RT-N16/src/include -Wall -DFLASH_EMULATOR -DLinux -DMIPS -s -O2 -DASUS_DDNS -DLINUX26 -c -o broadcom.o broadcom.c
broadcom.c: In function 'sys_renew':
broadcom.c:419: warning: unused variable 'pid'
broadcom.c:418: warning: unused variable 'str'
broadcom.c: In function 'sys_release':
broadcom.c:446: warning: unused variable 'pid'
broadcom.c:445: warning: unused variable 'str'
broadcom.c: In function 'wan_restore_mac':
broadcom.c:484: warning: pointer targets in passing argument 2 of 'ether_atoe' differ in signedness
broadcom.c:485: warning: pointer targets in passing argument 1 of 'ether_etoa' differ in signedness
broadcom.c: In function 'ej_wan_iflist':
broadcom.c:622: warning: pointer targets in passing argument 1 of 'ether_etoa' differ in signedness
broadcom.c: In function 'ej_wl_sta_status':
broadcom.c:678: warning: unused variable 'val'
broadcom.c:677: warning: unused variable 'info'
broadcom.c:676: warning: unused variable 'bssinfobuf'
broadcom.c:674: warning: unused variable 'i'
broadcom.c: In function 'ej_wl_status':
broadcom.c:715: warning: 'return' with no value, in function returning non-void
broadcom.c: In function 'ej_nat_table':
broadcom.c:824: warning: unused variable 'cur'
broadcom.c:824: warning: unused variable 'plist'
broadcom.c: In function 'ej_route_table':
broadcom.c:956: warning: control reaches end of non-void function
broadcom.c: In function 'sys_release':
broadcom.c:464: warning: control reaches end of non-void function
broadcom.c: In function 'sys_renew':
broadcom.c:437: warning: control reaches end of non-void function
broadcom.c: At top level:
broadcom.c:72: warning: 'ezc_error' defined but not used
broadcom.c:165: warning: 'sys_upgrade' defined but not used
broadcom.c:282: warning: 'ej_dumplog' defined but not used
broadcom.c:469: warning: 'wan_restore_mac' defined but not used
broadcom.c:503: warning: 'ej_wan_link' defined but not used
broadcom.c:566: warning: 'ej_wan_lease' defined but not used
broadcom.c:600: warning: 'ej_wan_iflist' defined but not used
broadcom.c:68: warning: array 'country_names' assumed to have one element
broadcom.c:83: warning: array 'variables' assumed to have one element
broadcom.c: In function 'ej_nat_table':
broadcom.c:827: warning: 'ret' is used uninitialized in this function
broadcom.c: In function 'ej_route_table':
broadcom.c:903: warning: 'ret' is used uninitialized in this function
broadcom.c: In function 'ej_wl_status':
broadcom.c:714: warning: 'ret' is used uninitialized in this function
mipsel-uclibc-gcc -DBCMWPA2 -DBCMWPS -D__CONFIG_EMF__ -D__CONFIG_IGMP_PROXY__ -I. -I/root/RT-N16/src/router/shared -I/root/RT-N16/src/include -Wall -DFLASH_EMULATOR -DLinux -DMIPS -s -O2 -DASUS_DDNS -DLINUX26 -c -o initial_web_hook.o initial_web_hook.c
mipsel-uclibc-gcc -DBCMWPA2 -DBCMWPS -D__CONFIG_EMF__ -D__CONFIG_IGMP_PROXY__ -I. -I/root/RT-N16/src/router/shared -I/root/RT-N16/src/include -Wall -DFLASH_EMULATOR -DLinux -DMIPS -s -O2 -DASUS_DDNS -DLINUX26 -c -o discover.o discover.c
discover.c: In function 'get_packet':
discover.c:493: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
mipsel-uclibc-gcc -DBCMWPA2 -DBCMWPS -D__CONFIG_EMF__ -D__CONFIG_IGMP_PROXY__ -I. -I/root/RT-N16/src/router/shared -I/root/RT-N16/src/include -Wall -DFLASH_EMULATOR -DLinux -DMIPS -s -O2 -DASUS_DDNS -DLINUX26 -c -o ralink.o ralink.c
ralink.c:117: warning: return type defaults to 'int'
ralink.c: In function 'ej_wl_status_nobr':
ralink.c:137: warning: implicit declaration of function 'strcat_r'
ralink.c:137: warning: passing argument 1 of 'nvram_get' makes pointer from integer without a cast
ralink.c:139: warning: passing argument 1 of 'nvram_match' makes pointer from integer without a cast
ralink.c:149: warning: passing argument 1 of 'nvram_match' makes pointer from integer without a cast
ralink.c:164: warning: pointer targets in passing argument 1 of 'wl_ioctl_nobr' differ in signedness
ralink.c:128: warning: unused variable 'val'
ralink.c:128: warning: unused variable 'j'
ralink.c:127: warning: unused variable 'maclist_size'
ralink.c:127: warning: unused variable 'max_sta_count'
ralink.c:126: warning: unused variable 'authorized'
ralink.c:126: warning: unused variable 'assoc'
ralink.c:126: warning: unused variable 'auth'
ralink.c:122: warning: unused variable 'bufint'
ralink.c: In function 'wl_ioctl_nobr':
ralink.c:220: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness
ralink.c: In function 'ej_wl_status_nobr':
ralink.c:143: warning: 'ret' is used uninitialized in this function
mipsel-uclibc-gcc -o httpd httpd.o ej.o cgi.o web_ex.o common.o nvram_f.o nvmap.o broadcom.o initial_web_hook.o discover.o ralink.o -L/root/RT-N16/src/router/nvram -lnvram -L/root/RT-N16/src/router/shared -lshared -L/root/RT-N16/src/router/netconf -lnetconf
/root/toolchains/hndtools-mipsel-linux-uclibc-4.1.2-32/bin/../lib/gcc/mipsel-linux-uclibc/4.1.2/../../../../mipsel-linux-uclibc/bin/ld: cannot find -lnetconf
collect2: ld returned 1 exit status
make[2]: *** [httpd] Error 1
make[2]: Leaving directory `/root/RT-N16/src/router/httpd'
make[1]: *** [httpd] Error 2
make[1]: Leaving directory `/root/RT-N16/src/router'
make: *** [all] Error 2
離線
#5 2009-12-07 15:01:19
- engineer873
- 新生
- 註冊日期: 2009-12-07
- 文章數: 1
- 目前積分 : 0
Re: [問題] 請問有沒有人會compile華碩的韌體 (RT-N16)
在router目錄下
先make netconf 再試一次看看
離線
#6 2009-12-17 04:09:37
Re: [問題] 請問有沒有人會compile華碩的韌體 (RT-N16)
engineer873 提到:
在router目錄下
先make netconf 再試一次看看
GPL9937 can be built.
1. Install tool chain first;
2. under "router", type "make N16";
Must be root to make the build. ubuntu gave me errors and I had to use Fedora 10.
But "addver" is missing in final steps (two other utilities: "trx" is included in the GPL, "addpattern" can be built from dd-wrt firmware modification kit).
mipsel-uclibc/Makefile:
addver target.cramfs $(KERNEL_VER) $(FS_VER) RT-N16 $(HWL1) $(HWH1) $(HWL2) $(HWH2) $(HWL3) $(HWH3) $(HWL4) $(HWH4) vmlinuz
I had to comment it out to generate final trx. I did not try the final trx though, because I am not sure if it will brick my router because of missing version tags.
離線