Date: Fri, 3 Dec 2004 00:19:38 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 465 ************************************************** Thursday 02 December 2004 Number 465 ************************************************** Subjects for today 1 Re: GCC question : Yuri Dario" 2 Re: No sys/sysctl.h in GCC 3.3.5 : Anton Monroe 3 Re: No sys/sysctl.h in GCC 3.3.5 : Tobias Huerlimann **= Email 1 ==========================** Date: Wed, 01 Dec 2004 19:20:55 +0100 (CET) From: "Yuri Dario" Subject: Re: GCC question Hi, >My guess (too late to consult the code/docs) is that these symbols are >global initializers and destructors. Exactly why they end up being >undefined in one case beats me. I had a similar problem with MySQL 4.x source code: the use of #pragma interface and #pragma implementation could lead to defining interfaces to constructors, without defining them in the code (implementation). I fixed them adding code like #ifdef __GNUC__ template class I_List; #endif at end of some files. Unfortunately class name depends on sources used, YMMV. Bye, Yuri Dario /* * member of TeamOS/2 - Italy * http://www.os2power.com/yuri * http://www.teamos2.it */ **= Email 2 ==========================** Date: Wed, 1 Dec 2004 13:17:43 -0600 From: Anton Monroe Subject: Re: No sys/sysctl.h in GCC 3.3.5 On Wed, Dec 01, 2004 at 11:44:38AM +0000, John Poltorak wrote: > > What are host and hostid? Is that standard > > functionality or just an OS/2 add-on? > > I don't know - they are in \mptn\bin. I assumed they were standard apps. I > can't imagine IBM adding new utilities... OS/2's host.exe seems to be a braindead version of Unix/Linux host, without any of the options. Type 'host os2ports.com' and it tells you os2ports.com = 65.75.16.114 I'm not sure what to make of hostid.exe. 'hostid.exe' returns Hostid = 127.0.0.1 'hostid.exe xxx' returns Usage: hostid - sets the hostid to a.b.c.d IP address Usage: hostid - displays the hostid of the machine I doubt if either one of them is very useful. Anton **= Email 3 ==========================** Date: Wed, 01 Dec 2004 21:59:03 +0100 From: Tobias Huerlimann Subject: Re: No sys/sysctl.h in GCC 3.3.5 John Poltorak wrote: > On Wed, Dec 01, 2004 at 12:35:34PM +0100, Stefan.Neis at t-online.de wrote: > >>What are host and hostid? Is that standard >>functionality or just an OS/2 add-on? > > I don't know - they are in \mptn\bin. I assumed they were standard apps. I > can't imagine IBM adding new utilities... "host" actually seems to be some kind of a stripped down version of "dig", which is part of the ISC BIND package. "hostid" is not present in BSD -- at least not in Open- or FreeBSD. Besides OS/2, it probably exists on Linux systems. Tobias Huerlimann