bvc Posted February 1, 2004 Report Share Posted February 1, 2004 (edited) k, I'm bored so here goes.... :D [root@localhost root]# rpm -qa | grep rpmrpm-4.2.2-3mdk urpmi-4.4.2-1mdk rpm-helper-0.9.1-1mdk rpmtools-4.5-18mdk rpmdrake-2.1.2-1mdk gurpmi-4.4.2-1mdk [root@localhost root]# urpmi rpm-build One of the following packages is needed: 1- automake-1.4-23.p6.mdk.noarch 2- automake1.7-1.7.9-1mdk.noarch 3- automake1.6-1.6.3-1mdk.noarch What is your choice? (1-3) 2 To satisfy dependencies, the following packages are going to be installed (15 MB): autoconf2.5-2.59-3mdk.noarch automake1.7-1.7.9-1mdk.noarch gcc-c++-3.3.2-4mdk.i586 libstdc++5-devel-3.3.2-4mdk.i586 rpm-build-4.2.2-3mdk.i586 spec-helper-0.10-1mdk.noarch Is this OK? (Y/n) Y so I got everything installed and moved the src.rpm to the srpms directory (you can do it from anywhere though) [root@localhost root]# ls /usr/src/RPM/SRPMS hsflinmodem-5.03.27mbsibeta02122600-1.src.rpm* [root@localhost root]# cd /usr/src/RPM/SRPMS [root@localhost SRPMS]# rpmbuild --rebuild hsflinmodem-5.03.27mbsibeta02122600-1.src.rpm then I got an error and fixed it but you shouldn't have this problem Is the kernel-source package installed? KERNELSRC does not point to a proper directory (/lib/modules/2.6.2-0.rc2.1mdk/build). Stop.make: *** [install] Error 2 [root@localhost SRPMS]# ls /lib/modules/2.6.2-0.rc2.1mdk/ build@ modules.ccwmap modules.ieee1394map modules.pcimap kernel/ modules.dep modules.inputmap modules.symbols modules.alias modules.description modules.isapnpmap modules.usbmap [root@localhost SRPMS]# file /lib/modules/2.6.2-0.rc2.1mdk/build /lib/modules/2.6.2-0.rc2.1mdk/build: broken symbolic link to `/usr/src/linux-2.6.1-1mdk' [root@localhost SRPMS]# ls /usr/src/ linux@ linux-2.6.2-0.rc2.2mdk/ RPM/ [root@localhost SRPMS]# rm -f /lib/modules/2.6.2-0.rc2.1mdk/build [root@localhost SRPMS]# ln -s /usr/src/linux-2.6.2-0.rc2.2mdk /lib/modules/2.6.2-0.rc2.1mdk/build [root@localhost SRPMS]# file /lib/modules/2.6.2-0.rc2.1mdk/build /lib/modules/2.6.2-0.rc2.1mdk/build: symbolic link to `/usr/src/linux-2.6.2-0.rc2.2mdk/' [root@localhost SRPMS]# try again [root@localhost SRPMS]# rpmbuild --rebuild hsflinmodem-5.03.27mbsibeta02122600-1.src.rpm Installing hsflinmodem-5.03.27mbsibeta02122600-1.src.rpm warning: user marc does not exist - using root Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.69532 + umask 022 + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf hsflinmodem-5.03.27mbsibeta02122600 + /usr/bin/gzip -dc /usr/src/RPM/SOURCES/hsflinmodem-5.03.27mbsibeta02122600.tar.gz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd hsflinmodem-5.03.27mbsibeta02122600 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.69532 + umask 022 + cd /usr/src/RPM/BUILD + cd hsflinmodem-5.03.27mbsibeta02122600 + make --quiet --no-print-directory all + cp /usr/src/RPM/SOURCES/100498D_RM_HxF_Released.pdf . + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5205 + umask 022 + cd /usr/src/RPM/BUILD + cd hsflinmodem-5.03.27mbsibeta02122600 + rm -rf /var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root + make --quiet --no-print-directory ROOT=/var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root install ../modules/kernelcompiler.sh: unable to find compiler matching /proc/version: ../modules/kernelcompiler.sh: gcc version 2.96 ../modules/kernelcompiler.sh: set CC variable manually in modules/common.mak 4069 blocks 674 blocks 0 blocks To complete the installation and configuration of your HSF modem, please run "hsfconfig" (or "/var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root/usr/sbin/hsfconfig") + /usr/lib/rpm/brp-mandrake Cleaning files...done Compressing files...done Stripping files...done Relativisation of symlinks...done Clean perl...done Building libraries symlinks...done Processing files: hsflinmodem-5.03.27mbsibeta02122600-1 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.43737 + umask 022 + cd /usr/src/RPM/BUILD + cd hsflinmodem-5.03.27mbsibeta02122600 + DOCDIR=/var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root/usr/share/doc/hsflinmodem-5.03.27mbsibeta02122600 + export DOCDIR + rm -rf /var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root/usr/share/doc/hsflinmodem-5.03.27mbsibeta02122600 + /bin/mkdir -p /var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root/usr/share/doc/hsflinmodem-5.03.27mbsibeta02122600 + cp -pr BUGS CHANGES CREDITS FAQ INSTALL LICENSE README /var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root/usr/share/doc/hsflinmodem-5.03.27mbsibeta02122600 + exit 0 Finding Provides: /usr/lib/rpm/filter.sh ' ' /usr/lib/rpm/find-provides Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires: pciutils Processing files: hsflinmodem-doc-5.03.27mbsibeta02122600-1 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.43737 + umask 022 + cd /usr/src/RPM/BUILD + cd hsflinmodem-5.03.27mbsibeta02122600 + DOCDIR=/var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root/usr/share/doc/hsflinmodem-doc-5.03.27mbsibeta02122600 + export DOCDIR + rm -rf /var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root/usr/share/doc/hsflinmodem-doc-5.03.27mbsibeta02122600 + /bin/mkdir -p /var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root/usr/share/doc/hsflinmodem-doc-5.03.27mbsibeta02122600 + cp -pr 100498D_RM_HxF_Released.pdf /var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root/usr/share/doc/hsflinmodem-doc-5.03.27mbsibeta02122600 + exit 0 Finding Provides: /usr/lib/rpm/filter.sh ' ' /usr/lib/rpm/find-provides Using BuildRoot: /var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root to search libs Finding Requires: /usr/lib/rpm/filter.sh ' ' /usr/lib/rpm/find-requires /var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root i586 Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root Wrote: /usr/src/RPM/RPMS/i586/hsflinmodem-5.03.27mbsibeta02122600-1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/hsflinmodem-doc-5.03.27mbsibeta02122600-1.i586.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.55686 + umask 022 + cd /usr/src/RPM/BUILD + cd hsflinmodem-5.03.27mbsibeta02122600 + rm -rf /var/tmp/hsflinmodem-5.03.27mbsibeta02122600-root + exit 0 Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.55686 + umask 022 + cd /usr/src/RPM/BUILD + rm -rf hsflinmodem-5.03.27mbsibeta02122600 + exit 0 [root@localhost SRPMS]# SEE? Wrote: /usr/src/RPM/RPMS/i586/hsflinmodem-5.03.27mbsibeta02122600-1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/hsflinmodem-doc-5.03.27mbsibeta02122600-1.i586.rpm so now all that's left is rpm -ivh /usr/src/RPM/RPMS/i586/hsflinmodem-5.03.27mbsibeta02122600-1.i586.rpm if you want the docs rpm -ivh /usr/src/RPM/RPMS/i586/hsflinmodem-doc-5.03.27mbsibeta02122600-1.i586.rpm then run hsfconfig Edited February 1, 2004 by bvc Quote Link to comment Share on other sites More sharing options...
bvc Posted February 1, 2004 Report Share Posted February 1, 2004 http://www.mandrakeusers.org/index.php?act...indpost&p=82284 Thread about where the drivers are. Quote Link to comment Share on other sites More sharing options...
Wandera Posted February 2, 2004 Author Report Share Posted February 2, 2004 Wow, full credit to bvc !!! you are an amazing helper!! I actually got as far as you've gotten up to just roaming around installing and changing required things and the problem came down to when i ran "hsfconfig" I configured the settings as such and came to the point where i had to enter the kernel source build directory, yea? well........ i "think" the link i have it was right, /usr/src/linux-2.4.22-10mdk/ because the actual build directory was linked dynamically from the /lib directory to only get an error message installation failed, check the log to determine why and the log went onto talk about osspec files and the problem if i recollect was associated with [mod_ospec.c] i "think" or something along those lines with a short message before it saying: -something-something- : Character missing **** Cheers. Quote Link to comment Share on other sites More sharing options...
bvc Posted February 2, 2004 Report Share Posted February 2, 2004 hmmm....can't recall it ever asking for that. Did you try to just hit enter?....or did it ask because it couldn't find it? Try to post the exact errors, and/or try to give it these... /usr/src/linux /usr/src/linux/include /lib/modules/2.4.22-10mdk/build if the build symlink doesn't exist then create it as I did above. Probably ln -s /usr/src/linux-2.4.22-10mdk/ /lib/modules/2.4.22-10mdk/build Quote Link to comment Share on other sites More sharing options...
bvc Posted February 3, 2004 Report Share Posted February 3, 2004 Did ya get it? I could always build it an email it to ya. What's your arch? i586 ok? Let me know. You can PM me as well. Quote Link to comment Share on other sites More sharing options...
Wandera Posted February 4, 2004 Author Report Share Posted February 4, 2004 Ok heres what happened..... and before i start, Thanks again!!!! I had a look at the source in oscapat.h because the error log was giving missing terminating " character:274:5 missing terminating " character:320:1 of that file i checked out the lines and they begun like this asm(" /* this is line 274 btw. */ and ended like this ") /* and this was line 320 */ so i simply deleted the " characters, and re-ran the hsfconfig, giving a source path of: /usr/src/linux-2.4.22-10mdk and it worked!!! apparently so it finished by saying: re-compilation succeeded, HSF Winmodem Installed Modem is accessible through /dev/ttysHSF0 or something like that. so i go into HardDrake and have it auto detect modems and i get this: --- Modem Modem PCI Conexant HSFi modem or something like that i was wondering why there was " Modem " there aswell???? and when i open the network config in the control center the device used is: Modem and yet still the same thing happens upon launching the Wizard.... I use expert mode and it cant detect a Winmodem if i choose that type I use Autodetection and it says the Winmodem isnt supported after detecting it I use the methods and choose Normal modem, and it still doesnt work?? Im assuming, trying out wvdial wouldnt be a bad option bvc?? Thats all the info i have now Thanks for your time im making amazing progress!! B) Quote Link to comment Share on other sites More sharing options...
bvc Posted February 4, 2004 Report Share Posted February 4, 2004 Great job on making it build, I hope.....if you have probs, you'll know why. remember? Regardless, you'll find the modem setup in the mandrake control center will say it's not connecting even with everything configured correctly. Just wait another minute, ignore the messages and see if it connects. Also try kppp. Install the kdenetwork-kppp rpm and run kppp in a terminal if it does not show up in the menu. ......... Oh, if I remember rt the /dev/modem symlink will point to /dev/ttyHSF0. Find out with the commandfile /dev/modem Remember it is not suppose to work with linux, so it's a weird tty not a real hardware tty. So, you can for get harddrake in fact stay away from it because it is probably why the modem was busy. Harddrake doesn't know what to do with it. Heh, I usually uninstall it but it has improved and is good for some things now, I guess. Make sure /dev/modem exist! Drakconnect/kppp must have it. Just open kppp and go to setup or whatever, and point it to /dev/modem. I loved wvdial. There are many post about it on the board some of which are for the conexant and many have config info from me, or in fact my old /etc/wvdial.conf file. You can give it a shot but it could be even more frustrating. Looks like you're not afraid to edit stuff though Hint: point wvdial to /dev/ttySHSF0 and not /dev/modem. If /dev/modem exist and is correctly pointing to /dev/ttySHSF0 then you're ok but why mess with a symlink if wvdial can go straight to ttySHSF0? RT? ....and you're welcome! Quote Link to comment Share on other sites More sharing options...
Wandera Posted February 16, 2004 Author Report Share Posted February 16, 2004 Guess where this post is coming from fellows..... My working connection of a HSF pci Conexant Volcano CARP softmodem MUHAHAH!!! :P :D :P :D I re-installed the drivers, used drakconnect and selected these options: Expert Mode > Normal Modem Connection > /ttyHSF0 COM1> Configured my ISP connection settings Then i applied the settings, chose not to connect now... logged out and restarded the X server.... went into drakconnect, clicked "Connect"... and SUDDENLY!!! I hear my modem start ringing in, it never got that far before.. and here i ma 45mins into my new Linux career.... Thanks Guys!!! THANKS ALOT!!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.