RE: SOS! Why there are so many redefinitions?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




It seems that the problem is caused by the difference between RH8.0 and RH7.2, I will try it under RH7.2 later.

>Send Redhat-devel-list mailing list submissions to
>	redhat-devel-list@redhat.com
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	https://listman.redhat.com/mailman/listinfo/redhat-devel-list
>or, via email, send a message with subject or body 'help' to
>	redhat-devel-list-request@redhat.com
>
>You can reach the person managing the list at
>	redhat-devel-list-admin@redhat.com
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Redhat-devel-list digest..."
>
>
>Today's Topics:
>
>   1. Re: thread save mysql client... (James Olin Oden)
>   2. RE: SOS! Why there are so many redefinitions? (Matthews, John) (Jiangbo)
>
>Message: 1
>Return-Path: <mail@redhat.com>
>Delivered-To: redhat-devel-list@listman.redhat.com
>From: James Olin Oden <joden@lee.k12.nc.us>
>Message-Id: <200211081743.gA8HhBb12344@lee.k12.nc.us>
>Subject: Re: thread save mysql client...
>To: redhat-devel-list@redhat.com
>Date: Fri, 8 Nov 2002 12:43:11 -0500 (EST)
>In-Reply-To: <3DC6D6D5.9090202@voicenet.com> from "Uncle George" at Nov 04, 2002 03:21:41 PM
>MIME-Version: 1.0
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>Sender: redhat-devel-list-admin@redhat.com
>Precedence: bulk
>Reply-To: redhat-devel-list@redhat.com
>List-Help: <mailto:redhat-devel-list-request@redhat.com?subject=help>
>List-Post: <mailto:redhat-devel-list@redhat.com>
>List-Subscribe: <https://listman.redhat.com/mailman/listinfo/redhat-devel-list>,
>	<mailto:redhat-devel-list-request@redhat.com?subject=subscribe>
>List-Id: Red Hat developer's list <redhat-devel-list.redhat.com>
>List-Unsubscribe: <https://listman.redhat.com/mailman/listinfo/redhat-devel-list>,
>	<mailto:redhat-devel-list-request@redhat.com?subject=unsubscribe>
>List-Archive: <https://listman.redhat.com/mailman/private/redhat-devel-list/>
>
>> 
>> maybe a better place would be the mysql folks. Theymight be able to tell 
>> you if the default configuration under Linux is with threads ( server & 
>> client ). And if there is a choice, how can one tell what one has.
>> If they cant tellwhat u have, then maybe a build would be good for your 
>> state of mind.
>>
>I actually have already spoken with them.  Their word is that one must
>use libmysqlclient_r, but I find that the RedHat built mysql does not
>provide this.  So what I wanted to know was the RedHat build actually
>thread safe due to a patch of some kind, or if it indeed was just not 
>thread safe.  In short I wanted RedHat's oppinion and those who use 
>RedHat's mysql build's opinion.
>
>Cheers....james
>
>
>
>
>Message: 2
>Return-Path: <mail@redhat.com>
>Delivered-To: redhat-devel-list@listman.redhat.com
>Message-Id: <200211090134.gA91Ypw16034@mx1.redhat.com>
>Date: Sat, 9 Nov 2002 9:57:44 +0800
>From: Jiangbo <pirate@vip.sina.com>
>To: "redhat-devel-list@redhat.com" <redhat-devel-list@redhat.com>
>Subject: RE: SOS! Why there are so many redefinitions? (Matthews, John)
>Mime-Version: 1.0
>Content-Type: text/plain;
>      charset="GB2312"
>Content-Transfer-Encoding: 8bit
>Sender: redhat-devel-list-admin@redhat.com
>Precedence: bulk
>Reply-To: redhat-devel-list@redhat.com
>List-Help: <mailto:redhat-devel-list-request@redhat.com?subject=help>
>List-Post: <mailto:redhat-devel-list@redhat.com>
>List-Subscribe: <https://listman.redhat.com/mailman/listinfo/redhat-devel-list>,
>	<mailto:redhat-devel-list-request@redhat.com?subject=subscribe>
>List-Id: Red Hat developer's list <redhat-devel-list.redhat.com>
>List-Unsubscribe: <https://listman.redhat.com/mailman/listinfo/redhat-devel-list>,
>	<mailto:redhat-devel-list-request@redhat.com?subject=unsubscribe>
>List-Archive: <https://listman.redhat.com/mailman/private/redhat-devel-list/>
>
>
>Dear John Matthews,
>
>In fact, I just want to use nf_register_hook() and nf_register_queue_handler() to register some of my functions as hooks, so that I can check the IP packets and decide whether I should accept them or not.
>
>Do you have some examples about netfilter? Please send me one, thank you.
>
>>Send Redhat-devel-list mailing list submissions to
>>	redhat-devel-list@redhat.com
>>
>>To subscribe or unsubscribe via the World Wide Web, visit
>>	https://listman.redhat.com/mailman/listinfo/redhat-devel-list
>>or, via email, send a message with subject or body 'help' to
>>	redhat-devel-list-request@redhat.com
>>
>>You can reach the person managing the list at
>>	redhat-devel-list-admin@redhat.com
>>
>>When replying, please edit your Subject line so it is more specific
>>than "Re: Contents of Redhat-devel-list digest..."
>>
>>
>>Today's Topics:
>>
>>   1. RE: SOS! Why there are so many redefinitions? (Matthews, John)
>>
>>Message: 1
>>Return-Path: <mail@redhat.com>
>>Delivered-To: redhat-devel-list@listman.redhat.com
>>Message-ID: <322F2EC32FDED4118A9B00902745F5DF266701@lio.aacisd.com>
>>From: "Matthews, John" <JMatthews@LIO.AACISD.com>
>>To: "'redhat-devel-list@redhat.com'" <redhat-devel-list@redhat.com>
>>Subject: RE: SOS! Why there are so many redefinitions?
>>Date: Thu, 7 Nov 2002 16:41:31 -0500 
>>MIME-Version: 1.0
>>Content-Type: text/plain;
>>	charset="gb2312"
>>Content-Transfer-Encoding: 8bit
>>Sender: redhat-devel-list-admin@redhat.com
>>Precedence: bulk
>>Reply-To: redhat-devel-list@redhat.com
>>List-Help: <mailto:redhat-devel-list-request@redhat.com?subject=help>
>>List-Post: <mailto:redhat-devel-list@redhat.com>
>>List-Subscribe: <https://listman.redhat.com/mailman/listinfo/redhat-devel-list>,
>>	<mailto:redhat-devel-list-request@redhat.com?subject=subscribe>
>>List-Id: Red Hat developer's list <redhat-devel-list.redhat.com>
>>List-Unsubscribe: <https://listman.redhat.com/mailman/listinfo/redhat-devel-list>,
>>	<mailto:redhat-devel-list-request@redhat.com?subject=unsubscribe>
>>List-Archive: <https://listman.redhat.com/mailman/private/redhat-devel-list/>
>>
>>	It's been a year since I've done work with netfilter, but I was
>>under the assumption "skbuff" was more on the kernel side.  I'm not sure if
>>it's something you want to play around with in user space.  I assume your
>>receiving the redefinition errors because you are now redefining some
>>structures with kernel space definitions.
>>
>>	What are your plans for including netfilter into your program?  Do
>>you need to access it's kernel side implementation, or would it be
>>sufficient to manipulate it through user space calls?  
>>
>>-John Matthews
>>
>>
>>
>>-----Original Message-----
>>From: Jiangbo [mailto:pirate@vip.sina.com]
>>Sent: Thursday, November 07, 2002 8:35 AM
>>To: redhat-devel-list@redhat.com
>>Subject: SOS! Why there are so many redefinitions?
>>
>>
>>Hi, all,
>>
>>	I am a tyro to the Linux. Recently a problem hits me. I am writing a
>>simple IDS,
>>and I am going to use netfilter in my program. Unfortunately, when I add
>>"#include <linux/skbuff.h>" to the head file, I get lots of redefinition
>>errors, like this: "/usr/include/linux/xxxx.h:22: redefinition of `struct
>>xx', /usr/include/bits/xxxx.h:310: previous definition of `struct xx'".
>>
>>	The following are head files that have been included:
>>////////////////////////////
>>#include <netinet/in.h>
>>#include <netinet/ip.h>
>>#include <netinet/tcp.h>
>>#include <netinet/udp.h>
>>#include <netinet/ip_icmp.h>
>>#include <netinet/if_ether.h>
>>
>>#include <string.h>
>>#include <stdlib.h>
>>#include <stdio.h>
>>#include <signal.h>
>>#include <unistd.h>
>>
>>#include <sys/types.h>
>>#include <sys/socket.h>
>>#include <sys/ioctl.h>
>>#include <linux/sockios.h>
>>#include <linux/if.h>
>>////////////////////////////
>>
>>	Would you please give me a hand?
>>	Thank you very much.
>>
>> 				
>>							Yours truely,
>>¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡	¡¡¡¡¡¡¡¡Jiangbo
>>¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡pirate@vip.sina.com
>>¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2002-11-07
>>
>>
>>
>>_______________________________________________
>>Redhat-devel-list mailing list
>>Redhat-devel-list@redhat.com
>>https://listman.redhat.com/mailman/listinfo/redhat-devel-list
>>
>>
>>
>>
>>
>>
>>_______________________________________________
>>Redhat-devel-list mailing list
>>Redhat-devel-list@redhat.com
>>https://listman.redhat.com/mailman/listinfo/redhat-devel-list
>
>= = = = = = = = = = = = = = = = = = = =
>			
>
>                    ÖÂ
>Àñ£¡
>				 
>               Jiangbo
>               pirate@vip.sina.com
>					2002-11-09 
>
>
>
>
>
>
>_______________________________________________
>Redhat-devel-list mailing list
>Redhat-devel-list@redhat.com
>https://listman.redhat.com/mailman/listinfo/redhat-devel-list

= = = = = = = = = = = = = = = = = = = =
			

                    ÖÂ
Àñ£¡
				 
               Jiangbo
               pirate@vip.sina.com
					2002-11-10 



_______________________________________________
Redhat-devel-list mailing list
Redhat-devel-list@redhat.com
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux