Sorry about taking so long to get back to you about the patch.  I just 
grabbed everything from cvs and ran a generic configure, make, and 
everything seems to compile fine.  After a make install, when im running 
'btool' i get the following:


[EMAIL PROTECTED] ~]$ sudo btool
Blackberry devices found:
Device ID: 0xXXXXXX. PIN: XXXXXX, Description: RIM 8800 Series Colour 
CDMA Handheld
Using device (PIN): XXXXX
[EMAIL PROTECTED] ~]$


So it looks like it can see the device.  Other than not seing the 'not 
enough power' message on the LCD, is there a way to check that its 
sending out a charge to it?  I remember seeing something along the lines 
of 'bcharge sets BLAH'..

[EMAIL PROTECTED] ~]$ sudo cat /var/log/messages | grep bcharge
[EMAIL PROTECTED] ~]$


I went back and tried to recompile with opensync and gui, but you said 
those shouldnt work anyway right?


[EMAIL PROTECTED] barry]$ ./configure --enable-gui 
--enable-opensync-plugin
--snip--
[EMAIL PROTECTED] barry]$ make
--snip--
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I.. -I/home/jpriddy/apps/barry/cvs/barry -I/usr/include/opensync-1.0 
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   
-I/usr/local/include     -Wall -Werror -D__BARRY_HAVE_GCCVISIBILITY__ 
-fvisibility=hidden -g -O2 -MT barry_sync.lo -MD -MP -MF 
.deps/barry_sync.Tpo -c -o barry_sync.lo barry_sync.cc
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I.. -I/home/jpriddy/apps/barry/cvs/barry 
-I/usr/include/opensync-1.0 -I/usr/include/glib-2.0 
-I/usr/lib64/glib-2.0/include -I/usr/local/include -Wall -Werror 
-D__BARRY_HAVE_GCCVISIBILITY__ -fvisibility=hidden -g -O2 -MT 
barry_sync.lo -MD -MP -MF .deps/barry_sync.Tpo -c barry_sync.cc  -fPIC 
-DPIC -o .libs/barry_sync.o
barry_sync.cc:43: error: variable or field 'get_info' declared void
barry_sync.cc:43: error: 'OSyncEnv' was not declared in this scope
barry_sync.cc:43: error: 'env' was not declared in this scope
barry_sync.cc: In function 'void GetChanges(OSyncContext*, 
BarryEnvironment*, DatabaseSyncState*, const char*, const char*, const 
char*, char* (*)(BarryEnvironment*, unsigned int, unsigned int))':



John Priddy wrote:
> I am more than happy to test with cvs.  I am certainly no developer -- 
> but I imagine i can figure it out myself or get someone at work to walk 
> me through the details.  I will look into doing so tomorrow and follow 
> up with the results.
>
> I don't really require any gui's -- ill be happy enough not having to 
> drag along a wall charger when I travel.  Thanks for your help.
>
> John
>
>
> Chris Frey wrote:
>   
>> On Tue, May 27, 2008 at 11:02:14PM -0400, John Priddy wrote:
>>   
>>     
>>> BTW it sounds like nobody else has attempted to build this on fc9 yet? I 
>>> have run into a number of other minor issues with regards to not having 
>>> the 32bit libs installed when I ran the same on fc8 64bit, but that was 
>>> via rpmbuild, not from source. So im not sure if that makes a difference.
>>>     
>>>       
>> Yours is the first report I've had, and I haven't gotten to FC9 yet.
>>
>> Your help in testing the compile process would be much appreciated.
>> Please report any errors you find.  And if you can test CVS, even better.
>> Even just running the compile process is good.
>>
>> Thanks to the power of git, it wasn't too hard to whip up a patch for 0.12,
>> but this doesn't fix the GUI issues, just the base library, utils, and
>> plugin.
>>
>> CVS is at the stage where it's ready for version 0.13 release, except
>> I'm working on documentation and binary packaging, so don't be afraid
>> of instability.
>>
>> Thanks!
>> - Chris
>>
>>
>> This patch applies to a clean 0.12 tree.
>>
>>
>> From: Chris Frey <[EMAIL PROTECTED]>
>> Date: Tue, 27 May 2008 23:30:47 -0400
>> Subject: [PATCH] Fixed most gcc 4.3.x compile errors.
>>
>> Fixed compile errors in library, utils, and plugin when compiling
>> with new gcc 4.3.x... gui not yet finished.
>> ---
>>  examples/addcalendar.cc            |    1 +
>>  opensync-plugin/src/barry_sync.cc  |    4 +---
>>  opensync-plugin/src/environment.cc |    1 +
>>  opensync-plugin/src/vcard.cc       |    1 +
>>  opensync-plugin/src/vevent.cc      |    1 +
>>  src/controller.cc                  |    1 +
>>  src/data.cc                        |    2 ++
>>  src/error.cc                       |    1 +
>>  src/ldif.cc                        |    1 +
>>  src/packet.cc                      |    1 +
>>  src/r_calendar.cc                  |    1 +
>>  src/r_task.cc                      |    1 +
>>  src/record.cc                      |    1 +
>>  src/socket.cc                      |    1 +
>>  tools/bs11nread.cc                 |    1 +
>>  tools/btool.cc                     |    1 +
>>  tools/btranslate.cc                |    3 +++
>>  17 files changed, 20 insertions(+), 3 deletions(-)
>>
>> diff --git a/examples/addcalendar.cc b/examples/addcalendar.cc
>> index c4ea47b..75cb272 100644
>> --- a/examples/addcalendar.cc
>> +++ b/examples/addcalendar.cc
>> @@ -22,6 +22,7 @@
>>  
>>  #define _XOPEN_SOURCE
>>  #include <time.h>
>> +#include <string.h>
>>  #include <barry/barry.h>
>>  #include <iostream>
>>  
>> diff --git a/opensync-plugin/src/barry_sync.cc 
>> b/opensync-plugin/src/barry_sync.cc
>> index f70e7d6..65494c6 100644
>> --- a/opensync-plugin/src/barry_sync.cc
>> +++ b/opensync-plugin/src/barry_sync.cc
>> @@ -29,9 +29,7 @@
>>  #include <string>
>>  #include <glib.h>
>>  #include <stdint.h>
>> -//#include <stdlib.h>
>> -//#include <string.h>
>> -//#include <assert.h>
>> +#include <string.h>
>>  
>>  // All functions that are callable from outside must look like C
>>  extern "C" {
>> diff --git a/opensync-plugin/src/environment.cc 
>> b/opensync-plugin/src/environment.cc
>> index 3090f4a..85cc8dd 100644
>> --- a/opensync-plugin/src/environment.cc
>> +++ b/opensync-plugin/src/environment.cc
>> @@ -26,6 +26,7 @@
>>  #include <fstream>
>>  #include <sstream>
>>  #include <iomanip>
>> +#include <string.h>
>>  
>>  
>>  
>> //////////////////////////////////////////////////////////////////////////////
>> diff --git a/opensync-plugin/src/vcard.cc b/opensync-plugin/src/vcard.cc
>> index e569aa5..97ef48b 100644
>> --- a/opensync-plugin/src/vcard.cc
>> +++ b/opensync-plugin/src/vcard.cc
>> @@ -25,6 +25,7 @@
>>  #include "vformat.h"                // comes from opensync, but not a 
>> public header yet
>>  #include <stdint.h>
>>  #include <glib.h>
>> +#include <string.h>
>>  #include <sstream>
>>  #include <ctype.h>
>>  
>> diff --git a/opensync-plugin/src/vevent.cc b/opensync-plugin/src/vevent.cc
>> index 6dc8839..85377ea 100644
>> --- a/opensync-plugin/src/vevent.cc
>> +++ b/opensync-plugin/src/vevent.cc
>> @@ -25,6 +25,7 @@
>>  #include "vformat.h"                // comes from opensync, but not a 
>> public header yet
>>  #include <stdint.h>
>>  #include <glib.h>
>> +#include <strings.h>
>>  #include <sstream>
>>  
>>  
>> diff --git a/src/controller.cc b/src/controller.cc
>> index 25a6da1..1b03821 100644
>> --- a/src/controller.cc
>> +++ b/src/controller.cc
>> @@ -29,6 +29,7 @@
>>  #include "builder.h"
>>  #include "endian.h"
>>  #include "packet.h"
>> +#include <string.h>
>>  
>>  #define __DEBUG_MODE__
>>  #include "debug.h"
>> diff --git a/src/data.cc b/src/data.cc
>> index 6098b64..6919793 100644
>> --- a/src/data.cc
>> +++ b/src/data.cc
>> @@ -25,6 +25,8 @@
>>  #include <iomanip>
>>  #include <string>
>>  #include <stdexcept>
>> +#include <string.h>
>> +#include <stdlib.h>
>>  
>>  //#define __DEBUG_MODE__
>>  #include "debug.h"
>> diff --git a/src/error.cc b/src/error.cc
>> index 8aeb128..5fcb242 100644
>> --- a/src/error.cc
>> +++ b/src/error.cc
>> @@ -21,6 +21,7 @@
>>  
>>  #include "error.h"
>>  #include <sstream>
>> +#include <string.h>
>>  
>>  using namespace std;
>>  
>> diff --git a/src/ldif.cc b/src/ldif.cc
>> index 845114d..55ea631 100644
>> --- a/src/ldif.cc
>> +++ b/src/ldif.cc
>> @@ -25,6 +25,7 @@
>>  #include <stdexcept>
>>  #include <iostream>
>>  #include <iomanip>
>> +#include <string.h>
>>  
>>  #define __DEBUG_MODE__
>>  #include "debug.h"
>> diff --git a/src/packet.cc b/src/packet.cc
>> index 185fb5b..c4238c6 100644
>> --- a/src/packet.cc
>> +++ b/src/packet.cc
>> @@ -30,6 +30,7 @@
>>  #include "parser.h"
>>  #include "builder.h"
>>  #include "error.h"
>> +#include <string.h>
>>  
>>  #define __DEBUG_MODE__
>>  #include "debug.h"
>> diff --git a/src/r_calendar.cc b/src/r_calendar.cc
>> index b4c62ee..9c85de9 100644
>> --- a/src/r_calendar.cc
>> +++ b/src/r_calendar.cc
>> @@ -30,6 +30,7 @@
>>  #include <ostream>
>>  #include <iomanip>
>>  #include <time.h>
>> +#include <string.h>
>>  #include <stdexcept>
>>  
>>  #define __DEBUG_MODE__
>> diff --git a/src/r_task.cc b/src/r_task.cc
>> index 34e09f0..cf877e7 100644
>> --- a/src/r_task.cc
>> +++ b/src/r_task.cc
>> @@ -28,6 +28,7 @@
>>  #include "debug.h"
>>  #include <ostream>
>>  #include <iomanip>
>> +#include <string.h>
>>  
>>  using namespace std;
>>  using namespace Barry::Protocol;
>> diff --git a/src/record.cc b/src/record.cc
>> index 154d97c..17760ef 100644
>> --- a/src/record.cc
>> +++ b/src/record.cc
>> @@ -35,6 +35,7 @@
>>  #include <ostream>
>>  #include <iomanip>
>>  #include <time.h>
>> +#include <string.h>
>>  #include <stdexcept>
>>  
>>  #define __DEBUG_MODE__
>> diff --git a/src/socket.cc b/src/socket.cc
>> index bad5487..e5d9fe4 100644
>> --- a/src/socket.cc
>> +++ b/src/socket.cc
>> @@ -30,6 +30,7 @@
>>  #include "endian.h"
>>  #include <openssl/sha.h>
>>  #include <sstream>
>> +#include <string.h>
>>  
>>  
>>  using namespace Usb;
>> diff --git a/tools/bs11nread.cc b/tools/bs11nread.cc
>> index 042319a..ee622d7 100644
>> --- a/tools/bs11nread.cc
>> +++ b/tools/bs11nread.cc
>> @@ -27,6 +27,7 @@
>>  #include <sstream>
>>  #include <vector>
>>  #include <string>
>> +#include <algorithm>
>>  #include <getopt.h>
>>  
>>  
>> diff --git a/tools/btool.cc b/tools/btool.cc
>> index 4738ea4..51bd38c 100644
>> --- a/tools/btool.cc
>> +++ b/tools/btool.cc
>> @@ -26,6 +26,7 @@
>>  #include <sstream>
>>  #include <vector>
>>  #include <string>
>> +#include <algorithm>
>>  #include <getopt.h>
>>  
>>  
>> diff --git a/tools/btranslate.cc b/tools/btranslate.cc
>> index ce91ff4..18c5ded 100644
>> --- a/tools/btranslate.cc
>> +++ b/tools/btranslate.cc
>> @@ -17,6 +17,9 @@
>>  #include <iostream>
>>  #include <iomanip>
>>  #include <sstream>
>> +#include <string.h>
>> +#include <stdlib.h>
>> +#include <limits.h>
>>  
>>  using namespace std;
>>  
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> Barry-devel mailing list
>> Barry-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/barry-devel
>>   
>>     
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Barry-devel mailing list
> Barry-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/barry-devel
>   


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to