Compilation problems...

Kris Kennaway kris at
Wed Apr 7 20:52:50 PDT 2004

On Wed, Apr 07, 2004 at 08:42:19AM -0500, Eric De la Cruz Lugo wrote:
> 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 

> SOCK_PACKET is declared in which header?. 

kkenn at rot26:~ grep -r SOCK_PACKET /usr/include/
kkenn at rot26:~

i.e. it's defined in no FreeBSD header.  Check the documentation for
missing dependencies or complain to the author.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list