Opened 5 weeks ago

Last modified 5 weeks ago

#59559 new defect

dsniff @2.4b1_2: error: use of undeclared identifier 'R_NOOVERWRITE'

Reported by: dlamija (Muhammed Ramiza) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: catalina Cc:
Port: dsniff

Description

found some error use of undeclared identifier 'R_NOOVERWRITE'

:info:build ./record.c:133:30: error: use of undeclared identifier 'R_NOOVERWRITE'
:info:build         if (db->put(db, key, &data, R_NOOVERWRITE) == 0)
:info:build                                     ^
:info:build ./record.c:146:13: error: no member named 'seq' in 'struct __db'
:info:build         while (db->seq(db, &key, &data, R_NEXT) == 0) { 
:info:build                ~~  ^
:info:build ./record.c:146:34: error: use of undeclared identifier 'R_NEXT'
:info:build         while (db->seq(db, &key, &data, R_NEXT) == 0) { 
:info:build                                         ^

all this error is related to db data structure : db.h?

on previous OS it has a problem detecting berkely DB 1.85 as installed db48 do not provide a relevant DB 1.85. But it's solved by installing db44 which is now deprecated in favour or db48

Attachments (1)

main.log (92.3 KB) - added by dlamija (Muhammed Ramiza) 5 weeks ago.
main.log

Download all attachments as: .zip

Change History (3)

Changed 5 weeks ago by dlamija (Muhammed Ramiza)

Attachment: main.log added

main.log

comment:1 Changed 5 weeks ago by jmroot (Joshua Root)

I'm not sure if it's worth trying to fix this version of dsniff, which dates from 2002. There seems to be a much newer (but still pretty old) python rewrite at https://github.com/dugsong/dsniff.

comment:2 Changed 5 weeks ago by ryandesign (Ryan Schmidt)

Summary: dsniff @2.4b1_2 failed to bulid on catalina 10.15.1dsniff @2.4b1_2: error: use of undeclared identifier 'R_NOOVERWRITE'
Note: See TracTickets for help on using tickets.