> Fredrik Modèen<fredrik@xxxxxxxxx> wrote: >> Sorry. About the driver being 3 drivers in one. It looks like FreeBSD [...] > >> But my problem now if I try to compile both files are “Multi defines of >> devclass_t em_devclass” I don’t have access to the exact error >> message. >> >> It’s in if_em.c like this >> devclass_t em_devclass; >> >> and in if_lem.c >> extern devclass_t em_devclass; > > Which really shouldn't be a problem as is, so the actual error message > would certainly be helpful. Here it is e1000/if_lem.c: In function `lem_dma_malloc': e1000/if_lem.c:2529: warning: unknown conversion type character `j' in format e1000/if_lem.c:2529: warning: int format, different type arg (arg 4) e1000/if_lem.c:2529: warning: too many arguments for format e1000/if_lem.c: At top level: e1000/if_lem.c:292: warning: `lem_smart_pwr_down' defined but not used Link e1000/ipro1000 e1000/if_lem.o:(.data+0x338): multiple definition of `__class_pci_em_devclass' e1000/if_em.o:(.data+0x47c): first defined here collect2: ld returned 1 exit status > > Bye, > Axel. > > > -- MVH Fredrik Modèen