> Fredrik Modèen <fredrik@xxxxxxxxx> wrote: >> e1000/if_lem.o:(.data+0x338): multiple definition of >> `__class_pci_em_devclass' >> e1000/if_em.o:(.data+0x47c): first defined here > > You are running into a restriction of our FreeBSD driver layer, see > http://dev.haiku-os.org/browser/haiku/trunk/src/libs/compat/freebsd_network/compat/sys/haiku-module.h#L229 > u-module.h#L229 > > That could easily be changed to mangle the driver's name into the > resulting name, but I'm not sure if this has any other consequences. Ok are this relay the problem? Below are part of the files. What I find od are that the em_devclass in if_lem.c are not named lem_devclass renaming it made it build but I haven’t tested it on vmware. In if_igb.c it has a different name. (if_em.c) devclass_t em_devclass; DRIVER_MODULE(em, pci, em_driver, em_devclass, 0, 0); (if_lem.c) extern devclass_t em_devclass; DRIVER_MODULE(lem, pci, lem_driver, em_devclass, 0, 0); (if_igb.c) static devclass_t igb_devclass; DRIVER_MODULE(igb, pci, igb_driver, igb_devclass, 0, 0); > Could you please always remove the signature when replying to someone? > Thanks. Mine or the one I'm replaying to? -- MVH Fredrik Modèen