jernejsk / OpenELEC-OPi2

OpenELEC - The living room PC for everyone
http://openelec.tv
87 stars 25 forks source link

compiler error #26

Closed galeots closed 8 years ago

galeots commented 8 years ago

/home/galeots/OpenELEC-OPi2 make[1]: Entering directory '/home/galeots/OpenELEC-OPi2/build.OpenELEC-H3.arm-7.0-devel/linux-awh3-3.4' CHK include/linux/version.h CHK include/generated/utsrelease.h make[2]: "include/generated/mach-types.h" è aggiornato. CALL scripts/checksyscalls.sh GEN usr/initramfs_data.cpio CHK include/generated/compile.h AS usr/initramfs_data.o AS arch/arm/mach-sunxi/power/brom/resumes.o CC arch/arm/mach-sunxi/power/brom/resume_head.o arch/arm/mach-sunxi/power/brom/gen_check_code: 1: arch/arm/mach-sunxi/power/brom/gen_check_code: LD usr/built-in.o Syntax error: end of file unexpected (expecting ")") /home/galeots/OpenELEC-OPi2/build.OpenELEC-H3.arm-7.0-devel/linux-awh3-3.4/arch/arm/mach-sunxi/power/brom/Makefile:26: set di istruzioni per l'obiettivo "arch/arm/mach-sunxi/power/brom/resumes.code" non riuscito make[4]: * [arch/arm/mach-sunxi/power/brom/resumes.code] Errore 2 /home/galeots/OpenELEC-OPi2/build.OpenELEC-H3.arm-7.0-devel/linux-awh3-3.4/arch/arm/mach-sunxi/power/Makefile:23: set di istruzioni per l'obiettivo "arch/arm/mach-sunxi/power/brom/resumes.code" non riuscito make[3]: * [arch/arm/mach-sunxi/power/brom/resumes.code] Errore 2 scripts/Makefile.build:443: set di istruzioni per l'obiettivo "arch/arm/mach-sunxi/power" non riuscito make[2]: * [arch/arm/mach-sunxi/power] Errore 2 Makefile:947: recipe for target 'arch/arm/mach-sunxi' failed make[1]: * [arch/arm/mach-sunxi] Error 2 make[1]: * Waiting for unfinished jobs.... CHK kernel/config_data.h make[1]: Leaving directory '/home/galeots/OpenELEC-OPi2/build.OpenELEC-H3.arm-7.0-devel/linux-awh3-3.4' Makefile:12: set di istruzioni per l'obiettivo "image" non riuscito make: * [image] Errore 2

jernejsk commented 8 years ago

You are using 32 bit linux to compile, right?

galeots commented 8 years ago

yes, power button error! REALISE old went before power button implement

jernejsk commented 8 years ago

Not sure if I understand you. What has power button with compile error?

galeots commented 8 years ago

yes

jernejsk commented 8 years ago

Ok, I still don't get you. Compile error has nothing to do with power button. I think that problem is gen_check_code which has suposedly problems on 32 bit. You can try on 64 bit.

galeots commented 8 years ago

