Linux-Development-Sys Digest #270, Volume #8     Fri, 10 Nov 00 11:13:09 EST

Contents:
  Re: Software RAID ("Giampaolo Tomassoni")
  Re: vector containers in g++? (Markus Kossmann)
  Re: Is that process a thread? (George MacDonald)
  Re: Most popular Linux development environment(s)? Graphical? (George MacDonald)
  Re: Man-pages - section 9 (kernel reference guide) -- would someone (Mike Fengler)
  Re: non-portable port (Josef Moellers)
  Question about the development of Linux (Jason Lee)
  Re: What C++ compiler to use for dev if you don't want to give away     ("D. 
Stimits")
  Re: vector containers in g++? (=?iso-8859-1?Q?Andr=E9_P=F6nitz?=)
  Help! Linux router between two NT networks. (UM)
  Re: Help! Linux router between two NT networks. (David Weis)
  Re: Help! Linux router between two NT networks. (Vulcan)
  building ELF executables on NT system ("Andrew Voznytsa")
  Callback function between driver modules ??? (Sean Bose)
  Re: Kernel Mismatch Right out of the Box (Alan L. Folsom, Jr.)
  loading interdependent modules (Sean Bose)

----------------------------------------------------------------------------

From: "Giampaolo Tomassoni" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,alt.linux,comp.os.linux.misc
Subject: Re: Software RAID
Date: Fri, 10 Nov 2000 02:06:27 GMT

"Lee Allen" <[EMAIL PROTECTED]> ha scritto nel messaggio
news:[EMAIL PROTECTED]...
>
> I find that RedHat 6.2 installs, configures and syncs RAID-1 devices
> quite nicely.  On /boot and / .  I have used both the graphical
> install and kickstart.

Well, maybe I'm wrong. I'll check it.

Thanks,

--

======================================================
Giampaolo Tomassoni Information Systems Consultant
P.za 8 Aprile 1948, 4 Tel/Fax: +39-0578-21100
I-53044 Chiusi (SI)  e-mail: [EMAIL PROTECTED]
ITALY
homepage: http://www.geocities.com/Eureka/Park/2209/



------------------------------

From: Markus Kossmann <[EMAIL PROTECTED]>
Subject: Re: vector containers in g++?
Date: Fri, 10 Nov 2000 04:12:44 +0100

Christoper McClan wrote:
> 
> I'm running Mandrake 7.1, and am trying to use vector structures. I
> understand that this is possible as it is included in the STL (Standard
> Template Library). However, I don't seem to have "vector.h", I managed
> to get a copy of stl.zip from HP's web site but the include files in that
> wanted "iostream.h" which strangley I don't seem to have either...
> 
> What am I missing or doing wrong?
> 
Did you install the development package for libstdc++ ( IIRC called
libstdc++-devel) ?
It's on the 2nd CD and not installed by default.  
-- 
Markus Kossmann                                    
[EMAIL PROTECTED]

------------------------------

From: George MacDonald <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: Is that process a thread?
Date: Fri, 10 Nov 2000 03:56:53 GMT

George MacDonald wrote:
> 
> Is there an easy way to figure out if a process is a thread? I'm thinking
> about adding a new visual representation for threads in treeps. i.e.
> 
>         http://www.slip.net/~gmd/tps/treeps.htm
> 
> but need a quick way to figure out if an entry in /proc is a thread.
> 

Thanks one and all for the input, I have come to the conclusion that
there is no easy way to say conclusively that a process is a thread.

I am thinking that a useful feature would be to allow the program to
guess at what are threads by using the presence of pthreads shared lib in 
the /proc/#/maps.

I'll let the user know that the thread determination mechanism
is a guess and could be wrong. I'll probably leave thread recognition
turned off by default and make it settable via a resource/menu item.
Perhaps if the per process /proc values could be updated ata later
time to contain that info.


-- 
We stand on the shoulders of those giants who coded before.
Build a good layer, stand strong, and prepare for the next wave.
Guide those who come after you, give them your shoulder, lend them your code.
Code well and live!   - [EMAIL PROTECTED] (7th Coding Battalion)

------------------------------

From: George MacDonald <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Most popular Linux development environment(s)? Graphical?
Date: Fri, 10 Nov 2000 05:02:20 GMT

jazz wrote:
> 
> I'm thinking of switching from mac to Linux. If I did, what programming
> setup would I likely find myself using? Gnu? Is there anything with a
> graphical interface, esp. for the debugger, as in Codewarrior, where you
> see a window containg your code and you can clearly mark breakpoints and
> follow the program counter steping through your code? With windows for
> variables, stack tracing, etc.?


