Re: [Linuxwacom-devel] building 0.17.0 fails

2012-09-21 Thread Peter Hutterer
On Thu, Sep 06, 2012 at 09:54:01AM -0700, Jason Gerecke wrote:
 From 1e1d26f088ff65749c748439d749703cc5dcdaf2 Mon Sep 17 00:00:00 2001
 From: Jason Gerecke killert...@gmail.com
 Date: Thu, 6 Sep 2012 09:41:26 -0700
 Subject: [PATCH] Add LogMessageVerbSigSafe to fake-symbols
 
 Somehow overlooked this while adding 'xf86MsgVerb' to fake-symbols.
 Oops.
 
 Signed-off-by: Jason Gerecke killert...@gmail.com

Reviewed-by: Peter Hutterer peter.hutte...@who-t.net

Cheers,
   Peter

 ---
  test/fake-symbols.c | 5 +
  test/fake-symbols.h | 1 +
  2 files changed, 6 insertions(+)
 
 diff --git a/test/fake-symbols.c b/test/fake-symbols.c
 index 800c619..9ed632b 100644
 --- a/test/fake-symbols.c
 +++ b/test/fake-symbols.c
 @@ -325,6 +325,11 @@ InitProximityClassDeviceStruct(DeviceIntPtr dev)
  return 0;
  }
  
 +_X_EXPORT void
 +LogMessageVerbSigSafe(MessageType type, int verb, const char *format, ...)
 +{
 + return;
 +}
  
  _X_EXPORT void
  xf86MsgVerb(MessageType type, int verb, const char *format, ...)
 diff --git a/test/fake-symbols.h b/test/fake-symbols.h
 index f180085..4b28745 100644
 --- a/test/fake-symbols.h
 +++ b/test/fake-symbols.h
 @@ -121,6 +121,7 @@ XIRegisterPropertyHandler(DeviceIntPtr dev,
int (*DeleteProperty) (DeviceIntPtr dev,
   Atom property));
  extern int InitProximityClassDeviceStruct(DeviceIntPtr dev);
 +extern void LogMessageVerbSigSafe(MessageType type, int verb, const char 
 *format, ...);
  extern void xf86MsgVerb(MessageType type, int verb, const char *format, ...);
  extern void xf86Msg(MessageType type, const char *format, ...);
  
 -- 
 1.7.12
 


--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel


Re: [Linuxwacom-devel] building 0.17.0 fails

2012-09-07 Thread Timo Aaltonen
On 06.09.2012 19:54, Jason Gerecke wrote:
 On Thu, Sep 6, 2012 at 4:13 AM, Timo Aaltonen tjaal...@ubuntu.com wrote:

 building against headers from xserver 1.13rc5:

 ./.libs/libwacom-test.a(libwacom_test_la-xf86Wacom.o): In function
 `wcmDevControlProc':
 /«PKGBUILDDIR»/build/test/../../src/xf86Wacom.c:710: undefined reference
 to `LogMessageVerbSigSafe'
 ./.libs/libwacom-test.a(libwacom_test_la-xf86Wacom.o): In function
 `wcmDevChangeControl':
 /«PKGBUILDDIR»/build/test/../../src/xf86Wacom.c:695: undefined reference
 to `LogMessageVerbSigSafe'
 /«PKGBUILDDIR»/build/test/../../src/xf86Wacom.c:695: undefined reference
 to `LogMessageVerbSigSafe'
 ./.libs/libwacom-test.a(libwacom_test_la-xf86Wacom.o): In function
 `wcmDevClose':
 /«PKGBUILDDIR»/build/test/../../src/xf86Wacom.c:731: undefined reference
 to `LogMessageVerbSigSafe'
 /«PKGBUILDDIR»/build/test/../../src/xf86Wacom.c:731: undefined reference
 to `LogMessageVerbSigSafe'
 ./.libs/libwacom-test.a(libwacom_test_la-xf86Wacom.o):/«PKGBUILDDIR»/build/test/../../src/xf86Wacom.c:724:
 more undefined references to `LogMessageVerbSigSafe' follow
 collect2: error: ld returned 1 exit status


 lots of other warnings too, full build log at
 http://pastebin.com/T0Jv56DD


 --
 t

 
 It looks like your build system is running a distcheck, which is known
 to produce lots of (harmless) warnings. The error itself appears to be
 caused by us not informing the test suite of the
 LogMessageVerbSigSafe function that is now used with xserver =
 1.13.
 
 Let me know if the attached patch fixes the build or not.

Yup, that did it, thanks!

-- 
t

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel


Re: [Linuxwacom-devel] building 0.17.0 fails

2012-09-06 Thread Jason Gerecke
On Thu, Sep 6, 2012 at 4:13 AM, Timo Aaltonen tjaal...@ubuntu.com wrote:

 building against headers from xserver 1.13rc5:

 ./.libs/libwacom-test.a(libwacom_test_la-xf86Wacom.o): In function
 `wcmDevControlProc':
 /«PKGBUILDDIR»/build/test/../../src/xf86Wacom.c:710: undefined reference
 to `LogMessageVerbSigSafe'
 ./.libs/libwacom-test.a(libwacom_test_la-xf86Wacom.o): In function
 `wcmDevChangeControl':
 /«PKGBUILDDIR»/build/test/../../src/xf86Wacom.c:695: undefined reference
 to `LogMessageVerbSigSafe'
 /«PKGBUILDDIR»/build/test/../../src/xf86Wacom.c:695: undefined reference
 to `LogMessageVerbSigSafe'
 ./.libs/libwacom-test.a(libwacom_test_la-xf86Wacom.o): In function
 `wcmDevClose':
 /«PKGBUILDDIR»/build/test/../../src/xf86Wacom.c:731: undefined reference
 to `LogMessageVerbSigSafe'
 /«PKGBUILDDIR»/build/test/../../src/xf86Wacom.c:731: undefined reference
 to `LogMessageVerbSigSafe'
 ./.libs/libwacom-test.a(libwacom_test_la-xf86Wacom.o):/«PKGBUILDDIR»/build/test/../../src/xf86Wacom.c:724:
 more undefined references to `LogMessageVerbSigSafe' follow
 collect2: error: ld returned 1 exit status


 lots of other warnings too, full build log at
 http://pastebin.com/T0Jv56DD


 --
 t


It looks like your build system is running a distcheck, which is known
to produce lots of (harmless) warnings. The error itself appears to be
caused by us not informing the test suite of the
LogMessageVerbSigSafe function that is now used with xserver =
1.13.

Let me know if the attached patch fixes the build or not.

Jason

---
Day xee-nee-svsh duu-'ushtlh-ts'it;
nuu-wee-ya' duu-xan' 'vm-nvshtlh-ts'it.
Huu-chan xuu naa~-gha.


0001-Add-LogMessageVerbSigSafe-to-fake-symbols.patch
Description: Binary data
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel