Date: Wed, 7 Apr 2004 08:56:54 -0500 From: Eric De la Cruz Lugo <eric@iteso.mx> To: freebsd-questions@freebsd.org Subject: Compilation problems... Message-ID: <1081346214.407408a6bab7f@iteso.mx>
next in thread | raw e-mail | index | archive | help
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 ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1081346214.407408a6bab7f>