Menu

#1 compile error (FreeBSD 5.4)

open
nobody
None
5
2005-06-16
2005-06-16
Anonymous
No

Hello!

I try make dvbd-0.7.7 under FreeBSD 5.4 and receive error:

---
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3
-fomit-frame-pointer -Wall -MT
util
s.o -MD -MP -MF ".deps/utils.Tpo" -c -o utils.o `test
-f 'utils.cpp' ||
echo '.
/'`utils.cpp; then mv -f ".deps/utils.Tpo"
".deps/utils.Po"; else rm -f
".deps
/utils.Tpo"; exit 1; fi

utils.cpp: In function `bool readCredentials(int,
pid_t&, uid_t&, gid_t&)':

utils.cpp:105: error: `SO_PASSCRED' undeclared (first
use this function)

utils.cpp:105: error: (Each undeclared identifier is
reported only once for
each
function it appears in.)

utils.cpp:108: error: aggregate `ucred ucred' has
incomplete type and
cannot be
defined

utils.cpp:110: error: `SO_PEERCRED' undeclared (first
use this function)

*** Error code 1

Stop in /temp/dvbd-0.7.7/src.

*** Error code 1

Stop in /temp/dvbd-0.7.7/src.

*** Error code 1

Stop in /temp/dvbd-0.7.7.

*** Error code 1

Stop in /temp/dvbd-0.7.7.

Press any key to continue...

---

I need you help!

Discussion


Log in to post a comment.