Wednesday Mar 28, 2007

Squeezebox?


A rather off topic post, but considering the audience for this blog, someone might have some suggestions. I'm looking into replacing my stereo system at the moment, the trusty nad seperates that I have are starting to show their age (I got it eight years ago), and takes up just a little too much space. Now on the stereo front I am thinking about a micro system, and I'm torn between Onkyo CR-515DAB, the Teac CRH255 and the Marantz CR-601, but I'm sure I'll reach a decision on one ;).

The real reason for this post is to ask about Slim Devices Squeezebox. Anyone have any experience with this? Looks interesting... but is it worth the price?

Monday Nov 13, 2006

X4200 Deconstruction and Reconstruction


One of our interns put together a very cool video of the deconstruction and reconstruction of an x4200. Take a look over on YouTube.

Tuesday Apr 19, 2005

libnjb on Solaris


My mp3 player is a Creative Zen Xtra (I just don't drink enough Martini to own an iProduct [1]). Anyway I obviously would prefer to use Solaris rather than Windows for this little gadget, so I compiled up gnomad2 which requires libnjb.

One of the issues compiling was a relatively common problem that I've encountered recently, that of types being defined for Linux but not for Solaris. The error in this case looks like

[fintanr@tiresias libnjb-2.0] $ make
cd src && make prefix=/usr/local
/usr/bin/bash ..//libtool --mode=compile gcc    -I/usr/local/include -DHAVE_GETOPT_H 
-DHAVE_LIBGEN_H -DHAVE_USLEEP -Wall -Wmissing-prototypes -c base.c
 gcc -I/usr/local/include -DHAVE_GETOPT_H -DHAVE_LIBGEN_H -DHAVE_USLEEP -Wall 
-Wmissing-prototypes -c base.c  -fPIC -DPIC -o .libs/base.o
In file included from base.c:9:
libnjb.h:163: error: syntax error before "u_int8_t"
libnjb.h:163: warning: no semicolon at end of struct or union
libnjb.h:164: warning: type defaults to `int' in declaration of `usb_interface'
libnjb.h:164: warning: data definition has no type or storage class
And when we take a look at libnjb.h we see that our types are assumed to be the those that are on Linux. Anyway the fix for this is simple, just add the following to libnjb.h
#ifdef __sun
#define u_int8_t uint8_t
#define u_int16_t uint16_t
#define u_int32_t uint32_t
#define u_int64_t uint64_t
#endif
and away you go. A patch has been submitted to the libnjb folks on Sourceforge all ready (the patch is actually for libnjb.h.in). If your really interested you can view it here.
[1] Actually I like the fact that I can replace the battery myself in the Zen.
About

fintanr

Search

Archives
« April 2014
MonTueWedThuFriSatSun
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today