Re: Re: upgrading linux sbbs<snip>
By: Hemo to Digital Man on Mon Nov 21 2016 10:51 pm
Digital Man wrote to Hemo <=-
Re: upgrading linux sbbs
By: Hemo to Digital Man on Fri Nov 18 2016 10:46 pm
<snip>gmake: *** [smblib] Error 2
<snip>From the frying pan to the fire. Something with the new voting
code is unappreciated on my box. :(
Looking more closely at your errors now, I don't think my original analysis was correct: you do have the latest code from CVS.
However, that code does not appear to be compatible with your C compiler. What C compiler (and version) are you using?
Assuming gcc, you can query the version by typing 'gcc -v' then copy and paste that output here.
I've begun using anonymous unions and structs which are newer C language feature. We have to add some command-line options to enable these feature in your version GCC.
Re: Re: upgrading linux sbbs
By: Digital Man to Hemo on Mon Nov 21 2016 11:37 pm
Re: Re: upgrading linux sbbs
By: Hemo to Digital Man on Mon Nov 21 2016 10:51 pm
Digital Man wrote to Hemo <=-
<snip>Re: upgrading linux sbbs
By: Hemo to Digital Man on Fri Nov 18 2016 10:46 pm
<snip>gmake: *** [smblib] Error 2
<snip>From the frying pan to the fire. Something with the new voting
code is unappreciated on my box. :(
Looking more closely at your errors now, I don't think my original analysis was correct: you do have the latest code from CVS.
However, that code does not appear to be compatible with your C compiler. What C compiler (and version) are you using?
Assuming gcc, you can query the version by typing 'gcc -v' then copy and paste that output here.
I've begun using anonymous unions and structs which are newer C language feature. We have to add some command-line options to enable these feature in your version GCC.
After some digging I think I've got it figured out. I was able to install a newer development chain (gcc 4.9.2) and adding -ltinfo to LDFLAGS I am running v3.17a.
The actual steps to get this done took less time than writing this reply. Researching it took a few drinks.
I'm off to see what I else I can break.
Digital Man wrote to Hemo <=-
Re: Re: upgrading linux sbbs
By: Hemo to Digital Man on Mon Nov 28 2016 08:54 pm
<snip>Re: upgrading linux sbbs
By: Hemo to Digital Man on Fri Nov 18 2016 10:46 pm
<snip>gmake: *** [smblib] Error 2
Looking more closely at your errors now, I don't think my original analysis was correct: you do have the latest code from CVS.
However, that code does not appear to be compatible with your C compiler. What C compiler (and version) are you using?
Assuming gcc, you can query the version by typing 'gcc -v' then copy and paste that output here.
I've begun using anonymous unions and structs which are newer C language feature. We have to add some command-line options to enable these feature in your version GCC.
After some digging I think I've got it figured out. I was able to install a newer development chain (gcc 4.9.2) and adding -ltinfo to LDFLAGS I am running v3.17a.
Interesting. I wonder why -ltinfo was required.
The actual steps to get this done took less time than writing this reply. Researching it took a few drinks.
I'm off to see what I else I can break.
Okay. I think there's probably a way through the -std command-line argument to get the current (new) code to compile with old version of
GCC, but an upgrade is another option. :-)
Followed the steps at http://wiki.synchro.net/install:nix regarding updating.
Didn't get any errors during the CVS pull or the gmake, and have tried with and without the RELEASE=1 flag, same results..
I'm trying to get the bleeding edge 3.17 version, am I not doing things correctly to get that? Do I need to specify CVSTAG=sbbs317 (or similar) when I do a make ?
Followed the steps at http://wiki.synchro.net/install:nix regarding updating.
Didn't get any errors during the CVS pull or the gmake, and have tried with and without the RELEASE=1 flag, same results..
I'm trying to get the bleeding edge 3.17 version, am I not doing
things correctly to get that? Do I need to specify CVSTAG=sbbs317 (or similar) when I do a make ?
Re: upgrading linux sbbs
By: Hemo to All on Wed Nov 16 2016 02:34 pm
Didn't get any errors during the CVS pull or the gmake, and have tried
with and without the RELEASE=1 flag, same results..
No errors = good results, no?
I'm trying to get the bleeding edge 3.17 version, am I not doing
things correctly to get that? Do I need to specify CVSTAG=sbbs317 (or
similar) when I do a make ?
No, there is no tag for sbbs317 (it hasn't been "released" yet). Is there a problem?
Re: upgrading linux sbbs
By: Digital Man to Hemo on Wed Nov 16 2016 06:07 pm
Re: upgrading linux sbbs
By: Hemo to All on Wed Nov 16 2016 02:34 pm
Didn't get any errors during the CVS pull or the gmake, and have tried
with and without the RELEASE=1 flag, same results..
No errors = good results, no?
I think so. the programs compile and I'm running them.
I'm trying to get the bleeding edge 3.17 version, am I not doing
things correctly to get that? Do I need to specify CVSTAG=sbbs317 (or
similar) when I do a make ?
No, there is no tag for sbbs317 (it hasn't been "released" yet). Is there a problem?
I guess I might be confused by the info at a connect/login:
Synchronet BBS for Linux Version 3.16 <--- I expected this to be 3.17
The point I failed to present in my previous email is that all references still report version 3.16 when connecting or viewing system info. If that is normal for v3.17 until is is official, then I think I'm good.
I'm just confused by the version display I guess.
No, it should be displaying "Version 3.17". It sounds like the 'sbbs' you're running is not the same 'sbbs' that you're building. You did restart 'sbbs' after you cvs-updated and built, right? If yes, then
Re: upgrading linux sbbs3.17
By: Digital Man to Hemo on Wed Nov 16 2016 06:07 pm
I guess I might be confused by the info at a connect/login:
Synchronet BBS for Linux Version 3.16 <--- I expected this to be
No, it should be displaying "Version 3.17". It sounds like the 'sbbs' you're running is not the same 'sbbs' that you're building. You did restart 'sbbs' after you cvs-updated and built, right? If yes, then double-check your file system for multiple copies of sbbs and libsbbs.so and that should help to clarify what's going on (e.g. maybe you're running a release build, but built a debug build?).
Re: upgrading linux sbbs
By: Digital Man to Hemo on Thu Nov 17 2016 01:21 pm
Re: upgrading linux sbbs3.17
By: Digital Man to Hemo on Wed Nov 16 2016 06:07 pm
I guess I might be confused by the info at a connect/login:
Synchronet BBS for Linux Version 3.16 <--- I expected this to be
No, it should be displaying "Version 3.17". It sounds like the 'sbbs' you're running is not the same 'sbbs' that you're building. You did restart 'sbbs' after you cvs-updated and built, right? If yes, then double-check your file system for multiple copies of sbbs and libsbbs.so and that should help to clarify what's going on (e.g. maybe you're running a release build, but built a debug build?).
checked - only sbbs is the one I am running from /sbbs/exec/sbbs which is symlinked to /sbbs/src/sbbs3/gcc.linux.x64.exe.release/sbbs
so.. here is something strange.. after running the cvs update commands, I note the most recent file under /sbbs/src/sbbs3 is addfiles.c and addfiles.d, dated June 7, 2016. The next most recent file is main.cpp, dated August 15, 2015:
ls -rtl /sbbs/src/sbbs3
-rw-rw-r--. 1 sbbs sbbs 15344 Jul 28 2015 wordwrap.c
-rw-rw-r--. 1 sbbs sbbs 47696 Aug 15 2015 sbbsdefs.h
-rw-rw-r--. 1 sbbs sbbs 164785 Aug 15 2015 main.cpp
... directory entries removed ...
-rw-rw-r--. 1 sbbs sbbs 25851 Jun 7 00:54 addfiles.c
-rw-rw-r--. 1 sbbs sbbs 1641 Jun 7 00:54 addfiles.d
It appears I am not obtaining the most recent files with the cvs update command?
Re: upgrading linux sbbs
By: Hemo to Digital Man on Fri Nov 18 2016 01:23 pm
Sounds like you might be pinned to a tag (label)? If this is the case, try running "cvs update -d -A" from your "src" and "3rdp" directories (or their parent directory).
Re: upgrading linux sbbs
By: Digital Man to Hemo on Fri Nov 18 2016 02:12 pm
Re: upgrading linux sbbs
By: Hemo to Digital Man on Fri Nov 18 2016 01:23 pm
Sounds like you might be pinned to a tag (label)? If this is the case, try running "cvs update -d -A" from your "src" and "3rdp" directories (or their parent directory).
Well, that seemed to do something. I lot of 'move away' of files because 'it is in the way', and then it looks like new copies pulled.
Now I have compile errors...
[sbbs@bbs.ujoint.org sbbs3]$ cd /sbbs/src/sbbs3; gmake RELEASE=1
gmake -C /home/sbbs/src/sbbs3/../../3rdp/build jslib
gmake[1]: Entering directory `/home/sbbs/3rdp/build'
gmake[1]: Nothing to be done for `jslib'.
gmake[1]: Leaving directory `/home/sbbs/3rdp/build'
gmake -C /home/sbbs/src/sbbs3/../smblib lib
gmake[1]: Entering directory `/home/sbbs/src/smblib'
Compiling smblib.c
In file included from smblib.h:68,
from smblib.c:49:
smbdefs.h:436: warning: declaration does not declare anything
smbdefs.h:440: warning: declaration does not declare anything
smbdefs.h:441: warning: declaration does not declare anything
smblib.c: In function `smb_init_idx':
smblib.c:1634: error: `idxrec_t' has no member named `subj'
smblib.c:1638: error: `idxrec_t' has no member named `to'
smblib.c:1640: error: `idxrec_t' has no member named `to'
smblib.c:1642: error: `idxrec_t' has no member named `from'
smblib.c:1644: error: `idxrec_t' has no member named `from'
smblib.c:1646: error: `idxrec_t' has no member named `votes'
smblib.c:1647: error: `idxrec_t' has no member named `remsg'
smblib.c:1649: error: `idxrec_t' has no member named `to'
smblib.c:1650: error: `idxrec_t' has no member named `from'
smblib.c: In function `smb_voted_already':
smblib.c:1699: error: `idxrec_t' has no member named `remsg'
gmake[1]: *** [gcc.linux.x64.obj.release/smblib.o] Error 1
gmake[1]: Leaving directory `/home/sbbs/src/smblib'
gmake: *** [smblib] Error 2
From the frying pan to the fire. Something with the new voting code is unappreciated on my box. :(
Digital Man wrote to Hemo <=-
Re: upgrading linux sbbs
By: Hemo to Digital Man on Fri Nov 18 2016 10:46 pm
gmake: *** [smblib] Error 2
From the frying pan to the fire. Something with the new voting code is unappreciated on my box. :(
In what directory did you run "cvs update -d -A"? It looks like you
don't have the latest files from src/smblib, which implies you did not
run "cvs update -d -A" from the "src" directory.
Digital Man wrote to Hemo <=-
Re: upgrading linux sbbs
By: Hemo to Digital Man on Fri Nov 18 2016 10:46 pm
gmake: *** [smblib] Error 2
From the frying pan to the fire. Something with the new voting code is unappreciated on my box. :(
In what directory did you run "cvs update -d -A"? It looks like you don't have the latest files from src/smblib, which implies you did not run "cvs update -d -A" from the "src" directory.
Oy.
I followed the instructions at http://wiki.synchro.net/install:nix stating I should be in the /sbbs folder when doing the cvs update command. You commented I should run the command from the src and 3rdp directories or their parent, so I just ran it from /sbbs, which is the parent to both /sbbs/src and /sbbs/3rdp.
I'm willing to try things, so I just ran 'cvs update -d -A' again from both /sbbs/src and /sbbs/3rdp. Then I changed to /sbbs/src/sbbs3 and issue the command 'gmake RELEASE=1'. Same bloody results.
Now I'm grasping.. I am following the instructions but it doesn't work, so I started trying some other things. I figure I'll fix it, I back up /sbbs/src/smblib and then remove the directory, I no longer have /sbbs/src/smblib. I run the 'cvs update -d -A' command again from /sbbs/src and sbbs/3rdp, and I now have a fresh new /sbbs/src/smblib folder populated with new files, so I know the entire smblib folder is freshly pulled from the cvsupdate command. I run gmake and get the same dang results again.
I give. Maybe it's the universe giving me signals or something, I don't know.
Ugh.
Digital Man wrote to Hemo <=-
Re: upgrading linux sbbs
By: Hemo to Digital Man on Fri Nov 18 2016 10:46 pm
gmake: *** [smblib] Error 2
commentedFrom the frying pan to the fire. Something with the new voting code is unappreciated on my box. :(
In what directory did you run "cvs update -d -A"? It looks like you don't have the latest files from src/smblib, which implies you did not run "cvs update -d -A" from the "src" directory.
Oy.
I followed the instructions at http://wiki.synchro.net/install:nix stating I should be in the /sbbs folder when doing the cvs update command. You
I should run the command from the src and 3rdp directories or their parent,so
I just ran it from /sbbs, which is the parent to both /sbbs/src and/sbbs/3rdp.
I'm willing to try things, so I just ran 'cvs update -d -A' again from both /sbbs/src and /sbbs/3rdp. Then I changed to /sbbs/src/sbbs3 and issue the command 'gmake RELEASE=1'. Same bloody results.
Digital Man wrote to Hemo <=-
Re: Re: upgrading linux sbbs
By: Hemo to Digital Man on Mon Nov 21 2016 10:51 pm
Digital Man wrote to Hemo <=-
Re: upgrading linux sbbs
By: Hemo to Digital Man on Fri Nov 18 2016 10:46 pm
gmake: *** [smblib] Error 2
(snipped)
the cvsupdate command. I run gmake and get the same dang results again.
I give. Maybe it's the universe giving me signals or something, I don't know.
Ugh.
Looking more closely at your errors now, I don't think my original analysis was correct: you do have the latest code from CVS.
However, that code does not appear to be compatible with your C
compiler. What C compiler (and version) are you using?
Assuming gcc, you can query the version by typing 'gcc -v' then copy
and paste that output here.
| Sysop: | Winzlo |
|---|---|
| Location: | Minnesota, USA |
| Users: | 11 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 495941:13:42 |
| Calls: | 82 |
| Files: | 1,070 |
| D/L today: |
27 files (11,920K bytes) |
| Messages: | 286,980 |