Bjorn, I am using martian modem and intel 536 modem on Fedora 12 kernel [olivares@blackp4 Downloads]$ uname -r 2.6.31.6-145.fc12.i686.PAE With the 64 bit Fedora 11 that I was using at one point, Marv sent me a precompiled martian_modem that worked fine. If you can try compling normal, instead of change to kmodule/ folder and just create martian_dev.ko. I noticed this using Fedora kernels, it would not work, so try $ make clean $ make all $ su -c 'make install' and hopefully(crossing fingers) the martian_dev.ko file is created and succeeds, and martian_modem is created and placed in /usr/sbin/ and it works? Try these suggestions, if it works great, if it does not wait for Marv's precompiled martian_modem Regards, Antonio On 12/22/09, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> wrote: > Bjorn > > 64 bit is probably your problem. Per below, the compile is OK on my > 32 bit system. > > Just do the compile in the kdrivers/ folder. I'll send you the 32 bit > compiled martian_modem, > which you should copy to /usr/sbin/ You may will have to install 32 > bit versions of libc6 & libc6-dev to support it however. Only the > martian_dev driver need be 64 bit compiled on a 64 bit system. My gcc > is 4.4, but I can do a gcc-4.3 (or earlier compile if you need) > > MarvS > ---------- > /martian-full-20080625$ make > KERNEL_DIR=/usr/src/linux-headers-2.6.31-16-generic > make -C kmodule/ modules > make[1]: Entering directory > `/usr/src/pkg/martian/martian-full-20080625/kmodule' > make -C /usr/src/linux-headers-2.6.31-16-generic > M="/usr/src/pkg/martian/martian-full-20080625/kmodule" modules > make[2]: Entering directory `/usr/src/linux-headers-2.6.31-16-generic' > CC [M] /usr/src/pkg/martian/martian-full-20080625/kmodule/martian.o > /usr/src/pkg/martian/martian-full-20080625/kmodule/martian.c: In > function ‘martian_isr’: > /usr/src/pkg/martian/martian-full-20080625/kmodule/martian.c:131: > warning: value computed is not used > CC [M] /usr/src/pkg/martian/martian-full-20080625/kmodule/marsio.o > /usr/src/pkg/martian/martian-full-20080625/kmodule/marsio.c:358: > warning: ‘mars_read_register_rem’ defined but not used > /usr/src/pkg/martian/martian-full-20080625/kmodule/marsio.c:371: > warning: ‘mars_write_register_rem’ defined but not used > CC [M] /usr/src/pkg/martian/martian-full-20080625/kmodule/mfifo.o > LD [M] /usr/src/pkg/martian/martian-full-20080625/kmodule/martian_dev.o > Building modules, stage 2. > MODPOST 1 modules > CC > /usr/src/pkg/martian/martian-full-20080625/kmodule/martian_dev.mod.o > LD [M] /usr/src/pkg/martian/martian-full-20080625/kmodule/martian_dev.ko > make[2]: Leaving directory `/usr/src/linux-headers-2.6.31-16-generic' > make[1]: Leaving directory > `/usr/src/pkg/martian/martian-full-20080625/kmodule' > make -C modem/ all > make[1]: Entering directory > `/usr/src/pkg/martian/martian-full-20080625/modem' > CC main.o > CC dumpers.o > CC log.o > CC session.o > CC mport.o > CC pty.o > CC sysdep.o > CC isr.o > CC smp.o > CC core_if.o > CC coresubst.o > CC link.o > CC tweakrelocsdynamic.o > CC coreadd.o > CC elf386tweakrelocs > LD marscore.o > TWEAK marscore.o > LD martian_modem > make[1]: Leaving directory > `/usr/src/pkg/martian/martian-full-20080625/modem' > > > On Tue, Dec 22, 2009 at 9:22 AM, Bjorn Wielens <Uniacke1@xxxxxxxx> wrote: >> Any build successes/patches for these modems? >> My attempts to build result in the following errors: >> >> For 536/537: (Likely the result of this being a 64 bit system?) >> >> /home/blmwielens/intel-536-537/coredrv/softserial.c: In function >> ‘softserial_background_event_handler’: >> /home/blmwielens/intel-536-537/coredrv/softserial.c:365: error: request >> for member ‘ops’ in something not a structure or union >> /home/blmwielens/intel-536-537/coredrv/softserial.c:374: error: request >> for member ‘ops’ in something not a structure or union >> >> >> For Martian: >> mport.c:8:41: error: asm/page.h: No such file or directory >> mport.c: In function ‘mport_init’: >> mport.c:266: error: ‘PAGE_SIZE’ undeclared (first use in this function) >> mport.c:266: error: (Each undeclared identifier is reported only once >> mport.c:266: error: for each function it appears in.) >> mport.c:266: error: ‘PAGE_SHIFT’ undeclared (first use in this function) >> >> Thoughts/suggestions/ideas? >> >> >> >> >> >