From owner-freebsd-questions@FreeBSD.ORG Wed Apr 7 07:21:23 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1879A16A4CE; Wed, 7 Apr 2004 07:21:23 -0700 (PDT) Received: from iteso.mx (iteso.mx [148.201.1.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA41443D49; Wed, 7 Apr 2004 07:21:22 -0700 (PDT) (envelope-from eric@iteso.mx) Received: from iteso.mx (localhost [127.0.0.1]) by iteso.mx (8.12.3/8.12.3/Debian-6.6) with ESMTP id i37DgJgf009629 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 7 Apr 2004 08:42:19 -0500 Received: (from www-data@localhost) by iteso.mx (8.12.3/8.12.3/Debian-6.6) id i37DgJ52009628; Wed, 7 Apr 2004 08:42:19 -0500 From: Eric De la Cruz Lugo X-Authentication-Warning: iteso.mx: www-data set sender to eric@iteso.mx using -f Received: from 148.240.117.205 ([148.240.117.205]) by iteso.mx (IMP) with HTTP for ; Wed, 7 Apr 2004 08:42:19 -0500 Message-ID: <1081345339.4074053b58bd0@iteso.mx> Date: Wed, 7 Apr 2004 08:42:19 -0500 To: freebsd_questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 X-Originating-IP: 148.240.117.205 X-Virus-Scanned: clamd / ClamAV version 0.67+CVS20040305, clamav-milter version 0.67j cc: questions@freebsd.org Subject: Compilation problems... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Apr 2004 14:21:23 -0000 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. terra# SOCK_PACKET is declared in which header?. hope some one can help on this. Thanksin advance. Eric De La Cruz Lugo Merida, Yucatan. Mexico. ---