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?
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.
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?
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
Do i need to add "!include errno.inc" - did not help
No, you need to include sbbsdefs.inc
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
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
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)
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.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
_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.
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.
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,045 |
Nodes: | 16 (0 / 16) |
Uptime: | 130:09:36 |
Calls: | 500,967 |
Files: | 109,378 |
Messages: | 305,208 |