fs/fuse/cuse.c: In function 'cuse_process_init_reply': fs/fuse/cuse.c:286:5: warning: 'devinfo.name' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!devinfo->name || !strlen(devinfo->name)) { ^ fs/fuse/cuse.c:311:22: note: 'devinfo.name' was declared here struct cuse_devinfo devinfo = { }; ^ fs/fuse/cuse.c:282:4: warning: 'key' may be used uninitialized in this function [-Wmaybe-uninitialized] printk(KERN_WARNING "CUSE: unknown device info \"%s\"\n", ^ fs/fuse/cuse.c:270:8: note: 'key' was declared here char _key, val; ^ LD fs/fuse/fuse.o LD fs/fuse/built-in.o CC fs/ext4/move_extent.o CC fs/ext4/mmp.o CC kernel/trace/rpm-traces.o CC fs/ext4/indirect.o CC kernel/trace/trace_kdb.o CC kernel/profile.o LD fs/isofs/isofs.o LD fs/isofs/built-in.o CC fs/ext4/xattr.o CC kernel/stacktrace.o CC kernel/futex.o CC kernel/rtmutex.o LD fs/jfs/built-in.o CC kernel/smp.o CC fs/lockd/clntlock.o CC fs/nfs/client.o LD kernel/trace/libftrace.o LD kernel/trace/built-in.o CC fs/nfs/dir.o CC fs/ext4/xattr_user.o CC fs/lockd/clntproc.o CC fs/lockd/clntxdr.o CC fs/lockd/host.o CC kernel/spinlock.o CC fs/ext4/xattr_trusted.o CC kernel/uid16.o CC fs/ext4/xattr_security.o CC kernel/module.o CC fs/nfs_common/nfsacl.o LD fs/ext4/ext4.o LD fs/ext4/built-in.o CC kernel/kallsyms.o CC kernel/cgroup.o CC kernel/cgroup_freezer.o CC kernel/cpuset.o CC fs/lockd/svc.o CC fs/lockd/svclock.o LD fs/nfs_common/nfs_acl.o LD fs/nfs_common/built-in.o CC fs/lockd/svcshare.o CC fs/nls/nls_base.o CC fs/nls/nls_cp437.o CC fs/nls/nls_cp936.o CC fs/nls/nls_cp950.o CC fs/nfs/file.o CC fs/nls/nls_ascii.o CC fs/nfs/getroot.o CC fs/nfs/inode.o CC kernel/utsname.o CC kernel/user_namespace.o CC fs/lockd/svcproc.o CC fs/notify/fsnotify.o CC fs/nls/nls_iso8859-1.o CC kernel/pid_namespace.o CC fs/notify/notification.o CC fs/nls/nls_utf8.o CC fs/nfs/super.o CC fs/lockd/svcsubs.o CC fs/ntfs/aops.o GZIP kernel/config_data.gz LD fs/nls/built-in.o CC fs/ntfs/attrib.o CC fs/notify/group.o CC fs/notify/inode_mark.o CC fs/notify/mark.o CC fs/nfs/nfs2xdr.o CC kernel/res_counter.o CC fs/lockd/mon.o CC fs/lockd/xdr.o CC fs/notify/vfsmount_mark.o CC fs/proc/mmu.o CC fs/nfs/direct.o CC fs/proc/task_mmu.o CC fs/notify/dnotify/dnotify.o CC kernel/stop_machine.o CC kernel/watchdog.o CC fs/lockd/grace.o LD fs/notify/dnotify/built-in.o CC fs/proc/inode.o CC fs/notify/fanotify/fanotify.o CC fs/nfs/pagelist.o CC fs/lockd/clnt4xdr.o CC fs/lockd/xdr4.o CC kernel/rcutree.o CC fs/proc/root.o CC fs/proc/base.o CC fs/notify/inotify/inotify_fsnotify.o CC fs/nfs/proc.o CC fs/notify/fanotify/fanotify_user.o CC fs/lockd/svc4proc.o CC fs/ntfs/collate.o CC fs/nfs/read.o CC fs/proc/generic.o CC kernel/relay.o CC fs/notify/inotify/inotify_user.o LD fs/notify/fanotify/built-in.o LD fs/lockd/lockd.o CC kernel/utsname_sysctl.o LD fs/lockd/built-in.o CC kernel/tracepoint.o CC kernel/elfcore.o CC fs/proc/array.o CC fs/nfs/symlink.o CC fs/ntfs/compress.o LD fs/notify/inotify/built-in.o CC fs/ramfs/inode.o CC fs/quota/quota.o LD fs/notify/built-in.o CC fs/ramfs/file-mmu.o LD fs/reiserfs/built-in.o CC fs/proc/proc_tty.o CC kernel/irq_work.o CC fs/ntfs/debug.o CC fs/nfs/unlink.o LD fs/quota/built-in.o CC fs/nfs/write.o CC fs/proc/cmdline.o CC kernel/cpu_pm.o CC fs/ntfs/dir.o LD fs/ramfs/ramfs.o LD fs/ramfs/built-in.o CC fs/ntfs/file.o CC fs/squashfs/block.o CC fs/squashfs/cache.o CC fs/proc/consoles.o CC kernel/jump_label.o CC fs/proc/cpuinfo.o CC fs/nfs/namespace.o CC fs/nfs/mount_clnt.o CC fs/nfs/dns_resolve.o CC fs/ntfs/index.o CC kernel/time.o CC fs/proc/devices.o CC fs/proc/interrupts.o CC fs/squashfs/dir.o CHK kernel/config_data.h UPD kernel/config_data.h CC fs/ntfs/inode.o CC fs/ntfs/mft.o CC fs/proc/loadavg.o CC fs/nfs/cache_lib.o CC kernel/configs.o CC fs/nfs/nfs3proc.o CC fs/squashfs/export.o CC fs/proc/meminfo.o CC fs/squashfs/file.o CC fs/proc/stat.o LD kernel/built-in.o CC fs/proc/uptime.o CC fs/ntfs/mst.o CC fs/proc/version.o CC fs/squashfs/fragment.o CC fs/squashfs/id.o CC fs/squashfs/inode.o CC fs/squashfs/namei.o CC fs/nfs/nfs3xdr.o CC fs/ntfs/namei.o CC fs/ntfs/runlist.o CC fs/proc/softirqs.o CC fs/ntfs/super.o CC fs/ntfs/sysctl.o CC fs/nfs/nfs3acl.o CC fs/proc/namespaces.o CC fs/ntfs/unistr.o CC fs/squashfs/super.o CC fs/squashfs/symlink.o CC fs/squashfs/decompressor.o CC fs/squashfs/lzo_wrapper.o CC fs/squashfs/xz_wrapper.o CC fs/ntfs/upcase.o CC fs/nfs/nfs4proc.o CC fs/proc/proc_sysctl.o CC fs/proc/proc_net.o CC fs/proc/kmsg.o CC fs/proc/page.o CC fs/ntfs/bitmap.o CC fs/ntfs/lcnalloc.o CC fs/nfs/nfs4xdr.o CC fs/sysfs/inode.o CC fs/sysfs/file.o CC fs/squashfs/zlib_wrapper.o CC fs/udf/balloc.o LD fs/squashfs/squashfs.o CC fs/ntfs/logfile.o LD fs/squashfs/built-in.o CC fs/ntfs/quota.o CC fs/sysfs/dir.o CC fs/ntfs/usnjrnl.o CC fs/udf/dir.o LD fs/proc/proc.o LD fs/proc/built-in.o CC fs/udf/file.o CC fs/nfs/nfs4state.o CC fs/sysfs/symlink.o CC fs/eventpoll.o LD fs/xfs/built-in.o CC fs/nfs/nfs4renewd.o LD fs/ntfs/ntfs.o LD fs/ntfs/built-in.o CC fs/udf/ialloc.o CC fs/udf/inode.o CC fs/udf/lowlevel.o CC fs/nfs/delegation.o CC fs/sysfs/mount.o CC fs/nfs/idmap.o CC fs/nfs/callback.o CC fs/anon_inodes.o CC fs/signalfd.o CC fs/timerfd.o CC fs/sysfs/bin.o CC fs/udf/namei.o CC fs/nfs/callback_xdr.o CC fs/eventfd.o CC fs/sysfs/group.o CC fs/udf/partition.o CC fs/nfs/callback_proc.o CC fs/aio.o CC fs/udf/super.o CC fs/locks.o CC fs/nfs/nfs4namespace.o CC fs/binfmt_misc.o LD fs/sysfs/built-in.o CC fs/binfmt_script.o CC fs/nfs/sysctl.o CC fs/udf/truncate.o CC fs/binfmt_elf.o CC fs/mbcache.o CC fs/udf/symlink.o CC fs/udf/directory.o CC fs/udf/misc.o CC fs/udf/udftime.o CC fs/posix_acl.o CC fs/udf/unicode.o LD fs/nfs/nfs.o LD fs/nfs/built-in.o CC fs/xattr_acl.o CC fs/generic_acl.o CC fs/fhandle.o CC fs/dcookies.o LD fs/udf/udf.o LD fs/udf/built-in.o LD fs/built-in.o make[1]: Leaving directory '/home/galeots/OpenELEC-OPi2/build.OpenELEC-H3.arm-7.0-devel/linux-awh3-3.4' Makefile:12: set di istruzioni per l'obiettivo "image" non riuscito make: _* [image] Errore 2 galeots@galeots-System-Product-Name:~/OpenELEC-OPi2$

jernejsk commented 8 years ago

This is only warning and fuse is actually one of filesystem drivers. Nothing to do with power. As I said, try to build on 64 bit system.

jernejsk commented 8 years ago

Ok, building should be fixed now.