Compilation problems...
Eric De la Cruz Lugo
eric at iteso.mx
Wed Apr 7 07:21:22 PDT 2004
Hi All, am having problems compiling a code, here is the output from make:
terra# make
make all-recursive
Making all in src
if g++ -I. -I. -I.. -O6 -I/usr/include/bhpos -I'/usr/local/include/
mysql' -g -O2 -MT servmsg.o -MD -MP -MF ".deps/servmsg.Tpo" -c -o servmsg.o
`test -f 'servmsg.cpp' || echo './'`servmsg.cpp; then mv ".deps/servmsg.Tpo"
".deps/servmsg.Po"; else rm -f ".deps/servmsg.Tpo"; exit 1; fi
servmsg.cpp: In function `int serviceSystemWake(PLUServer*, BhPosMsg*)':
servmsg.cpp:461: error: `SOCK_PACKET' undeclared (first use this function)
servmsg.cpp:461: error: (Each undeclared identifier is reported only once for
each function it appears in.)
*** Error code 1
Stop in /home/eric/banana/plusd-1.2.1/src.
*** Error code 1
Stop in /home/eric/banana/plusd-1.2.1.
*** Error code 1
Stop in /home/eric/banana/plusd-1.2.1.
terra#
-
Hope some ona can help on this, there is a missing header that I shoud know?
the headers in this code are:
#include <cstdio>
#include <cstring>
#include <sys/socket.h>
#include "pos.h"
#include "msgq.h"
#include "plusd.h"
#include "bhmsgq.cpp"
the order is Ok?
thanks in advance.
Eric De La Cruz Lugo
Merida, Yucatan, Mexico
The Maya Land
---
More information about the freebsd-questions
mailing list