536ep won't compile under [ubuntu] Karmic Koala

2 views
Skip to first unread message

seasoned_geek

unread,
Aug 12, 2009, 8:22:17 PM8/12/09
to Ubuntu Modems
I pulled down the 2009_02_08 bz2 file from :
http://linmodems.technion.ac.il/packages/intel/Philippe.Vouters/ and
tried to compile under Karmic Koala. It appears the proc_dir_entry
structure has changed significantly and now this source won't compile.

abc@logikaldesktop:~/downloads/intel-536EP-2.56.76.0$ make clean
cd coredrv; make clean
make[1]: Entering directory `/home/abc/downloads/intel-536EP-2.56.76.0/
coredrv'
rm -f *.ko .*.o.cmd *.mod.c .*.ko.cmd *.o *~ core Module.* modules.*
rm -rf .tmp_versions
make[1]: Leaving directory `/home/abc/downloads/intel-536EP-2.56.76.0/
coredrv'
rm -f *.o *.ko
abc@logikaldesktop:~/downloads/intel-536EP-2.56.76.0$ make 536
Module precompile check
Current running kernel is: 2.6.31-3-generic
/lib/modules... autoconf.h exists
diff: /boot/vmlinuz.autoconf.h: No such file or directory
autoconf.h matches running kernel
diff: /boot/vmlinuz.version.h: No such file or directory
version.h matches running kernel
uname -r|grep "2.6" && \
cd coredrv && make 536core_26 && \
cp Intel536.ko .. && cd .. && \
strip --strip-debug Intel536.ko && \
exit; \
ls Intel536.ko >/dev/null 2>&1 || uname -r | grep "2.6" &&
echo "Failed to build driver" && exit; \
if [ ]; then \
cd coredrv; make TARGET=TARGET_SELAH KERNEL_SOURCE_PATH=
"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \
else \
cd coredrv; make TARGET=TARGET_SELAH KERNEL_INCLUDES=/lib/
modules/`uname -r`/build/include \
"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \
fi ; \
cp Intel536.o .. ; \
if [ -a /boot/vmlinuz.version.h ]; then \
cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/
include/linux/version.h;\
fi
2.6.31-3-generic
make[1]: Entering directory `/home/abc/downloads/intel-536EP-2.56.76.0/
coredrv'
make -C /lib/modules/2.6.31-3-generic/build SUBDIRS=/home/abc/
downloads/intel-536EP-2.56.76.0/coredrv modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.31-3-generic'
CC [M] /home/abc/downloads/intel-536EP-2.56.76.0/coredrv/coredrv.o
/home/abc/downloads/intel-536EP-2.56.76.0/coredrv/coredrv.c: In
function ‘create_hamproc’:
/home/abc/downloads/intel-536EP-2.56.76.0/coredrv/coredrv.c:785:
error: ‘struct proc_dir_entry’ has no member named ‘owner’
make[3]: *** [/home/abc/downloads/intel-536EP-2.56.76.0/coredrv/
coredrv.o] Error 1
make[2]: *** [_module_/home/abc/downloads/intel-536EP-2.56.76.0/
coredrv] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.31-3-generic'
make[1]: *** [536core_26] Error 2
make[1]: Leaving directory `/home/abc/downloads/intel-536EP-2.56.76.0/
coredrv'
2.6.31-3-generic
Failed to build driver

I took a look at proc_fs.h and see it now has

struct proc_dir_entry {
unsigned int low_ino;
unsigned short namelen;
const char *name;
mode_t mode;
nlink_t nlink;
uid_t uid;
gid_t gid;
loff_t size;

I'm going to power down and try my smartlink modem now.

S Pinker

unread,
Aug 13, 2009, 2:36:06 AM8/13/09
to ubuntu...@googlegroups.com
Hey seasoned,
At this group, we generally only work with issues regarding the fully packaged driver. To resolve you compilation issue, I believe you will need to contact the mailing list at:
http://www.linmodems.org
discuss-...@linmodems.org

Stephen Pinker



----- Original Message ----
From: seasoned_geek <rol...@logikalsolutions.com>
To: Ubuntu Modems <ubuntu...@googlegroups.com>
Sent: Wednesday, August 12, 2009 8:22:17 PM
Subject: [ubuntu-modems:145] 536ep won't compile under [ubuntu] Karmic Koala


I pulled down the 2009_02_08 bz2 file from :
http://linmodems.technion.ac.il/packages/intel/Philippe.Vouters/ and
tried to compile under Karmic Koala. It appears the proc_dir_entry
structure has changed significantly and now this source won't compile.

abc@logikaldesktop:~/downloads/intel-536EP-2.56.76.0$ make clean
cd coredrv; make clean
make[1]: Entering directory `/home/abc/downloads/intel-536EP-2.56.76..0/
downloads/intel-536EP-2.56..76.0/coredrv modules
Reply all
Reply to author
Forward
0 new messages