Re: Driver for 536ep-Modem does not compile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Philippe,

it's only now that I come back to my computer. Here are the results of your shell-commands:

$ uname -r|grep "2.6"    --> 2.6.37.1-1.2-default
$ make INTEL_MODEM=536EP 536core_26

make -C /lib/modules/2.6.37.1-1.2-default/build M=/root/Installationen/Modem-536ep/intel-536-537/coredrv modules make[1]: Entering directory `/usr/src/linux-2.6.37.1-1.2-obj/i386/default' make -C ../../../linux-2.6.37.1-1.2 O=/usr/src/linux-2.6.37.1-1.2-obj/i386/default/. modules CC [M] /root/Installationen/Modem-536ep/intel-536-537/coredrv/coredrv.o /root/Installationen/Modem-536ep/intel-536-537/coredrv/coredrv.c:779:4: warning: data definition has no type or storage class /root/Installationen/Modem-536ep/intel-536-537/coredrv/coredrv.c:779:4: warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’ /root/Installationen/Modem-536ep/intel-536-537/coredrv/coredrv.c:779:4: warning: parameter names (without types) in function declaration CC [M] /root/Installationen/Modem-536ep/intel-536-537/coredrv/clmmain.o CC [M] /root/Installationen/Modem-536ep/intel-536-537/coredrv/rts.o CC [M] /root/Installationen/Modem-536ep/intel-536-537/coredrv/task.o CC [M] /root/Installationen/Modem-536ep/intel-536-537/coredrv/uart.o CC [M] /root/Installationen/Modem-536ep/intel-536-537/coredrv/wwh_dflt.o CC [M] /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.o /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:176:1: warning: data definition has no type or storage class /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:176:1: warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’ /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:176:1: warning: parameter names (without types) in function declaration /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:177:1: warning: data definition has no type or storage class /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:177:1: warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’ /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:177:1: warning: parameter names (without types) in function declaration /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:178:1: warning: data definition has no type or storage class /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:178:1: warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’ /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:178:1: warning: parameter names (without types) in function declaration /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:179:1: warning: data definition has no type or storage class /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:179:1: warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’ /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:179:1: warning: parameter names (without types) in function declaration /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:180:1: warning: data definition has no type or storage class /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:180:1: warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’ /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:180:1: warning: parameter names (without types) in function declaration /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:181:1: warning: data definition has no type or storage class /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:181:1: warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’ /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:181:1: warning: parameter names (without types) in function declaration /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:182:1: warning: data definition has no type or storage class /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:182:1: warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’ /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:182:1: warning: parameter names (without types) in function declaration /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:183:1: warning: data definition has no type or storage class /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:183:1: warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’ /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:183:1: warning: parameter names (without types) in function declaration /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:184:1: warning: data definition has no type or storage class /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:184:1: warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’ /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:184:1: warning: parameter names (without types) in function declaration /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c: In function ‘linux_RSAGetExclusive’: /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:192:24: error: ‘sem0’ undeclared (first use in this function) /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:192:24: note: each undeclared identifier is reported only once for each function it appears in /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:196:24: error: ‘sem1’ undeclared (first use in this function) /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:200:24: error: ‘sem2’ undeclared (first use in this function) /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:204:24: error: ‘sem3’ undeclared (first use in this function) /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:208:24: error: ‘sem4’ undeclared (first use in this function) /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:212:24: error: ‘sem5’ undeclared (first use in this function) /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:216:24: error: ‘sem6’ undeclared (first use in this function) /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:220:24: error: ‘sem7’ undeclared (first use in this function) /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:224:24: error: ‘sem8’ undeclared (first use in this function) /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c: In function ‘linux_RSAFreeExclusive’: /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:242:11: error: ‘sem0’ undeclared (first use in this function) /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:245:11: error: ‘sem1’ undeclared (first use in this function) /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:248:11: error: ‘sem2’ undeclared (first use in this function) /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:251:11: error: ‘sem3’ undeclared (first use in this function) /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:254:11: error: ‘sem4’ undeclared (first use in this function) /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:257:11: error: ‘sem5’ undeclared (first use in this function) /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:260:11: error: ‘sem6’ undeclared (first use in this function) /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:263:11: error: ‘sem7’ undeclared (first use in this function) /root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:266:11: error: ‘sem8’ undeclared (first use in this function) make[4]: *** [/root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.o] Fehler 1 make[3]: *** [_module_/root/Installationen/Modem-536ep/intel-536-537/coredrv] Fehler 2
make[2]: *** [sub-make] Fehler 2
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.37.1-1.2-obj/i386/default'
make: *** [536core_26] Fehler 2

cp Intel536.ko ..  --> file couldn't be found

Wolfgang




On Sun, 12 Feb 2012, Philippe Vouters wrote:

Dear Wolfgang,

I do not know what can be wrong.
Try the following:
$ cd intel-536-537
$ uname -r|grep "2.6" && \ cd coredrv && make INTEL_MODEM=536EP 536core_26 && \
cp Intel536.ko .. && cd .. && \
strip --strip-debug Intel536.ko

If the above does not output CC and LD strings, try
$ cd coredrv
$ make INTEL_MODEM=536EP 536core_26

and reply to everyone with the cut and paste of what your read on your terminal screen.

Thanks in advance.

Philippe

Le 12/02/2012 18:31, Wolfgang Junker a écrit :
Philippe,

I may be misinterpreting your words, but you write

"If you run a 2.6.x kernel, then you will need
../Intel/intel-536EP-537EP_2011_12_03.tar.bz2"

Since I am running the kernel 2.6.37.1-1.2-default of SUSE 11.4 I
downloaded the intel-536EP-537EP_2011_12_03.tar.bz2, but obtain after
"make 536" the following output, reported in my previous message:

Module precompile check
Current running kernel is: 2.6.37.1-1.2-default
/lib/modules... autoconf.h exists
diff: /boot/vmlinuz.autoconf.h: Datei oder Verzeichnis nicht gefunden
autoconf.h matches running kernel
diff: /boot/vmlinuz.version.h: Datei oder Verzeichnis nicht gefunden
version.h matches running kernel
make[1]: Entering directory
`/root/Installationen/Modem-536ep/intel-536-537'
2.6.37.1-1.2-default
Failed to build driver

