Announcement

Collapse
No announcement yet.

FSD Server for Ubuntu

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • FSD Server for Ubuntu

    Hi James.
    I hadn't noticed it before but I found in your download section a "fsdubuntu" file so I downloaded that to my server for hope of solving the nonconnection issue.

    However if I try to start the server in the usual way I get the following

    Code:
    $ ./fsd &
    $ ./fsd: 1: Syntax error: word unexpected (expecting ")")
    
    [1] + Done(2)                    ./fsd
    and the server is not started.

    Trying the fsd.sh startup file I get the following

    Code:
    lex@ubuntu:/home/fsd/unix$ ./fsd.sh start
    lex@ubuntu:/home/fsd/unix$ su: must be run from a terminal
    
    lex@ubuntu:/home/fsd/unix$
    I prefer the first one as I always start the server manually. I would like to start it at server boot but haven't got it to work and abanded it some time ago. I might try again in the near future. Maybe you can help me with that too.

    Lex

  • #2
    Originally posted by the whaler View Post
    Hi James.
    I hadn't noticed it before but I found in your download section a "fsdubuntu" file so I downloaded that to my server for hope of solving the nonconnection issue.

    However if I try to start the server in the usual way I get the following

    Code:
    $ ./fsd &
    $ ./fsd: 1: Syntax error: word unexpected (expecting ")")
    
    [1] + Done(2)                    ./fsd
    and the server is not started.

    Trying the fsd.sh startup file I get the following

    Code:
    lex@ubuntu:/home/fsd/unix$ ./fsd.sh start
    lex@ubuntu:/home/fsd/unix$ su: must be run from a terminal
    
    lex@ubuntu:/home/fsd/unix$
    I prefer the first one as I always start the server manually. I would like to start it at server boot but haven't got it to work and abanded it some time ago. I might try again in the near future. Maybe you can help me with that too.

    Lex

    What type of errors did you get when you compiled it?

    -- L. James

    --
    L. D. James
    ljames@apollo3.com
    www.apollo3.com/~ljames

    Comment


    • #3
      Hi James
      Thanks for your reply.

      I haven't recompiled this download as the download filename suggested to me from the name I could start it after compying the "unix" directory to my Ubuntu Server.

      Lex

      Comment


      • #4
        Originally posted by the whaler View Post
        Hi James
        Thanks for your reply.

        I haven't recompiled this download as the download filename suggested to me from the name I could start it after compying the "unix" directory to my Ubuntu Server.

        Lex
        Not having compiled it is the likely source of your problem.

        -- L. James

        --
        L. D. James
        ljames@apollo3.com
        www.apollo3.com/~ljames

        Comment


        • #5
          Thanks for you response James.
          But next question, I haven't done that in a long time.
          I see some steps in the release notes, but it's not working.

          I copied the fsd-ubuntu (with this name I really thought it would work out of the box on my ubuntu server) to a folder on the server.

          went into the directory and typed ./configure.
          File or dir does not excist.

          Went in the fsd dir within here, same results

          Code:
          lex@ubuntu:/home/fsd/fsd-ubuntu$ ./configure
          -bash: ./configure: Bestand of map bestaat niet
          lex@ubuntu:/home/fsd/fsd-ubuntu$ cd fsd
          lex@ubuntu:/home/fsd/fsd-ubuntu/fsd$ ./configure
          -bash: ./configure: Bestand of map bestaat niet
          lex@ubuntu:/home/fsd/fsd-ubuntu/fsd$
          What am I doing wrong?

          PS came from this but it doensn't say in which dir.
          Code:
          Step 1 : Compiling
          ==================
          Configuration of the server code is handled by the GNU autoconf
          system. Type './configure' to configure the servercode. The preferred
          directories are these:
          
              Component        Directory
              ----------------------------------------------------------
              fsd server binary    /usr/local/sbin/
              fsd help files         /usr/local/etc/fsd/
          
          The configure script will ask you where the binary and the help files
          should be placed. If you are not root, make sure the path you specify
          here is accessible.
          After running the configure script, type 'make' and then 'make install'.
          Lex

          Comment


          • #6
            Originally posted by the whaler View Post
            Thanks for you response James.
            But next question, I haven't done that in a long time.
            I see some steps in the release notes, but it's not working.

            I copied the fsd-ubuntu (with this name I really thought it would work out of the box on my ubuntu server) to a folder on the server.

            went into the directory and typed ./configure.
            File or dir does not excist.

            Went in the fsd dir within here, same results

            Code:
            lex@ubuntu:/home/fsd/fsd-ubuntu$ ./configure
            -bash: ./configure: Bestand of map bestaat niet
            lex@ubuntu:/home/fsd/fsd-ubuntu$ cd fsd
            lex@ubuntu:/home/fsd/fsd-ubuntu/fsd$ ./configure
            -bash: ./configure: Bestand of map bestaat niet
            lex@ubuntu:/home/fsd/fsd-ubuntu/fsd$
            What am I doing wrong?

            PS came from this but it doensn't say in which dir.
            Code:
            Step 1 : Compiling
            ==================
            Configuration of the server code is handled by the GNU autoconf
            system. Type './configure' to configure the servercode. The preferred
            directories are these:
            
                Component        Directory
                ----------------------------------------------------------
                fsd server binary    /usr/local/sbin/
                fsd help files         /usr/local/etc/fsd/
            
            The configure script will ask you where the binary and the help files
            should be placed. If you are not root, make sure the path you specify
            here is accessible.
            After running the configure script, type 'make' and then 'make install'.
            Lex
            You're right. Not "configure" script or file is in the directory.

            Go to the fsd-ubunt/fsd directory and run:

            Code:
            make clean
            make
            The results should give you a compilation for your Ubuntu OS in the unix directory.

            -- L. James

            --
            L. D. James
            ljames@apollo3.com
            www.apollo3.com/~ljames

            Comment


            • #7
              Hi James.

              No luck (I think).

              Code:
              lex@ubuntu:/home/fsd/fsd-ubuntu/fsd$ ./make clean
              -bash: ./make: Bestand of map bestaat niet
              lex@ubuntu:/home/fsd/fsd-ubuntu/fsd$ make clean
              rm -f main.o support.o manage.o interface.o servinterface.o clinterface.o sysinterface.o fsd.o cluser.o user.o servuser.o wprofile.o server.o client.o sysuser.o certificate.o mm.o process.o config.o authenticate.o
              lex@ubuntu:/home/fsd/fsd-ubuntu/fsd$ make
              c++ -O2   -c main.cpp
              make: c++: Opdracht niet gevonden
              make: *** [main.o] Fout 127
              lex@ubuntu:/home/fsd/fsd-ubuntu/fsd$
              I also tried with "sudo make clean"
              but that gave me the same.
              Code:
              lex@ubuntu:/home/fsd/fsd-ubuntu/fsd$ sudo make clean
              [sudo] password for lex:
              rm -f main.o support.o manage.o interface.o servinterface.o clinterface.o sysinterface.o fsd.o cluser.o user.o servuser.o wprofile.o server.o client.o sysuser.o certificate.o mm.o process.o config.o authenticate.o
              lex@ubuntu:/home/fsd/fsd-ubuntu/fsd$ sudo make
              c++ -O2   -c main.cpp
              make: c++: Opdracht niet gevonden
              make: *** [main.o] Fout 127
              lex@ubuntu:/home/fsd/fsd-ubuntu/fsd$
              any idea what the problem is?
              Lex

              Comment


              • #8
                Hi James,
                I'm going on holiday for 3 weeks from now so I won't check this forum in those weeks.
                I'll update when I'm back.
                Regards.
                Lex

                Comment


                • #9
                  Originally posted by the whaler View Post
                  Hi James.

                  No luck (I think).

                  Code:
                  lex@ubuntu:/home/fsd/fsd-ubuntu/fsd$ ./make clean
                  -bash: ./make: Bestand of map bestaat niet
                  lex@ubuntu:/home/fsd/fsd-ubuntu/fsd$ make clean
                  rm -f main.o support.o manage.o interface.o servinterface.o clinterface.o sysinterface.o fsd.o cluser.o user.o servuser.o wprofile.o server.o client.o sysuser.o certificate.o mm.o process.o config.o authenticate.o
                  lex@ubuntu:/home/fsd/fsd-ubuntu/fsd$ make
                  c++ -O2   -c main.cpp
                  make: c++: Opdracht niet gevonden
                  make: *** [main.o] Fout 127
                  lex@ubuntu:/home/fsd/fsd-ubuntu/fsd$
                  I also tried with "sudo make clean"
                  but that gave me the same.
                  Code:
                  lex@ubuntu:/home/fsd/fsd-ubuntu/fsd$ sudo make clean
                  [sudo] password for lex:
                  rm -f main.o support.o manage.o interface.o servinterface.o clinterface.o sysinterface.o fsd.o cluser.o user.o servuser.o wprofile.o server.o client.o sysuser.o certificate.o mm.o process.o config.o authenticate.o
                  lex@ubuntu:/home/fsd/fsd-ubuntu/fsd$ sudo make
                  c++ -O2   -c main.cpp
                  make: c++: Opdracht niet gevonden
                  make: *** [main.o] Fout 127
                  lex@ubuntu:/home/fsd/fsd-ubuntu/fsd$
                  any idea what the problem is?
                  Lex
                  How are you doing, Lex.

                  You left out the second command. Notice there are two commands. The first one is "make clean" the second one is "make".

                  I would discourage you from running "sudo make". Run them the way they were given.

                  Code:
                  $ make clean
                  $ make
                  -- L. James

                  --
                  L. D. James
                  ljames@apollo3.com
                  www.apollo3.com/~ljames

                  Comment


                  • #10
                    Originally posted by the whaler View Post
                    Hi James,
                    I'm going on holiday for 3 weeks from now so I won't check this forum in those weeks.
                    I'll update when I'm back.
                    Regards.
                    Lex
                    No problem... enjoy your holiday.

                    By the way, I'm on an 8 week holiday. This actually is giving me a little more time to contribute to support on the forums.

                    For me, something would be missing if I didn't attribute time to what I really enjoy!

                    I take my android tablet with me where ever I go. A holiday without it would leave a lot to be desired... if it were too much time.

                    -- L. James

                    --
                    L. D. James
                    ljames@apollo3.com
                    www.apollo3.com/~ljames

                    Comment


                    • #11
                      Hi James,
                      No luck without the "sudo" part either.

                      Code:
                      lex@ubuntu:/home/fsd/fsd-ubuntu/fsd$ make clean
                      rm -f main.o support.o manage.o interface.o servinterface.o clinterface.o sysinterface.o fsd.o cluser.o user.o servuser.o wprofile.o server.o client.o sysuser.o certificate.o mm.o process.o config.o authenticate.o
                      Code:
                      lex@ubuntu:/home/fsd/fsd-ubuntu/fsd$ make
                      c++ -O2   -c main.cpp
                      main.cpp: In functie ‚int main(int, char**)‚:
                      main.cpp:234:18: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                      Assembler messages:
                      Fatal error: can't create main.o: Permission denied
                      make: *** [main.o] Fout 1
                      lex@ubuntu:/home/fsd/fsd-ubuntu/fsd$
                      Any ideas.

                      PS: do enjoy your holiday!, ours was great.

                      Comment


                      • #12
                        Originally posted by the whaler View Post
                        Hi James,
                        No luck without the "sudo" part either.
                        Hi, Lex. Turbo shouldn't come into the picture. You should run the compiling as a normal user.

                        Code:
                        lex@ubuntu:/home/fsd/fsd-ubuntu/fsd$ make clean
                        rm -f main.o support.o manage.o interface.o servinterface.o clinterface.o sysinterface.o fsd.o cluser.o user.o servuser.o wprofile.o server.o client.o sysuser.o certificate.o mm.o process.o config.o authenticate.o
                        Code:
                        lex@ubuntu:/home/fsd/fsd-ubuntu/fsd$ make
                        c++ -O2   -c main.cpp
                        main.cpp: In functie ‚int main(int, char**)‚:
                        main.cpp:234:18: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                        Assembler messages:
                        Fatal error: can't create main.o: Permission denied
                        make: *** [main.o] Fout 1
                        lex@ubuntu:/home/fsd/fsd-ubuntu/fsd$
                        Any ideas.

                        PS: do enjoy your holiday!, ours was great.
                        Mine is great also. I'll be returning to work in a week. It appears that it went so fast. But again, it was and is great!

                        The log you posted indicate that you've having problems because you've created files that most likely belong to the "root" user and your normal user can't interface with them. You'll have to make a new directory for working with the source and work with them outside the sudo access.

                        Please notice in my previous message I discouraged you from using "sudo" for compiling.

                        Just create a folder, open the files in to that folder and run:

                        Code:
                        $ make clean
                        $ make
                        You should now have a successfully compiled code.

                        -- L. James

                        --
                        L. D. James
                        ljames@apollo3.com
                        www.apollo3.com/~ljames

                        Comment


                        • #13
                          Hi James.
                          I copied the files from the fsd folder from the download fsd-ubuntu into a new folder (called fsd-nieuw).
                          There I ran "make clean" "which looked ok.
                          I then ran "make" and I got a lot of messeges like

                          Code:
                           
                          ‚ [-Wwrite-strings]
                          sysuser.cpp: In memberfunctie ‚void sysuser::execwp(char**, int)‚:
                          sysuser.cpp:827:15: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                          sysuser.cpp:839:57: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                          sysuser.cpp:840:57: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                          sysuser.cpp:843:74: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                          as this was repeater a lot of times I could go back far enouph in putty to even copy the outcome of make clean.
                          So I redid the steps.

                          First what is in the dir (to be sure I have the correct files)
                          Code:
                          $ ls
                          attributes.h     cluser.h       interface.o  protocol.h         sysinterface.h
                          authenticate.c   cluser.o       main.cpp     server.cpp         sysinterface.o
                          authenticate.h   config.cpp     main.o       server.h           sysuser.cpp
                          authenticate.o   config.h       Makefile     server.o           sysuser.h
                          certificate.cpp  config.o       make.out     servinterface.cpp  sysuser.o
                          certificate.h    fsd.cpp        manage.cpp   servinterface.h    user.cpp
                          certificate.o    fsd.dsp        manage.h     servinterface.o    user.h
                          client.cpp       fsd.dsw        manage.o     servuser.cpp       user.o
                          client.h         fsd.h          mm.cpp       servuser.h         wprofile.cpp
                          client.o         fsd.o          mm.h         servuser.o         wprofile.h
                          clinterface.cpp  fsdpaths.h     mm.o         support.cpp        wprofile.o
                          clinterface.h    global.h       process.cpp  support.h
                          clinterface.o    interface.cpp  process.h    support.o
                          cluser.cpp       interface.h    process.o    sysinterface.cpp
                          $
                          then make clean
                          Code:
                          $ make clean
                          rm -f main.o support.o manage.o interface.o servinterface.o clinterface.o sysinterface.o fsd.o cluser.o user.o servuser.o wprofile.o server.o client.o sysuser.o certificate.o mm.o process.o config.o authenticate.o
                          $
                          another dir ( to e sure what is there now (and is less)

                          Code:
                          $ ls
                          attributes.h     cluser.h       interface.h  protocol.h         sysinterface.h
                          authenticate.c   config.cpp     main.cpp     server.cpp         sysuser.cpp
                          authenticate.h   config.h       Makefile     server.h           sysuser.h
                          certificate.cpp  fsd.cpp        make.out     servinterface.cpp  user.cpp
                          certificate.h    fsd.dsp        manage.cpp   servinterface.h    user.h
                          client.cpp       fsd.dsw        manage.h     servuser.cpp       wprofile.cpp
                          client.h         fsd.h          mm.cpp       servuser.h         wprofile.h
                          clinterface.cpp  fsdpaths.h     mm.h         support.cpp
                          clinterface.h    global.h       process.cpp  support.h
                          cluser.cpp       interface.cpp  process.h    sysinterface.cpp
                          $
                          Than make (and unfortunately I do not have everything but I menaged to get some from the beginning).


                          (then rest in next reply as the message is too long in this case for the forum)

                          Comment


                          • #14
                            continuing from previous message

                            Code:
                            $ make
                            c++ -O2   -c main.cpp
                            main.cpp: In functie ‚int main(int, char**)‚:
                            main.cpp:234:18: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            c++ -O2   -c support.cpp
                            In file included from support.cpp:20:0:
                            global.h:68:0: let op: "M_PI" opnieuw gedefinieerd [enabled by default]
                            /usr/include/math.h:367:0: note: dit is de locatie van de eerdere definitie
                            support.cpp: In functie ‚void addfile(char*, char*, ...)‚:
                            support.cpp:45:24: let op: formaat is geen stringconstante en er zijn geen formaat-argumenten [-Wformat-security]
                            support.cpp: In functie ‚void dblog(char*, int)‚:
                            support.cpp:288:33: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            c++ -O2   -c manage.cpp
                            Wwrite-strings]
                            
                            fsd.cpp:369:87: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            fsd.cpp: In memberfunctie ‚void fsd::makeconnections()‚:
                            fsd.cpp:387:57: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            fsd.cpp:389:52: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            fsd.cpp:406:63: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            
                            wprofile.cpp:249:12: let op: deprecated conversion from string constant to 
                            wprofile.cpp: In memberfunctie ‚int wprofile::parsesky(char**, int)‚:
                            wprofile.cpp:262:79: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            wprofile.cpp:262:79: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            wprofile.cpp:262:79: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            wprofile.cpp:262:79: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            wprofile.cpp:262:79: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            wprofile.cpp:262:79: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            wprofile.cpp:262:79: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            
                            sysuser.cpp:1040:34: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            sysuser.cpp:1045:30: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            sysuser.cpp: In memberfunctie ‚void sysuser::execdump(char**, int)‚:
                            sysuser.cpp:1051:36: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            sysuser.cpp:1062:57: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            sysuser.cpp:1067:25: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            sysuser.cpp:1070:31: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            sysuser.cpp: In memberfunctie ‚void sysuser::execrefmetar(char**, int)‚:
                            sysuser.cpp:1076:60: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            sysuser.cpp:1081:66: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            sysuser.cpp:1084:50: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            sysuser.cpp: In memberfunctie ‚void sysuser::execdump(char**, int)‚:
                            sysuser.cpp:1065:52: let op: ignoring return value of ‚ssize_t  write(int, const void*, size_t)‚, declared with attribute  warn_unused_result [-Wunused-result]
                            r*‚ [-Wwrite-strings]
                            certificate.cpp:12:1: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            certificate.cpp:12:1: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            certificate.cpp:12:1: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            certificate.cpp:12:1: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            certificate.cpp:12:1: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            certificate.cpp:12:1: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            certificate.cpp:12:1: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            certificate.cpp:12:1: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            certificate.cpp:12:1: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            c++ -O2   -c mm.cpp
                            mm.cpp: In constructor ‚mm::mm()‚:
                            mm.cpp:34:53: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            mm.cpp:35:56: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            mm.cpp:42:69: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            mm.cpp:44:43: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            mm.cpp:46:40: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            mm.cpp:48:44: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            mm.cpp:56:39: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            mm.cpp:57:42: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            mm.cpp:66:55: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            mm.cpp:69:53: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            mm.cpp:70:54: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            mm.cpp:71:57: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            mm.cpp: In memberfunctie ‚void mm::setupnewfile()‚:
                            mm.cpp:160:19: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            mm.cpp:166:22: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            mm.cpp:167:56: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            mm.cpp: In memberfunctie ‚void mm::startdownload()‚:
                            mm.cpp:198:61: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            mm.cpp:205:57: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            mm.cpp:212:76: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            mm.cpp:222:72: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            mm.cpp:242:63: let op: format ‚%d‚ expects argument of type ‚int‚, but argument 3 has type ‚long unsigned int‚ [-Wformat]
                            mm.cpp:242:63: let op: format ‚%d‚ expects argument of type ‚int‚, but argument 4 has type ‚long unsigned int‚ [-Wformat]
                            mm.cpp:242:63: let op: format ‚%d‚ expects argument of type ‚int‚, but argument 5 has type ‚long unsigned int‚ [-Wformat]
                            mm.cpp:242:63: let op: format ‚%d‚ expects argument of type ‚int‚, but argument 6 has type ‚long unsigned int‚ [-Wformat]
                            mm.cpp:258:58: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            mm.cpp: In memberfunctie ‚void mm::dodownload()‚:
                            mm.cpp:266:67: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            mm.cpp:315:74: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            mm.cpp:325:63: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            mm.cpp:324:45: let op: ignoring return value of ‚ssize_t write(int,  const void*, size_t)‚, declared with attribute warn_unused_result  [-Wunused-result]
                            mm.cpp: In memberfunctie ‚void mm::startdownload()‚:
                            mm.cpp:250:40: let op: ignoring return value of ‚ssize_t write(int,  const void*, size_t)‚, declared with attribute warn_unused_result  [-Wunused-result]
                            mm.cpp:257:40: let op: ignoring return value of ‚ssize_t write(int,  const void*, size_t)‚, declared with attribute warn_unused_result  [-Wunused-result]
                            c++ -O2   -c process.cpp
                            c++ -O2   -c config.cpp
                            config.cpp: In constructor ‚configmanager::configmanager(char*)‚:
                            config.cpp:131:60: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            config.cpp:133:57: let op: deprecated conversion from string constant to ‚char*‚ [-Wwrite-strings]
                            gcc -O2   -c authenticate.c
                            c++ -O2 main.o support.o manage.o interface.o servinterface.o  clinterface.o sysinterface.o fsd.o cluser.o user.o servuser.o wprofile.o  server.o client.o sysuser.o certificate.o mm.o process.o config.o  authenticate.o -lnsl -lm  -static -o ../unix/fsd
                            support.o: In function `findhostname(unsigned long, char*)':
                            support.cpp:(.text+0x4c0): warning: Using 'gethostbyaddr' in statically  linked applications requires at runtime the shared libraries from the  glibc version used for linking
                            interface.o: In function `tcpinterface::allow(char*)':
                            interface.cpp:(.text+0x6eb): warning: Using 'gethostbyname' in  statically linked applications requires at runtime the shared libraries  from the glibc version used for linking
                            $
                            another dir to see what is there

                            Code:
                            $ ls
                            attributes.h     cluser.h       interface.o  protocol.h         sysinterface.h
                            authenticate.c   cluser.o       main.cpp     server.cpp         sysinterface.o
                            authenticate.h   config.cpp     main.o       server.h           sysuser.cpp
                            authenticate.o   config.h       Makefile     server.o           sysuser.h
                            certificate.cpp  config.o       make.out     servinterface.cpp  sysuser.o
                            certificate.h    fsd.cpp        manage.cpp   servinterface.h    user.cpp
                            certificate.o    fsd.dsp        manage.h     servinterface.o    user.h
                            client.cpp       fsd.dsw        manage.o     servuser.cpp       user.o
                            client.h         fsd.h          mm.cpp       servuser.h         wprofile.cpp
                            client.o         fsd.o          mm.h         servuser.o         wprofile.h
                            clinterface.cpp  fsdpaths.h     mm.o         support.cpp        wprofile.o
                            clinterface.h    global.h       process.cpp  support.h
                            clinterface.o    interface.cpp  process.h    support.o
                            cluser.cpp       interface.h    process.o    sysinterface.cpp
                            $
                            but then the question is now what?

                            Any help would be apreciated as ever.
                            Regards.
                            Lex

                            Comment


                            • #15
                              Hi James.
                              As often the case, redoing the steps often helps.

                              I started again from scratch and did the make clean/make steps again from within the fsd directory and it seemed to work now. I now could start the server in the normal way (./fsd &) and it indeed started.

                              I have not been able to test it from where I am now (laptop in front of the house, due to the nice weather at the moment, but I will test it at least later tonight.

                              I'll keep you posted on any progress and if the hickups now are gone (during last Tuesday's session I heard again that the flyers got blocked after about 2.5 hours).

                              Regards
                              Lex

                              Comment

                              Working...
                              X