Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Blogs
User Name



compiling with pro*c in linux

Posted 08-05-2009 at 03:04 AM by eljuventino

Originally Posted by johnsfine View Post
It appears that some of the code you are trying to compile is C++ code in files with .c extensions.

That explains why you had a problem with bool which is built into C++ but can't be used in C without having a typedef for it. It also explains why you have a failure with extern "C" which is valid C++ code but meaningless in C.

That CODE=CPP thing sounds like it is intended to deal with that (tell the compiler to ignore the .c extension and process C++ code).
LQ Newbie
Posted in Uncategorized
Views 869 Comments 0 eljuventino is offline

SDLT320 driver configuration in RHEL4

Posted 08-05-2009 at 12:39 AM by viral_Ahire

I want to configure HP SDLT320 drive in RHEL4 server.

I have attached the same in server but it is not showing in linux,

device file /dev/st0 file not found ,also
cat /proc/scsi/scsi not showing device information.

Please help to resolve this problem....

Viral Ahire
LQ Newbie
Posted in Uncategorized
Views 841 Comments 0 viral_Ahire is offline

Slackware pre- and post-installation routine...

Posted 08-04-2009 at 02:34 PM by Lufbery (The Slacker's Blog)
Updated 11-07-2010 at 08:02 PM by Lufbery

Slackware is a great Linux distribution. It is fast, stable, and easily maintained. It is also easy to customize to users' tastes, which is a good thing because a certain amount of customization is necessary for a fully useful installation.

That's not because Slackware is somehow "incomplete," its maintainers simply refuse to monkey (much) with the upstream products that go into the distribution. So, for example, there's a bug in the coreutils utility that results in the...
Senior Member
Posted in Uncategorized
Views 941 Comments 0 Lufbery is offline

chnage the default openSUSE hostname

Posted 08-04-2009 at 05:07 AM by theacerguy

hi all,
if you hate that the suse installer called your pc linux-sqj4 or something then here is how to change it!
1) bring up a terminal
2)su to become root
3)vi /etc/HOSTNAME
4)change the bit before .site to whatever your new hosname will be by pressing i then deleting the bit that says linux-(random sequence)
5) esc :wq to quit and save
6) reboot!
note i used vi but you can use any editor if you do alt+f2 then kdesu kwrite /etc/Hostname then...
Posted in Uncategorized
Views 1573 Comments 0 theacerguy is offline

udev and network devices

Posted 08-03-2009 at 06:57 AM by stureedy

After all these years, I finally figured out how to configure udev to load my network devices in the correct order.

In the past I compiled my own kernels and could force the card I wanted to be eth0 by compiling it into the kernel, then loading the card I wanted as eth1 as a module. This worked well. Of course, udev provides a "better" way, and now that it's five years old, I finally decided to learn it!

As with most things Linux, it was easy to do, once...
Posted in Uncategorized
Views 2648 Comments 0 stureedy is offline


All times are GMT -5. The time now is 04:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration