LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Fedora 7 lacking gcc (https://www.linuxquestions.org/questions/fedora-35/fedora-7-lacking-gcc-568536/)

Junior Hacker 07-13-2007 07:01 PM

eternicode
I think it sounds like the installation went swell, now you need to configure a dialer, I only use KDE, but I think Gnome has a "gnome ppp dialer" or similar. A good graphical dialer in KDE is "kppp", accessible via the main menu under internet.
In Windows it's similar, you have to go through Internet and network in the Control panel to configure the dialer. Not sure which one you have installed, which desktop manager you're using. You can also install wvdial which is a very proficient command line dialer, information regarding installing and using wvdial is in a testing.txt file or similar in the Modem folder containing all those documents.

gusix
I think all your compiling packages are indeed installed, I usually only compile modem and graphics modules which is all taken care of by a script. I've never dived into the "Hello world" thing. So....it's out of my league.

eternicode 07-13-2007 07:30 PM

good grief...

Alright, since my last response I have installed Wine and attempted to run AOL9.0 from my Windows Drive. Needless to say...it didn't work. But now slmodemd can't mount the modem...even if I do the two modprobe lines, then run the slmodemd line, I get an error:

Code:

error: mdm setup: cannot stat 'dev/slamr0': No such file or directory
error: cannot setup devic '/dev/slamr0'

btw, I'm on a gnome desktop.

Junior Hacker 07-13-2007 08:31 PM

I'm not sure what you all did to get where you're at, it may be necessary to visit the linmodems forum (to which there is a link to it on the first page), and find a tread similar to yours to compare. The email you sent in with the modemdata.txt should also be in the forums, whatever transpires in your case will be available for others in the future stumbling on the same blocks as you.

Junior Hacker 07-13-2007 08:32 PM

Sorry! it's the archives you want to check, not the forums.

Simon Bridge 07-13-2007 09:34 PM

eternicode:

slmodemd -c YOUR_COUNTRY /dev/slamr0
... add this command to your startup programs, or at the end of /etc/rc.local

For immediate effect, adding a trailing "&" will run the process in the background, giving you a command prompt back:

slmodemd -c YOUR_COUNTRY /dev/slamr0 &

Fedoras Network Device Control should be able to dial just fine. Or use wvdial directly.

Simon Bridge 07-13-2007 09:43 PM

Quote:

Originally Posted by gusix
Hello,
please I would like to get some tips about "gcc" NOT working in a my recently installed FC7.

My first problem is that I cannot compile C-code (e.g., when trying to compile the basic "Hello" example, I get: hello.c: In function ‘main’:
hello.c:3: warning: incompatible implicit declaration of built-in function ‘printf’).

Output uname -a
What version of gcc?
What is the command you use to compile?

The message reported is a warning... the resulting binary should work if there were no actual errors terminating the compile. So, what do you mean by: "gcc not working"?

Note... the thread is about installing gcc to fedora 7. Your post is about difficulty compiling. Start another thread and post the link in your reply to this post.

eternicode 07-13-2007 11:03 PM

Well, I searched google with portions of my error messages, and the only (usable) solution was to use ungrab-winmodem....which I'm already using :p So I think I'll try a reinstall..and this time I know (somewhat) what I'm doing :D

And thanks for all you guys's help :D

:study:
-EC

<EDIT> Additional info:

Errors:
Code:

[Rowls@localhost ~]$ su
Password:
[root@localhost Rowls]# /sbin/modprobe ungrab-winmodem
[root@localhost Rowls]# /sbin/modprobe slamr
[root@localhost Rowls]# /usr/sbin/slmodemd -c USA /dev/slamr0
error: mdm setup: cannot stat `/dev/slamr0': No such file or directory
error: cannot setup device `/dev/slamr0'
[root@localhost Rowls]# dmesg | grep slamr
slamr: module license 'Smart Link Ltd.' taints kernel.
slamr: SmartLink AMRMO modem.
slamr: device 163c:3052 is grabbed by another driver
slamr: SmartLink AMRMO modem.
slamr: probe 163c:3052 SL1900 card...
slamr: slamr0 is SL1900 card.
[root@localhost Rowls]#

Google searches:
"cannot stat 'dev/slamr0'"
"cannot * 'dev/slamr0'"
"cannot * 'dev/slamr0'" smartlink

Problem specifically addressed at http://linmodems.technion.ac.il/slmodem-serial.html


All times are GMT -5. The time now is 10:54 AM.