Loading ...
Sorry, an error occurred while loading the content.

Re: [softrock40] Re: New file uploaded to softrock40

Expand Messages
  • Sid Boyce
    ... # grep usb_dev_handle /usr/include/usb.h struct usb_dev_handle; typedef struct usb_dev_handle usb_dev_handle; usb_dev_handle *usb_open(struct usb_device
    Message 1 of 615 , May 10 2:35 PM
    • 1 Attachment
    • 3 KB
    andrew.nilsson wrote:
    >
    >
    >
    > Good to hear. I made a last minute change on my macbook and recompiled
    > it there hence the core foundation. Doh. I'll fix that, along with the
    > warnings below.
    >
    > The token errors look like it can't find the definitions it needs in the
    > usb.h file but that doesn't make sense. Will have a think about that.
    > Can you grep the usb.h file for the string "usb_dev_handle"?
    >
    > Andrew
    >
    >>
    # grep usb_dev_handle /usr/include/usb.h
    struct usb_dev_handle;
    typedef struct usb_dev_handle usb_dev_handle;
    usb_dev_handle *usb_open(struct usb_device *dev);
    int usb_close(usb_dev_handle *dev);
    int usb_get_string(usb_dev_handle *dev, int index, int langid, char *buf,
    int usb_get_string_simple(usb_dev_handle *dev, int index, char *buf,
    int usb_get_descriptor_by_endpoint(usb_dev_handle *udev, int ep,
    int usb_get_descriptor(usb_dev_handle *udev, unsigned char type,
    int usb_bulk_write(usb_dev_handle *dev, int ep, char *bytes, int size,
    int usb_bulk_read(usb_dev_handle *dev, int ep, char *bytes, int size,
    int usb_interrupt_write(usb_dev_handle *dev, int ep, char *bytes, int size,
    int usb_interrupt_read(usb_dev_handle *dev, int ep, char *bytes, int size,
    int usb_control_msg(usb_dev_handle *dev, int requesttype, int request,
    int usb_set_configuration(usb_dev_handle *dev, int configuration);
    int usb_claim_interface(usb_dev_handle *dev, int interface);
    int usb_release_interface(usb_dev_handle *dev, int interface);
    int usb_set_altinterface(usb_dev_handle *dev, int alternate);
    int usb_resetep(usb_dev_handle *dev, unsigned int ep);
    int usb_clear_halt(usb_dev_handle *dev, unsigned int ep);
    int usb_reset(usb_dev_handle *dev);
    int usb_get_driver_np(usb_dev_handle *dev, int interface, char *name,
    int usb_detach_kernel_driver_np(usb_dev_handle *dev, int interface);
    struct usb_device *usb_device(usb_dev_handle *dev);

    Somewhere below a horrible corruption, it should be
    expected ')' before '*'

    I haven't got the UBW connected to the Si570 at present, but I see the
    UBW in both kubuntu and the native openSUSE. I also scp usbsoftrock
    binary across from kubuntu and it doesn't complain, though the acid test
    will be when I connect to the Si570.
    73 ... Sid.


    >> I got it to build on Kubuntu after installing libusb-dev and removing
    >> CoreFoundation from the Makefile.
    >> On openSUSE, still having unexplained errors - gcc-4.3.3 - token errors
    >> don't make sense.
    >> # make
    >> gcc -O -Wall -std=c99 -c usbsoftrock.c
    >> usbsoftrock.c:116: error: expected �)� before �*� token
    >> usbsoftrock.c:140: error: expected �)� before �*� token
    >> usbsoftrock.c:211: error: expected �)� before �*� token
    >> usbsoftrock.c:270: error: expected �)� before �*� token
    >> usbsoftrock.c:284: error: expected �)� before �*� token
    >> usbsoftrock.c:301: error: expected �)� before �*� token
    >> usbsoftrock.c:386: error: expected �)� before �*� token
    >> usbsoftrock.c:424: error: expected �)� before �*� token
    >> usbsoftrock.c: In function �main�:
    >> usbsoftrock.c:451: error: �usb_dev_handle� undeclared (first use
    > in this
    >> function)
    >> usbsoftrock.c:451: error: (Each undeclared identifier is reported only
    > once
    >> usbsoftrock.c:451: error: for each function it appears in.)
    >> usbsoftrock.c:451: error: �handle� undeclared (first use in this
    > function)
    >> usbsoftrock.c:492: warning: implicit declaration of function
    > �usb_init�
    >> usbsoftrock.c:496: warning: implicit declaration of function
    > �usbOpenDevice�
    >> usbsoftrock.c:512: warning: implicit declaration of function
    > �getRegisters�
    >> usbsoftrock.c:516: warning: implicit declaration of function
    > �getFrequency�
    >> usbsoftrock.c:520: warning: implicit declaration of function �setPTT�
    >> usbsoftrock.c:524: warning: implicit declaration of function
    > �calibrate�
    >> usbsoftrock.c:529: warning: implicit declaration of function
    >> �setFreqByValue�
    >> usbsoftrock.c:531: warning: implicit declaration of function
    > �setFrequency�
    >> usbsoftrock.c:537: warning: implicit declaration of function
    > �usb_close�
    >> make: *** [usbsoftrock.o] Error 1
    >>
    >> 73 ... Sid.
    >> --
    >> Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
    >> Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
    >> Specialist, Cricket Coach
    >> Microsoft Windows Free Zone - Linux used for all Computing Tasks
    >>
    >
    >


    --
    Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
    Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
    Specialist, Cricket Coach
    Microsoft Windows Free Zone - Linux used for all Computing Tasks
  • softrock40@yahoogroups.com
    Hello, This email message is a notification to let you know that a file has been uploaded to the Files area of the softrock40 group. File :
    Message 615 of 615 , Feb 5
    • 0 Attachment
      Hello,


      This email message is a notification to let you know that
      a file has been uploaded to the Files area of the softrock40
      group.


      File : /G3VNC/start_cw_60m.sh
      Uploaded by : g3vnc <g3vnc@...>
      Description :


      You can access this file at the URL:
      https://groups.yahoo.com/neo/groups/softrock40/files/G3VNC/start_cw_60m.sh


      To learn more about file sharing for your group, please visit:
      https://help.yahoo.com/kb/index?page=content&y=PROD_GRPS&locale=en_US&id=SLN15398


      Regards,


      g3vnc <g3vnc@...>
    Your message has been successfully submitted and would be delivered to recipients shortly.