[ltp] agere soft modem-fedora

shorty linux-thinkpad@linux-thinkpad.org
Sat, 22 May 2004 14:11:34 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_00AA_01C44006.B0228410
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi. I just installed fedora on my R40 and of course the modem wasnt =
detected. I ran scanmodem, which led me to the agere soft modem, but =
there werent any rpm's for fedora , so I downloaded the source rpm. When =
I try to rpm build I get the following errors


[root@localhost SRPMS]# rpmbuild --rebuild =
ageresoftmodembeta-2.1.0-2.src.rpm
Installing ageresoftmodembeta-2.1.0-2.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.84896
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=3DC
+ export LANG
+ unset DISPLAY
+ cd /usr/src/redhat/BUILD
+ rm -rf AgereSoftModemBeta-2.1.0
+ /usr/bin/gzip -dc =
/usr/src/redhat/SOURCES/AgereSoftModemBeta-2.1.0.tar.gz
+ tar -xf -
+ STATUS=3D0
+ '[' 0 -ne 0 ']'
+ cd AgereSoftModemBeta-2.1.0
++ /usr/bin/id -u
+ '[' 0 =3D 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 =3D 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.65722
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd AgereSoftModemBeta-2.1.0
+ LANG=3DC
+ export LANG
+ unset DISPLAY
+ make all
Building Modem Controller Module for Agere Soft modem
In file included from =
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/semaphore.h:39,
from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/fs.h:202,
from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/capability.h:17,
from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/binfmts.h:4,
from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/sched.h:10,
from agrmodem.c:30:
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/system.h: In function =
`__set_64bit_var':
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/system.h:189: warning: =
dereferencing type-punned pointer will break strict-aliasing rules
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/system.h:189: warning: =
dereferencing type-punned pointer will break strict-aliasing rules
agrmodem.c: In function `x_do_gettimeofday':
agrmodem.c:198: warning: control reaches end of non-void function
agrmodem.c: In function `x_atomic_read':
agrmodem.c:311: warning: dereferencing type-punned pointer will break =
strict-aliasing rules
agrmodem.c: In function `x_atomic_set':
agrmodem.c:312: warning: dereferencing type-punned pointer will break =
strict-aliasing rules
agrmodem.c: In function `x_atomic_inc':
agrmodem.c:313: warning: dereferencing type-punned pointer will break =
strict-aliasing rules
agrmodem.c: In function `x_atomic_dec':
agrmodem.c:314: warning: dereferencing type-punned pointer will break =
strict-aliasing rules
agrmodem.c: In function `x_atomic_dec_and_test':
agrmodem.c:315: warning: dereferencing type-punned pointer will break =
strict-aliasing rules
In file included from =
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/tqueue.h:19,
from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/serialP.h:24,
from serial24.c:217:
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/system.h: In function =
`__set_64bit_var':
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/system.h:189: warning: =
dereferencing type-punned pointer will break strict-aliasing rules
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/system.h:189: warning: =
dereferencing type-punned pointer will break strict-aliasing rules
serial24.c: In function `rs_close':
serial24.c:3061: error: invalid operands to binary =3D=3D
make: *** [serial24.a] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.65722 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.65722 (%build)
[root@localhost SRPMS]#


I had another look at the agere site and it doesn't say whether it will =
work with fedora, but it does with redhat, so I was hoping that there is =
something else that I havent done that could be fixed. I have installed =
the source kernal and make dep with the old config file (several times, =
several different ways) I'm pretty sure that I have that right. Any =
suggestions appreciated.
------=_NextPart_000_00AA_01C44006.B0228410
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>Hi. I just installed fedora on my R40 =
and of course=20
the modem wasnt detected. I ran scanmodem, which led me to the agere =
soft modem,=20
but there werent any rpm's for fedora , so I downloaded the source rpm. =
When I=20
try to rpm build I get the following errors</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2>[root@localhost SRPMS]# rpmbuild =
--rebuild=20
ageresoftmodembeta-2.1.0-2.src.rpm<BR>Installing=20
ageresoftmodembeta-2.1.0-2.src.rpm<BR>Executing(%prep): /bin/sh -e=20
/var/tmp/rpm-tmp.84896<BR>+ umask 022<BR>+ cd /usr/src/redhat/BUILD<BR>+ =

LANG=3DC<BR>+ export LANG<BR>+ unset DISPLAY<BR>+ cd =
/usr/src/redhat/BUILD<BR>+ rm=20
-rf AgereSoftModemBeta-2.1.0<BR>+ /usr/bin/gzip -dc=20
/usr/src/redhat/SOURCES/AgereSoftModemBeta-2.1.0.tar.gz<BR>+ tar -xf =
-<BR>+=20
STATUS=3D0<BR>+ '[' 0 -ne 0 ']'<BR>+ cd AgereSoftModemBeta-2.1.0<BR>++ =
/usr/bin/id=20
-u<BR>+ '[' 0 =3D 0 ']'<BR>+ /bin/chown -Rhf root .<BR>++ /usr/bin/id =
-u<BR>+ '['=20
0 =3D 0 ']'<BR>+ /bin/chgrp -Rhf root .<BR>+ /bin/chmod -Rf a+rX,g-w,o-w =
<BR>+=20
exit 0<BR>Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.65722<BR>+ =
umask=20
022<BR>+ cd /usr/src/redhat/BUILD<BR>+ cd AgereSoftModemBeta-2.1.0<BR>+=20
LANG=3DC<BR>+ export LANG<BR>+ unset DISPLAY<BR>+ make all<BR>Building =
Modem=20
Controller Module for Agere Soft modem<BR>In file included from=20
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/semaphore.h:39,<BR>from=20
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/fs.h:202,<BR>from=20
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/capability.h:17,<BR>from =

/usr/src/linux-2.4.22-1.2115.nptl/include/linux/binfmts.h:4,<BR>from=20
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/sched.h:10,<BR>from=20
agrmodem.c:30:<BR>/usr/src/linux-2.4.22-1.2115.nptl/include/asm/system.h:=
 In=20
function=20
`__set_64bit_var':<BR>/usr/src/linux-2.4.22-1.2115.nptl/include/asm/syste=
m.h:189:=20
warning: dereferencing type-punned pointer will break strict-aliasing=20
rules<BR>/usr/src/linux-2.4.22-1.2115.nptl/include/asm/system.h:189: =
warning:=20
dereferencing type-punned pointer will break strict-aliasing=20
rules<BR>agrmodem.c: In function `x_do_gettimeofday':<BR>agrmodem.c:198: =

warning: control reaches end of non-void function<BR>agrmodem.c: In =
function=20
`x_atomic_read':<BR>agrmodem.c:311: warning: dereferencing type-punned =
pointer=20
will break strict-aliasing rules<BR>agrmodem.c: In function=20
`x_atomic_set':<BR>agrmodem.c:312: warning: dereferencing type-punned =
pointer=20
will break strict-aliasing rules<BR>agrmodem.c: In function=20
`x_atomic_inc':<BR>agrmodem.c:313: warning: dereferencing type-punned =
pointer=20
will break strict-aliasing rules<BR>agrmodem.c: In function=20
`x_atomic_dec':<BR>agrmodem.c:314: warning: dereferencing type-punned =
pointer=20
will break strict-aliasing rules<BR>agrmodem.c: In function=20
`x_atomic_dec_and_test':<BR>agrmodem.c:315: warning: dereferencing =
type-punned=20
pointer will break strict-aliasing rules<BR>In file included from=20
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/tqueue.h:19,<BR>from=20
/usr/src/linux-2.4.22-1.2115.nptl/include/linux/serialP.h:24,<BR>from=20
serial24.c:217:<BR>/usr/src/linux-2.4.22-1.2115.nptl/include/asm/system.h=
: In=20
function=20
`__set_64bit_var':<BR>/usr/src/linux-2.4.22-1.2115.nptl/include/asm/syste=
m.h:189:=20
warning: dereferencing type-punned pointer will break strict-aliasing=20
rules<BR>/usr/src/linux-2.4.22-1.2115.nptl/include/asm/system.h:189: =
warning:=20
dereferencing type-punned pointer will break strict-aliasing=20
rules<BR>serial24.c: In function `rs_close':<BR>serial24.c:3061: error: =
invalid=20
operands to binary =3D=3D<BR>make: *** [serial24.a] Error 1<BR>error: =
Bad exit=20
status from /var/tmp/rpm-tmp.65722 (%build)<BR><BR><BR>RPM build =
errors:<BR>Bad=20
exit status from /var/tmp/rpm-tmp.65722 (%build)<BR>[root@localhost=20
SRPMS]#</FONT><BR></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I had another look at the agere site =
and it doesn't=20
say whether it will work with fedora, but it does with redhat, so I was =
hoping=20
that there is something else that I havent done that could be fixed. I =
have=20
installed the source kernal and make dep with the old config file =
(several=20
times, several different ways) I'm pretty sure that I have that right. =
Any=20
suggestions appreciated.</FONT></DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_00AA_01C44006.B0228410--