Seems like a linear combination of devel files, installed devel files
and installed sigrok-cli is not linearly independent.

I guess I won't be hearing the end of this on IRC. See you guys tomorrow. :)

Alex

On 10/24/2012 08:35 PM, Alex G. wrote:
> I'm getting a segfault with the latest official tree
> (6f669a68e77a8a8fe4e62d66851cd894d72538dd).
> 
> ** With vanilla libsigrok
> 
> [mrnuke@nukeserv1 libsigrok]$ sigrok-cli
> --driver=radioshack-dmm:conn=/dev/ttyUSB0 --samples 1000 -O analog -l 5
> sr: libsigrok loglevel set to 5.
> srd: libsigrokdecode loglevel set to 5.
> Segmentation fault
> [mrnuke@nukeserv1 libsigrok]
> 
> *** And if we omit the "-l 5"
> 
> [mrnuke@nukeserv1 libsigrok]$ sigrok-cli
> --driver=radioshack-dmm:conn=/dev/ttyUSB0 --samples 1000 -O analog
> sr: sr_init(): libsigrok context was NULL.
> [mrnuke@nukeserv1 libsigrok]$
> 
> ** Then I'm thinking maybe sigrok-cli is outdated, so I pull the latest
> sources:
> 
>   CC     sigrok-cli.o
> ../sigrok-cli.c: In function ‘datafeed_in’:
> ../sigrok-cli.c:545:26: warning: variable ‘analog_probelist’ set but not
> used [-Wunused-but-set-variable]
> ../sigrok-cli.c: In function ‘main’:
> ../sigrok-cli.c:1502:2: error: too many arguments to function ‘sr_init’
> In file included from /usr/include/libsigrok/libsigrok.h:564:0,
>                  from ../sigrok-cli.c:33:
> /usr/include/libsigrok/proto.h:25:44: note: declared here
> ../sigrok-cli.c:1544:3: error: too many arguments to function ‘sr_exit’
> In file included from /usr/include/libsigrok/libsigrok.h:564:0,
>                  from ../sigrok-cli.c:33:
> /usr/include/libsigrok/proto.h:26:44: note: declared here
> make[2]: *** [sigrok-cli.o] Error 1
> 
> 
> What did you guys break?
> 
> Alex
> 


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to