Just want to say that I plonked down the big bucks for the Code Fusion(CF)
product from Cygnus. I used it extensively to learn my way around a very very 
large project. It was invaluable. I also had Visual C++ available but found 
myself continually going to CF since it was faster and better at finding
symbols... It draws nice cross ref diagrams, you can navigate up/down
a call tree ... It cost a bit, but I got more than my moneys worth out
of it. I believe it's now open source as well.

It comes with a graphical debugger which I used only briefly, so can't
comment on it too much. I have also used ddd but ran into problems with it,
perhaps it was just my config... 


I would say that CF is more comprehensive than Code Warrior from my experience,
i.e. using CW for about a month of PalmOS development. 

I have also tried Symantec's java IDE, IBM's java IDE and a couple of others
and find CF to be the most useful for me. It's not as flashy, but the features
it does have made it great for what I was doing.

Most of my code work is still done in vi! I know it inside and out and 
have used it for 20+ years! I tried emacs for a while but could not get
used to all the ctrl/meta keys so switched back to vi. If you take
the time to learn the text based interface it can be highly productive.
Especially when you know the code already. I think IDE's really come
into their own when you are visiting unknown code.

I'm still waiting for an IDE that allows me to select which ifdef's are
on/off so I can read multiplatform code without doing 8 levels of
conditional evaluations... Then there is my desire for a distributed
real time building on multiplatforms with live multiuser editing!


Anyhow, hope this helps a bit








-- 
We stand on the shoulders of those giants who coded before.
Build a good layer, stand strong, and prepare for the next wave.
Guide those who come after you, give them your shoulder, lend them your code.
Code well and live!   - [EMAIL PROTECTED] (7th Coding Battalion)

------------------------------

From: Mike Fengler <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: Man-pages - section 9 (kernel reference guide) -- would someone
Date: Fri, 10 Nov 2000 07:17:37 +0100

On Thu, 9 Nov 2000, Rui Antunes wrote:

>I have RedHat 7.0 that comes without the section 9 (kernel reference
>guide) of the man-pages. Where can I find those man-pages?

http://www.linuxdoc.org/docs.html#man

- mike


------------------------------

From: Josef Moellers <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Re: non-portable port
Date: Fri, 10 Nov 2000 08:14:06 +0100

George MacDonald wrote:
> =

> Josef Moellers wrote:
> >
> > George MacDonald wrote:
[ ... ]
> > > Hey dufus, read all of my posting(and understand it) before comment=
ing. Perhaps
> >
> > Sorry, the name's Josef and I prefer to be called that way (Alternati=
ves
> > are "Herr M=F6llers", "Mr. M=F6llers", "M. M=F6llers", "M=F6llers-san=
", in
> > another context "Sensei" might be acceptable, to name but a few). I d=
id
> > use a real name in the "From" part, although umlauts are not supporte=
d.
> >
> =

> Oops, sorry for being so impolite, I must have been tired. Lack of slee=
p
> and civility due to electionitis. I must add USENET posting to the
> list(programming, playing chess, ...) of things *not* to do on 4 hr's
> sleep.

It's OK. It just brought back recollections of one Scott Nudds of
comp.lang.asm.x86 fame (a looooong story).

No problem here,

Josef "Dufus" M=F6llers B-{)

(mailed and posted)
-- =

Josef M=F6llers (Pinguinpfleger bei FSC)
        If failure had no penalty success would not be a prize (T.  Pratchett)

------------------------------

From: Jason Lee <[EMAIL PROTECTED]>
Subject: Question about the development of Linux
Date: Fri, 10 Nov 2000 02:40:13 -0500
Reply-To: [EMAIL PROTECTED]

I am doing a software engineering research project about software
development. The development of Linux especially interests me because
its development is very different from other big software projects. I
was able to find web sites about the history of Linux, but I couldn't
find much information about how the process of development of Linux is
organized. Does anybody know where I can find such information?

The following questions espectially interests me:

Is there a group of people who are mainly responsible to organize and
manage the development of Linux?

Who incorporate the new patches and new ported program into Linux (the
whole package, instead of just the kernal, i mean)? Distributors like
Redhat make the decision or their own distribution or is there some kind

of standard of what to put in?

Is their anybody or website who keep track of all the revisions of
Linux?


Who actually release the Linux kernal? Who decide if the current version
is a prerelease or an official release?

Regards,

Jason


------------------------------

Date: Fri, 10 Nov 2000 01:25:41 -0700
From: "D. Stimits" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: What C++ compiler to use for dev if you don't want to give away    

