[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox-cvs
Subject:    [Bug 8451] New: ARM:=?UTF-8?Q?=20=E2=80=98struct=20module=5Fentry=E2=80=99=20has=20no=20member=20nam
From:       bugzilla () busybox ! net
Date:       2015-11-06 14:29:47
Message-ID: bug-8451-161 () https ! bugs ! busybox ! net/
[Download RAW message or body]

https://bugs.busybox.net/show_bug.cgi?id=8451

           Summary: ARM: ‘struct module_entry' has no member named ‘dnext'
           Product: Busybox
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Other
        AssignedTo: unassigned@busybox.net
        ReportedBy: joakim.bech+bugzilla@linaro.org
                CC: busybox-cvs@busybox.net
   Estimated Hours: 0.0


Hi,

The last commit:
http://git.busybox.net/busybox/commit/?id=48dc80bbba994eee24ed94ae4532a1cce76d7cb7

fails to compile using (32bit) ARM cross compiler (arm-linux-gnueabihf-gcc). It
looks like the dnext and dprev are defined in the struct. Unfortunately I'm not
familiar with the "IF_DEPMOD / applet" thing in the source code, so I have no
good suggestion how to fix it. Is it a true error or is it something additional
we must provide to the compiler with this new commit?

....
make[1]: Entering directory `/home/jbech/devel/optee_projects/qemu/busybox'
...
/home/jbech/devel/optee_projects/qemu/busybox/modutils/modutils.c: In function
‘helper_get_module':
/home/jbech/devel/optee_projects/qemu/busybox/modutils/modutils.c:42:3: error:
‘struct module_entry' has no member named ‘dnext'
  e->dnext = e->dprev = e;
   ^
/home/jbech/devel/optee_projects/qemu/busybox/modutils/modutils.c:42:14: error:
‘struct module_entry' has no member named ‘dprev'
  e->dnext = e->dprev = e;
              ^
make[3]: *** [modutils/modutils.o] Error 1
make[2]: *** [modutils] Error 2
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/jbech/devel/optee_projects/qemu/busybox'

// Regards Joakim

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
busybox-cvs mailing list
busybox-cvs@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic