Tech Insider					   Technology and Trends


			   USENET Archives


Electronic mail:			      WorldWideWeb:
   tech-insider@outlook.com		         http://tech-insider.org/

From: stef...@laguna.schiele-ct.de (Steffen R. Mueller)
Subject: ibcs2 compile problem
Date: 1995/06/28
Message-ID: <3srrjj$6c@nz12.rz.uni-karlsruhe.de>#1/1
X-Deja-AN: 105269730
content-type: text/plain; charset=iso-8859-1
organization: Steffen Mueller PRIVATE SYSTEM, Germany
mime-version: 1.0
newsgroups: comp.os.linux.development.system

Hi to all ibcs2 users

I'm using the ibcs2 emulator to run some of our database and LVS tools
oroginally written for INTERACTIVE UNIX. Works fine !
My problem came when I switched to kernel 1.3.x.

It's impossible to compile the stuff. It exits with 

In file included from coff.c:40:
../include/ibcs/ibcs.h:32: warning: function declaration isn't a prototype
coff.c: In function 	bcs_exec':
coff.c:163: warning: ' might be used uninitialized in this function
coff.c: In function 	bcs_read':
coff.c:247: sizeof applied to an incomplete type
coff.c:270: dereferencing pointer to incomplete type
coff.c:276: dereferencing pointer to incomplete type
coff.c:279: dereferencing pointer to incomplete type
coff.c:285: dereferencing pointer to incomplete type
coff.c:291: dereferencing pointer to incomplete type
coff.c:294: dereferencing pointer to incomplete type
coff.c:296: dereferencing pointer to incomplete type
coff.c:296: dereferencing pointer to incomplete type
coff.c:296: dereferencing pointer to incomplete type
coff.c:301: dereferencing pointer to incomplete type
coff.c:301: dereferencing pointer to incomplete type
coff.c:302: dereferencing pointer to incomplete type
make[1]: *** [coff.o] Error 1
make[1]: Leaving directory /home/steffen/ibcs/ibcs/iBCSemul'
make: *** [all] Error 2
 
This is ibcs-1.2-950413.tar.gz with the applied patch
ibcs-1.2-950413.patch1


Any idea ?

The same code worked perfectly for months !

--
--------------------------------------------------------------------------
Steffen R. Mueller      Tel    : +49-721-9812020
Graf-Rhena-Str. 13	e-mail : ste...@laguna.schiele-ct.de
76137 Karlsruhe         Fax    : +49-721-814057
Germany                 WWW    : http://www.schiele-ct.de/steffen.html
--------------------------------------------------------------------------

From: Fred Broce <fbr...@atlanta.com>
Subject: Re: ibcs2 compile problem
Date: 1995/06/28
Message-ID: <3ssmug$73h@nntp.atlanta.com>#1/1
X-Deja-AN: 105269822
references: <3srrjj$6c@nz12.rz.uni-karlsruhe.de>
content-type: text/plain; charset=us-ascii
organization: Internet Atlanta
x-url: news:3srrjj$6c@nz12.rz.uni-karlsruhe.de
mime-version: 1.0
newsgroups: comp.os.linux.development.system
x-mailer: Mozilla 1.1N (X11; I; Linux 1.2.11 i486)

I had the same exact experience. I posted a similiar question and got no
answer. Something is broke in the ibcs code with kernels > 1.2.11  I hope
someone fixes it and I will go ahead with the 1.3+ kernels.

fb

From: cummi...@stingray.net (Matthew Cummings)
Subject: Re: ibcs2 compile problem
Date: 1995/06/29
Message-ID: <3st8av$cbv@stingray.net>#1/1
X-Deja-AN: 105430137
references: <3srrjj$6c@nz12.rz.uni-karlsruhe.de> <3ssmug$73h@nntp.atlanta.com>
organization: MNC
newsgroups: comp.os.linux.development.system

Fred Broce (fbr...@atlanta.com) wrote:
: I had the same exact experience. I posted a similiar question and got no
: answer. Something is broke in the ibcs code with kernels > 1.2.11  I hope
: someone fixes it and I will go ahead with the 1.3+ kernels.

Most of the fixes are straight forward, and I have it running on 1.3.4 here,
but I'm not completely comfortable since I couldn't use the do_signal part
and commented it out in the signal.c code until I get to locating more info
on it.  I will say this though, if you wish to compile it, look at the error
codes, you need to include a different file to get the correct I think it's
the following include;
#include <asm/dma.h>

Then another problem is a couple of additional structures changed, and the
way I fixed it was to look in the linux/include directory for the
definitions of that call or structure, and modify the ibcs code to use it
instead.

Since the kernel source code is available, I'm sure my last question of the
do_signal is answered there, somewhere...

I bet Brandon has the answers, he's usually on top of things...
-- 
Internet: cummi...@stingray.net

From: Mike Jagdis <ja...@purplet.demon.co.uk>
Subject: Re: ibcs2 compile problem
Date: 1995/07/01
Message-ID: <875.2FF71752@purplet.demon.co.uk>#1/1
X-Deja-AN: 105522888
x-nntp-posting-host: purplet.demon.co.uk
sender: "newsout1.26" <ufg...@purplet.demon.co.uk>
organization: FidoNet node 2:252/305 - The Purple Tentacle, Reading
newsgroups: comp.os.linux.development.system

* In message <3st8av$...@stingray.net>, Matthew Cummings said:

MC> but I'm not completely comfortable since I couldn't use the
MC> do_signal part

do_signal was taken out of ksyms.c in 1.3. We only need it because we used 
our own version of sigsuspend rather than making the system call. To change 
to use the system call you need to do it in the same way that we handle 
fork() in coff.c. Don't worry, it'll be in the next release any day now :-).

                                Mike

			   USENET Archives


Notice
******

The materials and information included in this website may only be used
for purposes such as criticism, review, private study, scholarship, or 
research.


Electronic mail:			      WorldWideWeb:
   tech-insider@outlook.com		         http://tech-insider.org/