ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Arcady V. Ivanov" <arc@help0.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Lucent WinModem
Date: Fri, 23 May 2003 14:45:43 +1300
Message-ID: <3ECD7D47.9070909@help0.ru> (raw)
In-Reply-To: <1943020434.20030522190124@ats32.ru>

Wanderer@ats32.ru пишет:

>Мы скоро умрём   ][-plod,
>
>Thursday, May 22, 2003, 1:43:03 PM, you wrote:
>
>p> Здравствуйте, Wanderer.
>
>p> Вы писали 22 мая 2003 г., 7:53:07:
>
>War>> Мы скоро умрём   Arcady,
>
>War>> Thursday, May 22, 2003, 8:46:29 AM, you wrote:
>
>AVI>>> Wanderer@ats32.ru пишет:
>
>  
>
>>>>>Мы скоро умрём  Community,
>>>>>
>>>>> Genius 56PCI-LA Полное название. На чипе Lucent.
>>>>> Немогу найти драйвера под ALT Linux Master 2.2 .
>>>>> Кто что знает посоветуйте пожалста.
>>>>>
>>>>> 
>>>>>
>>>>>          
>>>>>
>AVI>>> http://www.help0.ru/Free/Linux-server/ltmodem/
>
>
>War>> При компиилирование жалуется на то что в файле itmodem.с и что то в
>War>> этом роде.
>War>> Itmodem.c:251 strucuture has no member named 'subsystem_device'
>War>> Itmodem.c:303 'PCI_Region_Flag_Mask'Undeclared (first use in this
>War>> function)
>War>> Warning: implicit declaration of function'intermodule_put_R6b99f7d8
>War>> И подобных ошибок очень много. Из за чего такое может быть.
>War>> В хелпе написано что нуже gcc2.96 поставил . gcc3.22 удали. Но
>War>> всеравно такая же ерунда. В чем может быть делО ?
>
>
>p> какое у тебя ядро?
>p> давай мейл скину дрова в rpm под алт
>
>2.4.20 alt-2.
>

Явные проблемы с include-файлами.

Действия:
1. убрать в сторону текущий /usr/src/linux
2. установить правильные kernel-headers
3. повторить установку

Поскольку мне часто приходится встраивать в Alt Master
такие модемы, кое-что автоматизировал скриптом. Думаю, сами его 
подправите под себя.
Надо править путь к исходникам и версию headres.


    echo "****** LTmodem ********"
    cd /tmp
    apt-get --yes install gcc2.96 ; if [ $? != 0 ] ; then echo "GCC 
install failed"; exit 1; fi
    select-gcc 2.96 ; if [ $? != 0 ] ; then echo "GCC 2.96 select 
failed"; exit 1; fi
   
    apt-get install kernel24-headers ;   if [ $? != 0 ] ; then echo 
"Kernel headers install failed"; exit 1; fi
    if [ -f /usr/src/linux ]
    then
        rm -rf /usr/src/linux.orig
        mv /usr/src/linux /usr/src/linux.orig
    fi
   
    if [ ! -x /usr/src/linux/include ]
    then
        ln -s /usr/lib/kernel/2.4.20-alt7 /usr/src/linux ;   if [ $? != 
0 ] ; then echo "Link of headers to /usr/src/ failed"; exit 1; fi
    fi

    ver=ltmodem-8.26a9
    cp /CDs/Unix/Soft0/LTmodem/$ver.tar.gz .    ;  if [ $? != 0 ] ; then 
echo "copy failed"; exit 1; fi
    tar xvfz $ver.tar.gz                        ;  if [ $? != 0 ] ; then 
echo "untar failed"; exit 1; fi
   
    cd $ver
    ./build_module                              ;  if [ $? != 0 ] ; then 
echo "build_module failed"; exit 1; fi
    ./ltinst2                                   ;  if [ $? != 0 ] ; then 
echo "ltints2 failed"; exit 1; fi

    #
    #
    #
    F=source/autoload
    if [ ! -f $F.orig ] ; then mv $F $F.orig; fi ; if [ $? != 0 ] ; then 
echo "$F.orig creation failed" ; fi
    sed -e "s/sleep3/sleep\ 3/" $F.orig >$F ; if [ $? != 0 ] ; then echo 
"sed failed" ; fi
    chmod 755 $F
   
    ./autoload                                  ;  if [ $? != 0 ] ; then 
echo "autoload failed"; exit 1; fi
 



-- 
SY. Arcady. mailto:arc@help0.ru, WWW - http://www.help0.ru, Instant messenger : arc@jabber.ru





  reply	other threads:[~2003-05-23  1:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-22  2:39 Wanderer@ats32.ru
2003-05-22  0:46 ` Arcady V. Ivanov
2003-05-22  4:53   ` Re[2]: " Wanderer@ats32.ru
2003-05-22  5:43     ` Re[3]: " ][-plod
2003-05-22 11:01       ` Re[4]: " Wanderer@ats32.ru
2003-05-23  1:45         ` Arcady V. Ivanov [this message]
2003-05-22  7:58     ` Arcady V. Ivanov
2003-05-22 10:58       ` Re[2]: " Wanderer@ats32.ru
2003-05-22 20:41 ` Vitaly Lipatov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3ECD7D47.9070909@help0.ru \
    --to=arc@help0.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git