DOSemu parse error

DOSemu parse error

Post by Wonko The Sa » Thu, 03 Aug 1995 04:00:00

Alright, i've posted 3 questions to this group in one day, but here we go
again. I got the version.h problem solved, and managed to get pretty far
into the complilation. after bombs for lack of bison and flex (now
happily installed) it crashes with this...

make[2]: Entering directory `/space/dosemu-0.60.3/init'
gcc   -c -O2 -funroll-loops  -pipe -DUSING_NET    
-I/space/dosemu-0.60.3/include  -I/usr/src/linux-1.2.8/include
-I/space/dosemu-0.60.3/pic -I/space/dosemu-0.60.3/dpmi
-DPATH_LOCKD=\"/usr/spool/uucp\" -DNAME_LOCKF=\"LCK..\"  -DYYPURE -o
init.o init.c
init.c: In function `version_init':
init.c:522: parse error before `)'
make[2]: *** [init.o] Error 1
make[2]: Leaving directory `/space/dosemu-0.60.3/init'
make[1]: *** [init] Error 2
make[1]: Leaving directory `/space/dosemu-0.60.3'
make: *** [doslibnew] Error 2

and here is the function that crashed it...

void version_init(void) {
  struct new_utsname unames;

  warn("DOSEMU-%s is coming up on %s version %s\n", VERSTR,
unames.sysname, unames.release); /* the offending line? */
  warn("Built for %d\n", KERNEL_VERSION);
  if (unames.release[0] > 0 ) {
    if ((unames.release[2] == 1  && unames.release[3] > 1 ) ||
         unames.release[2] > 1 ) {

  /* Next Check input */
  if (isatty(STDIN_FILENO)) {
    k_printf("STDIN is tty\n");
    config.kbd_tty = 0;
  } else {
    k_printf("STDIN not a tty\n");
    config.kbd_tty = 1;


Afraid I don't know C well enough to go poking around and trying to fix
it. Any ideas?

--------------- \                
Wonko The Sane   \------------------ \                    

Episkopos of the Chao Pasture Cabal - Our Slogan - Nothing \-----------------
Hail Eris -><- Fnord -><- All Hail Discordia


1. DOSEMU parse error


        Just 2 days ago I had dosemu 0.53pl41 all compiled and running.
        I try and compile pl43, it doesn't work, so I recompile pl41.

        Argh, why am I not surpsied that this thing doesn't work again.

        When I run DOS, it says parse error reading configuration file 004

        THe onyl config file I know of is dosemu.conf, and it's a perfect copy
        of the original that used to work.
        What it going on?

2. kppp configuration settings for all ISPs (well a start anyway)

3. DOSEMU: parse error in .conf file

4. ipchains: finding a particular entry

5. Parse error for /etc/dosemu.conf?

6. Not yet???? Diamond Stealth 3D 2000????!!!!

7. Dosemu compiling error (parse eror on dpmi)HELP~!!

8. Desperate Repost: Help with my Ultrastor 14N + Teac 1.2GB

9. dosemu error: /var/lib/dosemu/hdimage.first doesn't exist

10. parse error before 'ospeed' error

11. DOSEMU 0.49 -- No

12. ERROR: video error(no light pen) dosemu

13. misc errors, dosemu and svgalib, errors in general