Opened 7 years ago

Closed 7 years ago

#8012 closed defect (fixed)

tor current compile breakage "compat_libevent.c"

Reported by: yancm Owned by:
Priority: High Milestone: Tor: 0.2.4.x-final
Component: Core Tor/Tor Version: unspeficied
Severity: Keywords: tor-client
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

With NetBSD 5_Stable (i386), libevent-2.0.21,
tracking current tor.

Even after 'make clean' and autogen/configure...
I get:

CC src/common/compat_libevent.o

src/common/compat_libevent.c: In function 'tor_check_libevent_version':
src/common/compat_libevent.c:424: error: 'version' undeclared (first use in this function)
src/common/compat_libevent.c:424: error: (Each undeclared identifier is reported only once
src/common/compat_libevent.c:424: error: for each function it appears in.)
* Error code 1
Stop.

Unable to continue...

Child Tickets

Change History (6)

comment:1 Changed 7 years ago by nickm_mobile

Keywords: tor-client added
Milestone: Tor: unspecifiedTor: 0.2.4.x-final
Priority: normalmajor

I could swear I fixed that. What exact version of the master branch do you have?

comment:2 Changed 7 years ago by yancm

How do I check? I just type "git pull" and believe I am getting the latest dev version...

comment:3 Changed 7 years ago by yancm

Sorry, I think it is: 0.2.4.9-alpha-dev

comment:4 Changed 7 years ago by nickm

Status: newneeds_review

Please review the branch "bug8012" in my public git repository ; let me know if that fixes it for you too?

comment:5 Changed 7 years ago by yancm

The changes from the bug8012 branch in your public git rep. (to compat_libevent.c) solved the compile issue and the program appears to start normally now as well on my machine.

comment:6 Changed 7 years ago by nickm

Resolution: fixed
Status: needs_reviewclosed

Thanks for testing; I've applied the change to master.

Note: See TracTickets for help on using tickets.