gcc -c -Wall -ggdb -O3 -DLINUX act_comm.c
gcc -c -Wall -ggdb -O3 -DLINUX act_info.c
act_info.c: In function `do_password':
act_info.c:3740: warning: implicit declaration of function `crypt'
act_info.c:3740: warning: passing arg 1 of `strcmp' makes pointer from integer w
ithout a cast
act_info.c:3757: warning: assignment makes pointer from integer without a cast
gcc -c -Wall -ggdb -O3 -DLINUX act_move.c
gcc -c -Wall -ggdb -O3 -DLINUX act_obj.c
gcc -c -Wall -ggdb -O3 -DLINUX act_wiz.c
act_wiz.c: In function `do_shell':
act_wiz.c:5999: warning: implicit declaration of function `pipe'
act_wiz.c:6011: warning: implicit declaration of function `fork'
act_wiz.c:6015: warning: implicit declaration of function `close'
act_wiz.c:6093: warning: implicit declaration of function `dup2'
act_wiz.c:6093: `STDIN_FILENO' undeclared (first use in this function)
act_wiz.c:6093: (Each undeclared identifier is reported only once
act_wiz.c:6093: for each function it appears in.)
act_wiz.c:6094: `STDOUT_FILENO' undeclared (first use in this function)
act_wiz.c:6095: `STDERR_FILENO' undeclared (first use in this function)
act_wiz.c:6106: warning: implicit declaration of function `execl'
act_wiz.c:6124: warning: implicit declaration of function `write'
*** Error code 1
uses NetBSD as the OS
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have moved on, and haven't been doing anything with the code.
BSD does not put crypt.h in the same place. Also some of the functions differ.
First, try changing in the file, geeze, can't even remember which one it is, where it says -DLINUX to -DBSD, and see if it will compile. There is also a flag somewhere for no crypt.h.
With no crypt passwords will be in clear text in the pfiles.
If there is a reply, I might browse over to the CVS and look some more.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I haven't done any unix programming in a long time now, so forgive me if my terminology is a little off... Anyhow, do_shell uses pty's in a very Linux-specific way, if I remember correctly. So it doesn't surprise me that it would break. I seem to remember making it pretty easy to disable compilation of do_shell (something in config.h probably), so you might try that.
I'm posting this from Safari on a Tiger machine (my wife's iBook). Someday I need to figure out how to install software on this thing so I can get the code from CVS and try to compile it too... I've no idea if development tools are even installed! :) (I don't use the Mac much <grin>)
-Zak
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, you can remove do_shell, then it starts giving errors on the way the null file is handled in bans.c (which was rewritten by forget who, and think it may be linux specific also).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Development tools 2.1 includes CVS, the same command line commands you used on any other *nix.
I verified becasue the eMac work gave me had it. Then I switched to a PowerMac G4 Dual 1.25, and it didn't, so went looking and installed development tools 2.1 and it worked.
Also webobjects that used to be $50,000 license is included in there too.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
this is the error messege i get:
gcc -c -Wall -ggdb -O3 -DLINUX act_comm.c
gcc -c -Wall -ggdb -O3 -DLINUX act_info.c
act_info.c: In function `do_password':
act_info.c:3740: warning: implicit declaration of function `crypt'
act_info.c:3740: warning: passing arg 1 of `strcmp' makes pointer from integer w
ithout a cast
act_info.c:3757: warning: assignment makes pointer from integer without a cast
gcc -c -Wall -ggdb -O3 -DLINUX act_move.c
gcc -c -Wall -ggdb -O3 -DLINUX act_obj.c
gcc -c -Wall -ggdb -O3 -DLINUX act_wiz.c
act_wiz.c: In function `do_shell':
act_wiz.c:5999: warning: implicit declaration of function `pipe'
act_wiz.c:6011: warning: implicit declaration of function `fork'
act_wiz.c:6015: warning: implicit declaration of function `close'
act_wiz.c:6093: warning: implicit declaration of function `dup2'
act_wiz.c:6093: `STDIN_FILENO' undeclared (first use in this function)
act_wiz.c:6093: (Each undeclared identifier is reported only once
act_wiz.c:6093: for each function it appears in.)
act_wiz.c:6094: `STDOUT_FILENO' undeclared (first use in this function)
act_wiz.c:6095: `STDERR_FILENO' undeclared (first use in this function)
act_wiz.c:6106: warning: implicit declaration of function `execl'
act_wiz.c:6124: warning: implicit declaration of function `write'
*** Error code 1
uses NetBSD as the OS
I have a problem like that too...I use OS X, which is built off of BSD, so maybe it's a problem with BSD?
Sorry for the slow response.
I have moved on, and haven't been doing anything with the code.
BSD does not put crypt.h in the same place. Also some of the functions differ.
First, try changing in the file, geeze, can't even remember which one it is, where it says -DLINUX to -DBSD, and see if it will compile. There is also a flag somewhere for no crypt.h.
With no crypt passwords will be in clear text in the pfiles.
If there is a reply, I might browse over to the CVS and look some more.
Add -DNOCRYPT to the line in the Makefile that says NOCRYPT =
For the heck of it I downloaded the CVS to a Mac OS X 10.4.1 machine, and have been playing with it.
do_shell is giving lots of errors so far after adding -DNOCRYPT
I haven't done any unix programming in a long time now, so forgive me if my terminology is a little off... Anyhow, do_shell uses pty's in a very Linux-specific way, if I remember correctly. So it doesn't surprise me that it would break. I seem to remember making it pretty easy to disable compilation of do_shell (something in config.h probably), so you might try that.
I'm posting this from Safari on a Tiger machine (my wife's iBook). Someday I need to figure out how to install software on this thing so I can get the code from CVS and try to compile it too... I've no idea if development tools are even installed! :) (I don't use the Mac much <grin>)
-Zak
Yes, you can remove do_shell, then it starts giving errors on the way the null file is handled in bans.c (which was rewritten by forget who, and think it may be linux specific also).
Development tools 2.1 includes CVS, the same command line commands you used on any other *nix.
I verified becasue the eMac work gave me had it. Then I switched to a PowerMac G4 Dual 1.25, and it didn't, so went looking and installed development tools 2.1 and it worked.
Also webobjects that used to be $50,000 license is included in there too.