(the german text in lines 4 and 6 means "couldn't find file or directory")

Sincerely
Wolfgang


On Sun, 12 Feb 2012, Philippe Vouters wrote:

Wolfgang,

You did not pay enough attention to what I write in the TARBALLS
KERNEL COMPATIBILITY: chapter of my
http://vouters.dyndns.org/Intel/Intel-Readme.html document. Download
the correct tarball suited for a 2.6.x Linux kernel which your SUSE
11.4 runs as per your indications.
Philippe

Le 12/02/2012 16:41, Antonio Olivares a écrit :
Wolfgang,

This is a new problem that has arised since files were changed.
Phillipe has made some changes to the code to accomodate them.
However, they were for newer kernels. Adding CC to Phillipe so he can
make some recommendations.

Phillipe,

Wolfgang has Intel-536ep-Modem in his Notebook and want for it to run
under SUSE 11.4 with kernel 2.6.37.1-1.2-default. I recommended the
latest driver from your site, but he appears to be having problems.

http://vouters.dyndns.org/Intel/intel-536EP-537EP_2012_01_04.tar.bz2

http://vouters.dyndns.org/Intel/

Thanks for your hard work and improvements to Intel 536/Intel 537
family of modems and other contributions to the community.

Regards,

Antonio

On Sun, Feb 12, 2012 at 9:34 AM, Wolfgang Junker
<junker@xxxxxxxxxxxxxxxxxxx> wrote:
Antonio,

thank you for pointing the way to the newest releases.
Unforntunately, I
have still no success:

If I try the intel-536EP-537EP_2012_01_04.tar.bz2 I get the same
error log
as described in my previous message.

If I try the intel-536EP-537EP_2011_12_03.tar.bz2 I obtain the follwing
output:

Module precompile check
Current running kernel is: 2.6.37.1-1.2-default
/lib/modules... autoconf.h exists
diff: /boot/vmlinuz.autoconf.h: Datei oder Verzeichnis nicht gefunden
autoconf.h matches running kernel
diff: /boot/vmlinuz.version.h: Datei oder Verzeichnis nicht gefunden
version.h matches running kernel
make[1]: Entering directory
`/root/Installationen/Modem-536ep/intel-536-537'
2.6.37.1-1.2-default
Failed to build driver


Wolfgang



On Sat, 11 Feb 2012, Antonio Olivares wrote:

Wolfgang,

Phillipe Vouters has released newer releases, but they are not present
in linmodems Intel tree. Check here:

http://vouters.dyndns.org/Intel/intel-536EP-537EP_2012_01_04.tar.bz2

for a newer release. Also you may visit the following page to check
for other packages

http://vouters.dyndns.org/Intel/

and Phillipe's great readme.

http://vouters.dyndns.org/Intel/Intel-Readme.html

Should you encounter any difficulties, please let us know.

Regards,


Antonio


2012/2/11 Wolfgang Junker<junker@xxxxxxxxxxxxxxxxxxx>:

Hi all,

I have an Intel-536ep-Modem in my Notebook and want to run it
under SUSE
11.4 with kernel 2.6.37.1-1.2-default. So I downloaded the
intel-536EP-537EP_2011_07_03.tar from

http://linmodems.technion.ac.il/packages/intel/Philippe.Vouters

and tried to compile it, but with no success. When I do "make 536"
I get
the
following error messages:

/root/Installationen/Modem-536ep/intel-536-537/coredrv/coredrv.c:779:4:

warning: data definition has no type or storage class
/root/Installationen/Modem-536ep/intel-536-537/coredrv/coredrv.c:779:4:

warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’
/root/Installationen/Modem-536ep/intel-536-537/coredrv/coredrv.c:779:4:

warning: parameter names (without types) in function declaration

...

/root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:148:1:
warning: data definition has no type or storage class
/root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:148:1:
warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’
/root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:148:1:
warning: parameter names (without types) in function declaration

...

/root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c: In
function
‘linux_RSAGetExclusive’:
/root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:164:24:

error: ‘sem0’ undeclared (first use in this function)
/root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:164:24:

note:
each undeclared identifier is reported only once for each function it
appears in
/root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:168:24:

error: ‘sem1’ undeclared (first use in this function)

...

/root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c: In
function
‘linux_RSAFreeExclusive’:
/root/Installationen/Modem-536ep/intel-536-537/coredrv/locks.c:214:11:

error: ‘sem0’ undeclared (first use in this function)

...

Failed to build driver


Does anyone understand, what is happening and can help me?
Many thanks in advance

Wolfgang






--
Philippe Vouters (Fontainebleau/France)
URL: http://vouters.dyndns.org/

--
Philippe Vouters (Fontainebleau/France)
URL: http://vouters.dyndns.org/

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux