pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/38647: Problem with obex.h (comms/openobex) header



>Number:         38647
>Category:       pkg
>Synopsis:       Problem with obex.h (comms/openobex) header
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 13 06:15:00 +0000 2008
>Originator:     Hasso Tepper
>Release:        DragonFly
>Organization:
>Environment:
DragonFly 1.13.0-DEVELOPMENT
>Description:
Code including both bluetooth.h and obex.h can not be compiled, for example 
comms/libsyncml:

/scratch/comms/libsyncml/work/.buildlink/include/openobex/obex.h:56: error: 
conflicting types for 'bdaddr_t'
/usr/include/netbt/bluetooth.h:57: error: previous declaration of 'bdaddr_t' 
was here

The problem is that bdaddr_t typedef in obex.h is masked for Linux (bluez) 
stack, but not for NetBSD stack.
>How-To-Repeat:
Try to compile some code including both including bluetooth.h and obex.h on 
platform using NetBSD bluetooth stack - NetBSD, OpenBSD or DragonFly.
>Fix:
The patch to fix the problem is available at 
http://leaf.dragonflybsd.org/~hasso/pkgsrc-comms-openobex.patch



Home | Main Index | Thread Index | Old Index