Martin von Loewis wrote:
> 
> "D. Stimits" <[EMAIL PROTECTED]> writes:
> 
> > If you directly copy someone's code into yours, then you have to follow
> > their licensing.
> 
> Sure. But you should know what "their licensing" is. From crtstuff.c:
> 
> <quote>
> In addition to the permissions in the GNU General Public License, the
> Free Software Foundation gives you unlimited permission to link the
> compiled version of this file into combinations with other programs,
> and to distribute those combinations without any restriction coming
> from the use of this file.  (The General Public License restrictions
> do apply in other respects; for example, they cover modification of
> the file, and distribution when not linked into a combine
> executable.)
> </quote>
> 
> > I have no doubts at all though that libgcc.a would be owned by the
> > same entity that created gcc/g++, just talking aloud here.
> 
> There is nothing wrong with talking aloud per se; please try to check
> the facts before you do so the next time, though.

Which facts are those? I was talking about a general way to think of
things. It never disagreed in any place with what this license says. It
even supports it. It basically says you need to read the license. If you
are saying that the file is GNU, and the license is GNU, and the
compiler in question is GNU, and that this license applies somewhere,
then we agree. Did I miss something, other than the license quote which
was irrelevant to the process?

> 
> Regards,
> Martin

------------------------------

From: =?iso-8859-1?Q?Andr=E9_P=F6nitz?= <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development
Subject: Re: vector containers in g++?
Date: 10 Nov 2000 08:58:54 GMT

Christoper McClan <[EMAIL PROTECTED]> wrote:
> I'm running Mandrake 7.1, and am trying to use vector structures. I
> understand that this is possible as it is included in the STL (Standard
> Template Library). However, I don't seem to have "vector.h", I managed
> to get a copy of stl.zip from HP's web site but the include files in that
> wanted "iostream.h" which strangley I don't seem to have either...

Just an idea: The header files required bei the C++ Standard are called
'vector' and 'iostream' (without .h). Usually there is also a .h variant
that more or less includes/links to/is related to the standard header.
Maybe Mandrake 7.1 is indeed shipping with Standard headers only.
In this case you should  try   #include <vector>  and #include <iostream>.

Andre'

-- 
André Pönitz ........................................ [EMAIL PROTECTED]

------------------------------

Subject: Help! Linux router between two NT networks.
From: [EMAIL PROTECTED] (UM)
Date: Fri, 10 Nov 2000 12:36:05 GMT

Basically I have two networks

192.168.1.0 (255.255.255.0)
and
192.168.2.0 (255.255.255.0)

Instead of buying a Cisco Router I decided to build a linux router/gateway 
to talk between these two networks. Its actually a laptop with two 3COM 
PCMCIA network cards running Mandrake 7.0.*

After reading the docs I am able to ping a computer on 2.* network from the 
1.* network.

However, I want the computers to be visible in Network Neighborhood ... ie. 
the NT domain in 2.* should be visible in the 1.* window.

What will that take ?

Thanks!!!!

uday_menon

-- 
*ps* This question is genuine and for the sake of bandwidth, only serious 
suggestions be posted instead of anal flame wars I have noticed in other 
threads.

------------------------------

From: David Weis <[EMAIL PROTECTED]>
Subject: Re: Help! Linux router between two NT networks.
Date: Fri, 10 Nov 2000 08:05:46 -0600


On Fri, 10 Nov 2000, UM wrote:
> Basically I have two networks
> 192.168.1.0 (255.255.255.0)
> 192.168.2.0 (255.255.255.0)
> Instead of buying a Cisco Router I decided to build a linux router/gateway 
> to talk between these two networks. Its actually a laptop with two 3COM 
> PCMCIA network cards running Mandrake 7.0.*
> After reading the docs I am able to ping a computer on 2.* network from the 
> 1.* network.
> However, I want the computers to be visible in Network Neighborhood ... ie. 
> the NT domain in 2.* should be visible in the 1.* window.

You will need to either run the nmbd half of samba on your laptop to be
the master browser for both wires or point all of the machines on one
network to an nt server on the other network to be the master browser.

dave

-- 
David Weis                | 10520 New York Ave, Des Moines, IA 50322
[EMAIL PROTECTED]      | Voice 515-278-0133 Ext 231
                          | http://www.perfectionlearning.com/


------------------------------

From: [EMAIL PROTECTED] (Vulcan)
Subject: Re: Help! Linux router between two NT networks.
Date: Fri, 10 Nov 2000 14:33:25 +0000 (UTC)

Thank you Dave:

Unfortunately, I dont think configuring the Linux gateway as the master 
browser is possible ... because it (and the 2.* network) is up only for a 
few hours.

