• BULLSEYE.SRC compiling

    From Nidas@VERT/PERKUNAS to All on Thu Mar 1 03:38:00 2001
    Hi,ããWhen compiling BULLSEYE.SRC Baja gives error:ããSYNTAX ERROR (expecting variable name)ãbullseye.src 24: _errnoããDo i need to add "!include errno.inc" - did not helpãor add "str _errno" - did help.ããi did it right?ããããNidasããããã---ã þ Synchronet þ Perkunas BBS þ 212.47.115.162ã
  • From Jim@VERT/BNB to Nidas on Thu Mar 1 00:58:00 2001
    Hi,ããN>When compiling BULLSEYE.SRC Baja gives error:ããN>SYNTAX ERROR (expecting variable name)ã >bullseye.src 24: _errnoããN>Do i need to add "!include errno.inc" - did not helpã >or add "str _errno" - did help.ããN>i did it right?ããããCan you extract the original .src file and compare the two (your editedãone with the virgin file?ããWhat's the difference?ããPost the altered lines.ãã-ãJames King, Coldwater, Mi And that's JIM to you guys! ã Tip of the day: http://setiathome.berkeley.edu Echo ã---ã þ OLXWin 1.00b þ Back Up My Hard Drive? I Can't Find The Reverse Switch!ã þ Synchronet þ Bits-N-Bytes BBS One hellava BBS 24.241.127.99ã
  • From Nidas@VERT/PERKUNAS to Jim on Thu Mar 1 11:21:00 2001
    RE: BULLSEYE.SRC compilingãBY: Jim to Nidas on Thu Mar 01 2001 08:58:00ãã > Can you extract the original .src file and compare the two (your editedã > one with the virgin file?ã > ã > What's the difference?ã > ã > Post the altered lines.ããI only changed a color of prompt line from blue to cyan. :-)ãI downloaded BSEYE100.ZIP from VERT, the file included is identical, itãwouldn't compile (well without any extra options as i always do..)ãThe line with problem is #21:ããprintf "\r\n!ERROR %ld opening %s\r\n" _errno strããso i asked is it correct to add line "str _errno" to solve the problemãããNidasããã---ã þ Synchronet þ Perkunas BBS þ 212.47.115.162ã
  • From Digital Man@VERT to Nidas on Thu Mar 1 02:44:48 2001
    RE: BULLSEYE.SRC compilingãBY: Nidas to All on Thu Mar 01 2001 11:38 amãã > When compiling BULLSEYE.SRC Baja gives error:ã > ã > SYNTAX ERROR (expecting variable name)ã > bullseye.src 24: _errnoã > ã > Do i need to add "!include errno.inc" - did not helpããNo, you need to include sbbsdefs.incãã > or add "str _errno" - did help.ã > ã > i did it right?ããNo.ããRobã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Digital Man@VERT to Nidas on Thu Mar 1 02:48:51 2001
    RE: BULLSEYE.SRC compilingãBY: Nidas to Jim on Thu Mar 01 2001 07:21 pmãã > > Can you extract the original .src file and compare the two (your editedã > > one with the virgin file?ã > >ã > > What's the difference?ã > >ã > > Post the altered lines.ã > ã > I only changed a color of prompt line from blue to cyan. :-)ã > I downloaded BSEYE100.ZIP from VERT, the file included is identical, itã > wouldn't compile (well without any extra options as i always do..)ã > The line with problem is #21:ã > ã > printf "\r\n!ERROR %ld opening %s\r\n" _errno strããYou must have removed the !include sbbsdefs.inc line because it's in original.ããRobã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Nidas@VERT/PERKUNAS to Digital Man on Thu Mar 1 13:04:00 2001
    RE: BULLSEYE.SRC compilingãBY: Digital Man to Nidas on Thu Mar 01 2001 10:44:00ãã > > Do i need to add "!include errno.inc" - did not helpã > ã > No, you need to include sbbsdefs.incããYes, it's included, as i said i compile unmodified source.ããThis is real strange.. I found another source that has _errno in it (QNET.src)ãand that doesn't compile too (at least for me)ãããNidasããã---ã þ Synchronet þ Perkunas BBS þ 212.47.115.162ã
  • From Nidas@VERT/PERKUNAS to Digital Man on Thu Mar 1 13:23:00 2001
    RE: BULLSEYE.SRC compilingãBY: Digital Man to Nidas on Thu Mar 01 2001 10:48:00ãã > > printf "\r\n!ERROR %ld opening %s\r\n" _errno strã > ã > You must have removed the !include sbbsdefs.inc line because it's in originaããNow i checked this sbbsdefs.inc file..ããfrom my old BBS backup - file sbbsdefs.inc has line !global _ERRNOãthis file dated 1996-07-04.ããfile i have in \EXEC dir. doesn't have above mentioned line.ãthis file dated 2000-10-24ããany comments?ããNidasãããã---ã þ Synchronet þ Perkunas BBS þ 212.47.115.162ã
  • From Jim@VERT/BNB to Nidas on Thu Mar 1 09:37:00 2001
    RE: BULLSEYE.SRC compilingã >BY: Jim to Nidas on Thu Mar 01 2001 08:58:00ããN> > Can you extract the original .src file and compare the two (your editedã > > one with the virgin file?ã > > ã > > What's the difference?ã > > ã > > Post the altered lines.ããN>I only changed a color of prompt line from blue to cyan. :-)ã >I downloaded BSEYE100.ZIP from VERT, the file included is identical, itã >wouldn't compile (well without any extra options as i always do..)ã >The line with problem is #21:ããN>printf "\r\n!ERROR %ld opening %s\r\n" _errno strãããããset str "%zBULLSEYE.CFG"ãfopen file O_RDONLY strãif_falseã printf "\r\n!ERROR %ld opening %s\r\n" _errno strã returnã end_ifããMine runs and it is compiled without the additional include.ããPossible the re error is being generated above but reported on thisãline.ããIf you have access to the sbbs3.0c maybe you can extract what you needãfrom there.ããããN>so i asked is it correct to add line "str _errno" to solve the problemãããã-ãJames King, Coldwater, Mi And that's JIM to you guys! ã Tip of the day: http://setiathome.berkeley.edu Echo ã---ã þ OLXWin 1.00b þ This tagline is umop apisdnã þ Synchronet þ Bits-N-Bytes BBS One hellava BBS 24.241.127.99ã
  • From Digital Man@VERT to Nidas on Thu Mar 1 13:39:11 2001
    RE: BULLSEYE.SRC compilingãBY: Nidas to Digital Man on Thu Mar 01 2001 09:04 pmãã > RE: BULLSEYE.SRC compilingã > BY: Digital Man to Nidas on Thu Mar 01 2001 10:44:00ã > ã > > > Do i need to add "!include errno.inc" - did not helpã > >ã > > No, you need to include sbbsdefs.incã > ã > Yes, it's included, as i said i compile unmodified source.ã > ã > This is real strange.. I found another source that has _errno in it (QNET.srã > and that doesn't compile too (at least for me)ããIs your sbbsdefs.inc missing the !include errno.inc line? You are compilingãthis files in your EXEC directory, right?ããRobã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Digital Man@VERT to Nidas on Thu Mar 1 13:40:39 2001
    RE: BULLSEYE.SRC compilingãBY: Nidas to Digital Man on Thu Mar 01 2001 09:23 pmãã > > > printf "\r\n!ERROR %ld opening %s\r\n" _errno strã > >ã > > You must have removed the !include sbbsdefs.inc line because it's in origã > ã > Now i checked this sbbsdefs.inc file..ã > ã > from my old BBS backup - file sbbsdefs.inc has line !global _ERRNOã > this file dated 1996-07-04.ã > ã > file i have in \EXEC dir. doesn't have above mentioned line.ã > this file dated 2000-10-24ã > ã > any comments?ãã_errno is defined in errno.inc, but sbbsdefs.inc INCLUDES errno.inc, so youãshould not have to include errno.inc if you're already including sbbsdefs.inc.ãMake sense?ãã21:17 C:\sbbs\exec grep errno *.incãFile errno.inc:ã# errno.incã# Defines the system error variable _errno and the errorãFile sbbsdefs.inc:ã!include errno.incããRobã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Nidas@VERT/PERKUNAS to Digital Man on Fri Mar 2 13:16:00 2001
    RE: BULLSEYE.SRC compilingãBY: Digital Man to Nidas on Thu Mar 01 2001 21:40:00ãã > _errno is defined in errno.inc, but sbbsdefs.inc INCLUDES errno.inc, so youã > should not have to include errno.inc if you're already including sbbsdefs.inã > Make sense?ã > ã > 21:17 C:\sbbs\exec grep errno *.incã > File errno.inc:ã > # errno.incã > # Defines the system error variable _errno and the errorã > File sbbsdefs.inc:ã > !include errno.incããOK Rob, i finally figured it out: i had sbbsdefs.inc from ver3.00c, whichã!includes errno.inc, but errno.inc i had, was from ver. 3.00b, which didãnot have line !global _ERRNO. How it happened that i had such setup-ãi don't know. Was installing ver3.00C UPGRADE on top of 3.00b.ããTo figure this out i had to fresh install both ver.3.00b and 3.00cãAs i'm writing about this i want to ask if it's necessary to firstãUninstall the intalled version. Or it's no problem to install 2nd, 3rdãcopy of Synchronet to other base directory, and then after uninstallãeverything should be OK with original BBS installation.ãIn other words -does Synchronet use Windows registry for settings, orãevery setting is in installed base dir, configuration files, etc..ãI personally would like it be second variant.ããWell thanks for the replies. Good to have a software, where author canãrespond usually within 24hours. And asking questions is one of theãways of quick learning. Don't you agree?ããNidasãããp.s. my BBS name change occured after original 'Byte's Hell' sysopãvisited (now he's a CoSysop). I was thinking of changing it anyway.ãNow should be more understandable for foreign users ;)ããã---ã þ Synchronet þ The Byte's Hell þ tbh.dtdns.netã
  • From Digital Man@VERT to Nidas on Fri Mar 2 04:19:38 2001
    RE: BULLSEYE.SRC compilingãBY: Nidas to Digital Man on Fri Mar 02 2001 09:16 pmãã > > _errno is defined in errno.inc, but sbbsdefs.inc INCLUDES errno.inc, so yã > > should not have to include errno.inc if you're already including sbbsdefsã > > Make sense?ã > >ã > > 21:17 C:\sbbs\exec grep errno *.incã > > File errno.inc:ã > > # errno.incã > > # Defines the system error variable _errno and the errorã > > File sbbsdefs.inc:ã > > !include errno.incã > ã > OK Rob, i finally figured it out: i had sbbsdefs.inc from ver3.00c, whichã > !includes errno.inc, but errno.inc i had, was from ver. 3.00b, which didã > not have line !global _ERRNO. How it happened that i had such setup-ã > i don't know. Was installing ver3.00C UPGRADE on top of 3.00b.ããPerhaps the upgrade is missing errno.inc <shrug>ã ã > To figure this out i had to fresh install both ver.3.00b and 3.00cã > As i'm writing about this i want to ask if it's necessary to firstã > Uninstall the intalled version. ããNo, it's not necessary.ããRobã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã