PDA

View Full Version : Error to compile FSD...


Nery
09-15-2009, 06:40 PM
Hello friends anyone remembers how to compile the source code of FSD
I tried and receive a segmentation fault.
It is a problem of permissions in the file?
The command './configure' does nothing preconfigured

Thanks

L. D. James
09-16-2009, 01:09 AM
Hello friends anyone remembers how to compile the source code of FSD
I tried and receive a segmentation fault.
It is a problem of permissions in the file?
The command './configure' does nothing preconfigured

Thanks

"./configure" isn't a compile command. Typing that in would be an attempt to run a program. A compile command is "make".

-- L. James

--
L. D. James
ljames@apollo3.com
www.apollo3.com/~ljames (http://www.apollo3.com/%7Eljames)

Nery
09-17-2009, 12:39 AM
Helo L. D. James

I try to compile with the command "make" but got this message (please look at the image below)

http://img14.imageshack.us/img14/7995/sinttulo2ig.png

L. D. James
09-23-2009, 04:15 PM
It's hard to make out the the results by way of the image of the text. Try outputting the compilation to a text file and post the content.

Try this:

make clean
make >make.out 2>&1This will start a clean compilation session, then output the text and error messages to a file named make.out.

Post the content of the make.out text file.

For easy of reading post the text between "[ code ]" tags. That will be a "[ code ] and a [ /code ]", without the quotes and spaces.

-- L. James

--
L. D. James
ljames@apollo3.com
www.apollo3.com/~ljames (http://www.apollo3.com/%7Eljames)

Nery
09-28-2009, 01:33 AM
Hello
it's the result that i got

c++ -O2 -c main.cpp
c++ -O2 -c support.cpp
En el fichero incluído de support.cpp:20:
global.h:68:1: aviso: se redefinió "M_PI"
En el fichero incluído de support.cpp:17:
/usr/include/math.h:355:1: aviso: esta es la ubicación de la definición previa
c++ -O2 -c manage.cpp
c++ -O2 -c interface.cpp
c++ -O2 -c servinterface.cpp
c++ -O2 -c clinterface.cpp
c++ -O2 -c sysinterface.cpp
c++ -O2 -c fsd.cpp
c++ -O2 -c cluser.cpp
c++ -O2 -c user.cpp
c++ -O2 -c servuser.cpp
c++ -O2 -c wprofile.cpp
En el fichero incluído de wprofile.cpp:8:
global.h:68:1: aviso: se redefinió "M_PI"
En el fichero incluído de wprofile.cpp:5:
/usr/include/math.h:355:1: aviso: esta es la ubicación de la definición previa
c++ -O2 -c server.cpp
c++ -O2 -c client.cpp
En el fichero incluído de client.cpp:12:
global.h:68:1: aviso: se redefinió "M_PI"
En el fichero incluído de client.cpp:7:
/usr/include/math.h:355:1: aviso: esta es la ubicación de la definición previa
c++ -O2 -c sysuser.cpp
c++ -O2 -c certificate.cpp
c++ -O2 -c mm.cpp
c++ -O2 -c process.cpp
c++ -O2 -c config.cpp
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+0x661): 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::adduser(char*, int, absuser*)':
interface.cpp:(.text+0x177): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

L. D. James
09-30-2009, 10:11 PM
Hello
it's the result that i got

...

Looking at the output I don't see any fatal errors.

Does the resulting fsd file work when you try to run the application?

-- L. James

--
L. D. James
ljames@apollo3.com
www.apollo3.com/~ljames (http://www.apollo3.com/%7Eljames)