Compilation problems...

Eric De la Cruz Lugo eric at
Wed Apr 7 07:21:23 PDT 2004

HI All, am having problems compiling a code, this is the output from the 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. 
SOCK_PACKET is declared in which header?. 
hope some one can help on this. 
Thanksin advance. 
Eric De La Cruz Lugo 
Merida, Yucatan. Mexico. 


More information about the freebsd-questions mailing list