From owner-freebsd-questions@FreeBSD.ORG Wed Apr 7 07:21:22 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 7279016A4CE for ; Wed, 7 Apr 2004 07:21:22 -0700 (PDT) Received: from iteso.mx (iteso.mx [148.201.1.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A0E043D49 for ; 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 i37Dusgf012309 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 7 Apr 2004 08:56:54 -0500 Received: (from www-data@localhost) by iteso.mx (8.12.3/8.12.3/Debian-6.6) id i37Dus6g012308 for freebsd-questions@freebsd.org; Wed, 7 Apr 2004 08:56:54 -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:56:54 -0500 Message-ID: <1081346214.407408a6bab7f@iteso.mx> Date: Wed, 7 Apr 2004 08:56:54 -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 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:22 -0000 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 #include #include #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 ---