[Bug 8451] New: ARM: ‘struct module_entry’ has no member named ‘dnext’

bugzilla at busybox.net bugzilla at busybox.net
Fri Nov 6 14:29:47 UTC 2015


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 at busybox.net
        ReportedBy: joakim.bech+bugzilla at linaro.org
                CC: busybox-cvs at 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.


More information about the busybox-cvs mailing list