I could point all the 2.* machines to an nt server on the other network to 
be the master browser ... how does one do that ? ie. how do you tell a 
machine on the 2.* network that the master browser is machine (say) 
192.168.1.1 on the other network ?

Thanks.


[EMAIL PROTECTED] (David Weis) wrote in
<[EMAIL PROTECTED]>: 

>On Fri, 10 Nov 2000, UM wrote:
>> Basically I have two networks
>> 192.168.1.0 (255.255.255.0)
>> 192.168.2.0 (255.255.255.0)
>> Instead of buying a Cisco Router I decided to build a linux
>> router/gateway to talk between these two networks. Its actually a
>> laptop with two 3COM PCMCIA network cards running Mandrake 7.0.*
>> After reading the docs I am able to ping a computer on 2.* network
>> from the 1.* network.
>> However, I want the computers to be visible in Network Neighborhood
>> ... ie. the NT domain in 2.* should be visible in the 1.* window.
>
>You will need to either run the nmbd half of samba on your laptop to be
>the master browser for both wires or point all of the machines on one
>network to an nt server on the other network to be the master browser.
>
>dave
>


------------------------------

From: "Andrew Voznytsa" <[EMAIL PROTECTED]>
Subject: building ELF executables on NT system
Date: Fri, 10 Nov 2000 16:41:24 +0200

Hi All!

I want to build ELF executables on NT systems.
Does someone know how I can do it ?

I've installed port of gcc/binutils, but these things supports only  pe-i386
target.

--

rgds,

Andrew




------------------------------

From: Sean Bose <[EMAIL PROTECTED]>
Subject: Callback function between driver modules ???
Date: Fri, 10 Nov 2000 06:43:04 -0800
Reply-To: [EMAIL PROTECTED]

Hi Friends
  Can there be callback functions which one driver module can 
register with another.  How can we ensure that the function is 
never swapped out?

thanks 
  Sean

------------------------------

Crossposted-To: linux.redhat
Subject: Re: Kernel Mismatch Right out of the Box
From: [EMAIL PROTECTED] (Alan L. Folsom, Jr.)
Date: Fri, 10 Nov 2000 14:55:26 GMT

[EMAIL PROTECTED] (Rui Antunes) wrote in
<[EMAIL PROTECTED]>: 

>On Fri, 03 Nov 2000 19:26:49 -0800, root <[EMAIL PROTECTED]> wrote:
>
>>I just purchased RedHat 7 Professional Version ( $180!!!! ) I figured
>>I'd bite the bullet, not get the $30 or the $60 version.
>>
>>Enough already. I install the damn thing and when I recompile my device
>>drivers from scratch, I get a
>>Kernel Mismatch warning error during installation. Saying the driver
>>was compiled for 2.2.16-22 and this kernel is 2.4.something.
. 
. 
. 
>I had the same problem. I first thought that it was a bug - however I
>found that if you use the directory /usr/src/linux/include instead of
>the usual /usr/include (as your include directory: 
>CFLAGS = -I$(INCLUDE_DIRECTORY) that error vanished! (I still get a
>warning about the assembler changing attributes in .modinfo or
>something...)
>
>          Rui Antunes

I have the same problem - changing the include to that directory
generated a ton of warnings, and there are no actual .h files there, so I
suspect that's a problem. 

I also get about ten unresolved symbols when I try to load the driver,
including such things as __release_region, __check_region,
tasklet_hi_vec, bh_task_vec, __request_region, irq_stat, and
ioport_resource.  Could this be related to the version mismatch? 

I, too, am getting frustrated.  I developed the driver under RedHat 6.1,
and while it worked on the customer's 6.2, it couldn't rebuild.  I didn't
have 6.2, so installed 7.0, and now all hell's broken loose, version
mismatches, missing kernel symbols, and I still can't test it... 

Thanks for any help.

Al Folsom
 
========================================================
Alan L. Folsom, Jr.                

  "Before you criticize someone walk a mile in his 
   shoes.  That way if he gets angry he'll be a mile 
   away -- and barefoot."
=========================================================

------------------------------

From: Sean Bose <[EMAIL PROTECTED]>
Subject: loading interdependent modules
Date: Fri, 10 Nov 2000 07:13:04 -0800
Reply-To: [EMAIL PROTECTED]

Hi Friends
  I have two driver modules which uses exported symbols from 
each other.  When I try to load using insmod, it fails, as when 
the first module is getting loaded it cannot find the symbols 
which are exported by the second module.  Is there any way I can 
load these mutually dependent modules into the kernel.

thanks
  Sean

------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.development.system) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Development-System Digest
******************************

Reply via email to