I have recently started having issues recompiling the CVS. After the BBS stopping for no logged reason, I tried updating from CVS. I have a script, created from the online instructions which has been working flawlessly for years, that updates from CVS, compiles each of the programs and then automatically and restarts SBBS. After the first failure, I tried each comma in the script manually wity the same results. The issue is compiling
SBBS. Here is what "gmake" shows:
root@bbs ~]# cd /bbs/sbbs/src/sbbs3
[root@bbs sbbs3]# gmake RELEASE=1 USE_DOSEMU=1
gmake -C /bbs/sbbs/src/sbbs3/../smblib lib
gmake[1]: Entering directory `/bbs/sbbs/src/smblib'
Compiling smbadd.c
In file included from smbdefs.h:46,
from smblib.h:70,
from smbadd.c:40:
../xpdev/genwrap.h:5: error: expected identifier or âÇÿ(âÇÖ before âÇÿ<<âÇÖ token
In file included from ../xpdev/dirwrap.h:51,
from smbdefs.h:47,
from smblib.h:70,
from smbadd.c:40:
../xpdev/gen_defs.h:5: error: expected identifier or âÇÿ(âÇÖ before âÇÿ<<âÇÖ token
In file included from ../xpdev/dirwrap.h:66,
from smbdefs.h:47,
from smblib.h:70,
from smbadd.c:40:
/usr/include/sys/stat.h:435: error: conflicting types for âÇÿstatâÇÖ /usr/include/sys/stat.h:208: error: previous declaration of âÇÿstatâÇÖ was h /usr/include/sys/stat.h:442: error: conflicting types for âÇÿlstatâÇÖ /usr/include/sys/stat.h:260: error: previous declaration of âÇÿlstatâÇÖ was here
/usr/include/sys/stat.h:449: error: conflicting types for âÇÿfstatâÇÖ /usr/include/sys/stat.h:212: error: previous declaration of âÇÿfstatâÇÖ was here
In file included from ../xpdev/filewrap.h:42,
from smbdefs.h:48,
from smblib.h:70,
from smbadd.c:40:
../xpdev/gen_defs.h:5: error: expected identifier or âÇÿ(âÇÖ before âÇÿ<<âÇÖ token
In file included from md5.h:36,
from smbdefs.h:51,
from smblib.h:70,
from smbadd.c:40:
../xpdev/gen_defs.h:5: error: expected identifier or âÇÿ(âÇÖ before âÇÿ<<âÇÖ token
In file included from smbdefs.h:51,
from smblib.h:70,
from smbadd.c:40:
md5.h:49: warning: data definition has no type or storage class
md5.h:72: error: expected âÇÿ)âÇÖ before âÇÿ*âÇÖ token
md5.h:73: error: expected âÇÿ)âÇÖ before âÇÿ*âÇÖ token
md5.h:74: error: expected âÇÿ)âÇÖ before âÇÿ*âÇÖ token
In file included from smbadd.c:41:
../xpdev/genwrap.h:5: error: expected identifier or âÇÿ(âÇÖ before âÇÿ<<âÇÖ token
smbadd.c: In function âÇÿsmb_addmsgâÇÖ:
smbadd.c:114: error: âÇÿcrc32tblâÇÖ undeclared (first use in this function) smbadd.c:114: error: (Each undeclared identifier is reported only once smbadd.c:114: error: for each function it appears in.)
gmake[1]: *** [gcc.linux.obj.release/smbadd.o] Error 1
gmake[1]: Leaving directory `/bbs/sbbs/src/smblib'
gmake: *** [smblib] Error 2
[root@bbs sbbs3]#
If anyone could point me in the right direction, I would appreciate it.
Ray Quinn
US 99 BBS
Visalia, CA
... When all else fails, read the instructions.
* Originally in: Synchronet
* Originally on: 05-28-11 19:49
* Originally by: Corey
* Originally to: W6ray
Re: CVS Recompile Problem
By: W6ray to All on Sat May 28 2011 07:04 pm
I have recently started having issues recompiling the CVS. After the BBS stopping for no logged reason, I tried updating from CVS. I have a script created from the online instructions which has been working flawlessly fo years, that updates from CVS, compiles each of the programs and then automatically and restarts SBBS. After the first failure, I tried each co in the script manually wity the same results. The issue is compiling SBBS. Here is what "gmake" shows:
root@bbs ~]# cd /bbs/sbbs/src/sbbs3
[root@bbs sbbs3]# gmake RELEASE=1 USE_DOSEMU=1
gmake -C /bbs/sbbs/src/sbbs3/../smblib lib
gmake[1]: Entering directory `/bbs/sbbs/src/smblib'
Compiling smbadd.c
In file included from smbdefs.h:46,
from smblib.h:70,
from smbadd.c:40:
../xpdev/genwrap.h:5: error: expected identifier or âÇÿ(âÇÖ before âÇÿ<<â token
In file included from ../xpdev/dirwrap.h:51,
from smbdefs.h:47,
from smblib.h:70,
from smbadd.c:40:
../xpdev/gen_defs.h:5: error: expected identifier or âÇÿ(âÇÖ before âÇÿ<< token
In file included from ../xpdev/dirwrap.h:66,
from smbdefs.h:47,
from smblib.h:70,
from smbadd.c:40:
/usr/include/sys/stat.h:435: error: conflicting types for âÇÿstatâÇÖ /usr/include/sys/stat.h:208: error: previous declaration of âÇÿstatâÇÖ wa /usr/include/sys/stat.h:442: error: conflicting types for âÇÿlstatâÇÖ /usr/include/sys/stat.h:260: error: previous declaration of âÇÿlstatâÇÖ w here
/usr/include/sys/stat.h:449: error: conflicting types for âÇÿfstatâÇÖ /usr/include/sys/stat.h:212: error: previous declaration of âÇÿfstatâÇÖ w here
In file included from ../xpdev/filewrap.h:42,
from smbdefs.h:48,
from smblib.h:70,
from smbadd.c:40:
../xpdev/gen_defs.h:5: error: expected identifier or âÇÿ(âÇÖ before âÇÿ<< token
In file included from md5.h:36,
from smbdefs.h:51,
from smblib.h:70,
from smbadd.c:40:
../xpdev/gen_defs.h:5: error: expected identifier or âÇÿ(âÇÖ before âÇÿ<< token
In file included from smbdefs.h:51,
from smblib.h:70,
from smbadd.c:40:
md5.h:49: warning: data definition has no type or storage class
md5.h:72: error: expected âÇÿ)âÇÖ before âÇÿ*âÇÖ token
md5.h:73: error: expected âÇÿ)âÇÖ before âÇÿ*âÇÖ token
md5.h:74: error: expected âÇÿ)âÇÖ before âÇÿ*âÇÖ token
In file included from smbadd.c:41:
../xpdev/genwrap.h:5: error: expected identifier or âÇÿ(âÇÖ before âÇÿ<<â token
smbadd.c: In function âÇÿsmb_addmsgâÇÖ:
smbadd.c:114: error: âÇÿcrc32tblâÇÖ undeclared (first use in this functio smbadd.c:114: error: (Each undeclared identifier is reported only once smbadd.c:114: error: for each function it appears in.)
gmake[1]: *** [gcc.linux.obj.release/smbadd.o] Error 1
gmake[1]: Leaving directory `/bbs/sbbs/src/smblib'
gmake: *** [smblib] Error 2
[root@bbs sbbs3]#
If anyone could point me in the right direction, I would appreciate it.
Ray Quinn
US 99 BBS
Visalia, CA
... When all else fails, read the instructions.
This is one of the downsided to running code that is still being written. i.e. things happen. post this in the programmers area and they will look int it.
Ok. Here it is once again...
Ray
Ok. Here it is once again...
Re: CVS Recompile Problem
By: W6ray to All on Sat May 28 2011 09:35 pm
Ok. Here it is once again...
There was a conflict during the update. You changed something in your copy which was also changed in CVS. genwrap.h and gen_defs.h in the xpdev direct are both impacted. You can simply delete them then update them:
cd /path/tp/xpdev
rm genwrap.h gen_defs.h
cvs update genwrap.h gen_defs.h
---
Synchronet - Jump on the Web 0.2 bandwagon!
Sysop: | Eric Oulashin |
---|---|
Location: | Beaverton, Oregon, USA |
Users: | 105 |
Nodes: | 16 (1 / 15) |
Uptime: | 06:17:33 |
Calls: | 5,906 |
Calls today: | 2 |
Files: | 8,496 |
D/L today: |
427 files (129M bytes) |
Messages: | 343,482 |