Stread Device Driver Development

Hai,
I am doing "Stream Device Driver" in "SunOs 5.8" Using "Forte C++ " Compiler. This Driver Type is Multiplexer.
My Coding is Over but i can compile my code. But I am not able Link the object file.
Compiler giving error is
# make
cc -r -o /wacom /wacom.o
ld: fatal: symbol `_fini' is multiply-defined:
(file /opt/SUNWspro/WS6U2/lib/crti.o and file /wacom.o);
ld: fatal: symbol `_init' is multiply-defined:
(file /opt/SUNWspro/WS6U2/lib/crti.o and file /wacom.o);
ld: fatal: File processing errors. No output written to /wacom
make: *** [wacom] Error 1
Compiler giving "Multiply-defined" for "_file", "_init" functions.
pls send the solution for me.

Try
cc -c -Xa -D_KERNEL /wacom.c
ld -r -o wacom wacom.o

Similar Messages

  • Stream Device Driver Development

    Hai,
    I am doing "Stream Device Driver" in "SunOs 5.8" Using "Forte C++ " Compiler. This Driver Type is Multiplexer.
    My Coding is Over but i can compile my code. But I am not able Link the object file.
    Compiler giving error is
    # make
    cc -r -o /wacom /wacom.o
    ld: fatal: symbol `_fini' is multiply-defined:
    (file /opt/SUNWspro/WS6U2/lib/crti.o and file /wacom.o);
    ld: fatal: symbol `_init' is multiply-defined:
    (file /opt/SUNWspro/WS6U2/lib/crti.o and file /wacom.o);
    ld: fatal: File processing errors. No output written to /wacom
    make: *** [wacom] Error 1
    Compiler giving "Multiply-defined" for "_file", "_init" functions.
    pls send the solution for me.

    Try
    cc -c -Xa -D_KERNEL /wacom.c
    ld -r -o wacom wacom.o

  • USB driver development using DDK

    I heard that Sun Blade 1000 supports USB.
    To connect our product with Sun machine through USB, we are trying to develop USB device driver using DDK for Solaris.
    Please let me know that present DDK supports USB device driver development.
    Thank you in advance.

    You may want to look at
    http://soldc.sun.com/developer/support/driver/docs/whitepapers.html
    There are a couple of whitepapers on the subject
    Regards,
         Cyril
    I heard that Sun Blade 1000 supports USB.
    To connect our product with Sun machine through USB,
    we are trying to develop USB device driver using DDK
    for Solaris.
    Please let me know that present DDK supports USB
    device driver development.
    Thank you in advance.

  • How to develop 64-bit Windows device driver for NI-6602?

    Due to the fact that NI-VISA doesn’t support 64 bit Windows, how can I do to develop a 64 bit Windows device driver for NI 6602 (Counter/timer) PCI card. The possible jobs include:
    Develop a Windows Kernel Mode Driver (“Device Driver”);
    Make it to comply with VISA in order to utilize “osiBus Generic IO Interface” and MH DDK.
    Could anyone please give me some advices as soon as possible?
    William Liao
    Message Edited by Wiliao on 07-22-2005 04:12 PM

    Hi All,
    I am currently working on getting the health parameters
    from the motherboard like voltage fan and temperature. I have already
    already done this using 32 bit winio driver but i am not able to work
    on 64 bit version. is there any driver availbale in 64 bit for
    obtaining this parametes or some one help me to get a 64 bit winio
    driver.
    Regards,
    Senthil prabu R

  • Searching hardware to develop a device driver (kernel module)

    Hello!
    This semester I hear "device driver programming" (based on the linux kernel) at university. During the semester we develop a "exercise driver". It's a character device which shares (kernel) memory between different applications. Besides of that I want to develop a second driver based on real hardware.
    Because of that I'm searching a hardware with free available technical documentation. I want to buy a usb device or a pc card device, because I only have a notebook for developing issues.
    Has anybody a good idea?
    Best regards,
    Flasher?

    I don't know that there is a proprietary driver. In fact, I'm sure there isn't because I never installed one. I figured there was some code file somewhere that dealt with keyboards. Yes, I have dealt with the developer, they say to tell Apple there is a problem. I have been putting it off and waiting to update since 10.6.3, so the problem is getting a little old. Do I even know there is a problem? I'm not sure what this means. I do know that when I update my operating system past 10.6.2 my keyboard no longer works, and I have to use a stock Apple keyboard to run a time machine reinstall. Why else would I be going through this?

  • Driver development for TI device

    Hello Microsoft support team,
    I am currently developing WDK driver for PCI device. I am beginner in driver development and I found a KMDF WDK driver project for generic PCI device (PLX9x5x PCI Driver) from your website. However, in my attempt to adapt this driver for my PCI device, which
    is a TI TMS320c6657 DSP evaluation board, I get stuck into some problems. My objective is to send data from PC (Root complex) via DMA transfer on PCIe interface to the the DSP evaluation board (End Point) for signal processing. And I am not able to match the
    sample PCI driver with my device. I am seeking a starting guide on how I modify the the generic driver to suit my specific PCI device.
    Thanks.
    With regards,
    Alemayehu

    I know of no guide to do this.  What I recommend is you walk the driver, starting with DriverEntry.  By walk the driver, I mean for each function, review its purpose in the WDK documentation, and look at what the sample does.  Cleanup the
    function to reflect the needs of your device, then go on to the functions that call references.
    Besides the PCI driver sample, take a look at the minimum Toaster function driver, this is a good sample with most functions empty that you can use to get going.  As you cleanup run the compiler with /W4 and Code Analysis on the code to catch mistakes. 
    For the code analysis change the options to enable all the rules.
    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com

  • IPhone not showing up in iTunes- device driver issue?

    I'm having a problem getting iTunes to recognize my iPhone. I'm running XP Pro 64-bit. I know iTunes isn't supposed to work with x64 XP, but I've had it working for months now (by doing a quick edit to the .msi installer it will install on XP). I'm using the newest iTunes 8.1 and the new 3.0 iPhone OS (yes, im on the developer program). When i plug it in windows beeps and gives me the camera wizard, but iTunes does nothing. I've tried updating the driver in device manager and choosing "i will pick the driver to install" and then picking the apple mobile device driver. i clicked "continue anyway" when it told me my face was going to melt off if i use this driver. I went to help in iTunes and ran diagnostics; everything passes on the connectivity tests, but then it tells me "one or more sync tests failed". I had it working 2 days ago with the 3.0 and iTunes 8.1. it just all the sudden stopped working. any help is greatly appreciated. i thank you in advance for your time.

    If you are a registered developer - the iPhone SDK runs on an Intel Mac running OS X Leopard only, then you can visit the Developer Forum for the SDK (which isn't supported with Windows) and for the 3.0 BETA, which is for IPhone and iPod Touch app development, which requires an Intel Mac running Leopard.

  • PCI-6534 Device Driver Availabili​ty

    I am thinking of using a PCI-6534 for continious streaming 32 bit digital pattern generation from a host PC and clocked via an external clock at 1 - 10 MHz. From the benchmarks it seems that the PCI-6534 will meet these needs. My question involves device drivers. Windows is not an option for the system I am constructing as we have stability requirements that border on the need for a hard real time system. Is there enough information available about the card to allow a device driver to be written for an operating system such as Linux or RTLinux? Alternatively are such drivers available or alternatively for a RTOS such as QNX or VxWorks?

    National Instruments does not provide drivers for the Operating Systems you listed.
    However, there is a lot of information available on the PCI-DIO-32HS and register level programming available on the National Instruments website at:
    www.ni.com/support/daqsupp.htm
    view the Register Level programming link.
    under that link there is some information about programming the card through the registers. Also view the DAQ Register Programming link in the register programming site for examples and header files.
    In addition you may want to visit http://www.ni.com/linux/daq_comedi.htm
    where National Instruments provides information and a link to the Comedi group which has developed a Driver for Linux that has had success with the PCI-DIO-32HS.
    Hope this help you get starte
    d.

  • How to add and configure a usb device driver in SRSS for Sunray?

    Dear Sir,
    If I want to use a usb device on Sunray 2 (the usb device is plugged into Sunray's usb port), and I have been developed a usb driver on Solaris 10. Can I install the same driver in SRSS host to active the usb device in Sunray? If it can, how do I configure SRSS and where is the location of SRSS drivers? Can I use add_drv similar command to add my driver to SRSS?
    The second question is when I plug-in a usb device to Sunray, can I see device information (VID, PID, and so on) in any log file or by any command as "prtconf -v" on Solaris?
    Thank you very much.
    Best Regards,
    Steven

    What sort of USB device do you want to use ?
    The peripherals chapter in the SRSS admin guide tells you how to use supported USB devices.
    http://docs.sun.com/source/819-2384/dev.html
    Drivers written for Solaris devices will not work with Sun Ray devices. If you want to write a device driver for Sun Ray, it is recommended you use libusb for a userland driver. See libusb notes on same chapter mentioned above.
    There is currently no SRSS utility to list Sun Ray device parameters like prtconf does.
    You could write a libusb application to do this, or use the test program described here:
    http://libusb.sourceforge.net/doc/examples.html

  • How / from where to start on Solaris Driver developement?

    Hi,
    'm a User domain developer, want to also learn about driver developement.
    Please give me pointers so that I can start with
    Thanks,
    -Vikrant

    First of all you should download the following two documents:
    - Writing Device Drivers
    - STREAMS Programming Guide
    If you want to develop USB drivers you must have USBA 1.0 installed (Solaris 8/9 has 0.8 as default) and additionally download the "USB DDK" from Sun.
    A device driver is an object file (created by "ld -r ..."). You cannot decide if you use 32 or 64 bit. On a 64 bit OS you MUST use 64 bit code.
    If you use GCC: On Sparc machines 64 bit code is generated using "-m64", not using "-xarch=v9".
    The driver must provide three functions: "_init", "_info" and "_fini" (see first document).
    There are two types of drivers:
    1) Streams drivers (described in the second document) are drivers for stream devices. These are all devices that implement a character stream and can be used with "streamio" ioctls. Examples are: All terminals and serial ports, printer ports, mice, keyboards, ...
    These devices communicate with the system calls (e.g. read, write, ioctl) using special data packets. Therefore programming Streams drivers is very different from writing other drivers.
    All streams devices are character devices.
    You can also write streams modules (see man streamio, I_PUSH). Such modules are "filters" that can modify the data between the device driver and the application.
    2) Other drivers. They may be character or block devices. These drivers have different functions for different function calls. Example: The "ioctl" function call will call the function "MyDriver_Ioctl" of your driver.
    I think writing a non-streams driver is way more simple than writing a streams driver. I had some system crashes when running instable self-written streams drivers. However some drivers must be streams drivers e.g. if you want to use the device as a terminal device or if you want to push modules using I_PUSH.
    Unlike Linux the OS detects the presence of hardware and decides when to load a driver. You create the file /kernel/drv/NameOfYourDriver.conf with driver settings. This file also contains the information that your driver does not require hardware (e.g. ram disks). You must add your driver to the system by typing "add_drv NameOfYourDriver". Use the "-i" option to tell the system which hardware is handled by your driver.
    Martin

  • Driver development for custom PCI card

    Hi friends,
    I've a PCI card developed in-house. How to prepare a driver for the same in LabVIEW? Can I develop drivers in VISA? I don't have a manufacture id. Is there any other method to develop a driver for PCI card? Once developed, can I use them for other platforms like VC++? My OS is Windows 9X/NT & 2000. I need a driver to use for all these. Lot of querries! hope I made it clear.

    THE ANSWER IS THAT YES YOU CAN DO THIS IN NI-VISA!
    Some have said that you need a kernel driver. This is partially true in that a PXI or PCI card (they are the same as viewed by the OS) must have a kernel driver. NI-VISA provides one for you.
    You said that you do not have a manufacturer ID. This is a requirement of all PCI cards and no kind of driver will work until the card has one. Once you have this ID, run the VISA PXI Driver Development Wizard and it will generate an INF for you for all supported NI-VISA environments that support PXI/PCI. Read the instructions in the appropriate INF file for how to install it into the system so that the OS will attach NI-VISA to your device. It's really simple. NI-VISA supports PXI/PCI on Windows 95, 98, ME, NT
    4, 2000, XP, and LabVIEW RT.
    Some have said that MAX will just show you all PXI/PCI devices in your system. Your device will not show up until NI-VISA can see it, and that won't happen until you generate an INF as described above.
    Since the INF file associates NI-VISA itself to your card, the ADE you use does not matter. NI-VISA supports PXI/PCI in LabVIEW, CVI, MSVC, Visual Basic, or any other ADE that normally works with VISA.
    NI-VISA works well even with more advanced devices because we support all types of register accesses (config, I/O, memory) as well as interrupt handling. Just look at the visa.h that NI ships in the VXIpnp directory. If you are using C/C++, make sure you define NIVISA_PXI before including visa.h. If you use LabVIEW, you need to use the address space numbers as defined in visa.h.
    Good luck.
    Dan Mondrik
    Senior Software Engineer, NI-VISA
    National Instruments

  • Writing USB-Serial Converter Device Driver for Windows CE 6.0

    Dear Developers,
          I have a Silicon Labs chip Cp2108. Its a Quad USB to Serial converter. It supports all the operating systems except Win CE. So I have the source code of the driver for Linux 2.6 / Linux 3.0. I have experience in Device drivers development
    in Linux.
      Question is How will I start coding driver for Windows CE 6.0. Can anyone point me to a best starting point on this topic. All I need to do is make this chip work with WIN CE 6.0. Can anyone point me to a Sample driver source code It will be great.
     Regards,
         Winston

    Dear Vinoth, 
            Thanks for the valuable reply. 
      I am confused a bit here. I need to make the external USB -UART bridge (CP2108) work on win CE 7.
       the driver in Path \WINCE600\PUBLIC\COMMON\OAK\DRIVERS\USB\CLASS\USBSER is using the built in USB controller
    hardware and making it as a Serial port right ? 
       How do you go about making the external USB -UART bridge work as a COM port ? 
     I have a document from SIlicon Labs which gives info about Device descriptors and interface commands . 
      Regards,
        Winston 

  • Windows device driver for third party io cards

    hi
     now i am working with i/o cards ,in our lab we are having our own designed i/o cards ,,so when we are inserting to the pci slots and turn on the system its asking some device driver .....?ok ,,now i want to access the i/o cards using labveiw. i want to install the device driver ,or other wise can i able to talk directly with the  i/o cards ,
     thanks in advance
    Indrajit
    | [email protected] | [email protected] .

    Hi jith,
    Do you already have a driver developed for this PCI board?  You can access .dll's and call their functions from LabVIEW if you already have a .dll for this board developed.  Otherwise, I would recommend using the VISA Driver Development Wizard.  Hope this helps!
    Regards,
    Anna M.
    National Instruments

  • Device drive of lab view fpga 2013 for Spartan 3E FPGA

    Hi NI
    I has get labview 2013
    but I need  FPGA device drive of Spartan 3E
    can NI release it for us !!!!!!!!!!!!
    best regards
    hi ?Q>

    T-REX$ wrote:
    Hey mangood,
    There currently is no support for the Spartan3E board in LabVIEW FPGA 2013, and I am not aware of any plan for developing support in the near future. Sorry for the bad news...
    DEAR
    i have lab view 2012 and it has device drvie for spartan FPGA
    only one year
    may be can NI do this its simple
    thank
    hi ?Q>

  • VISA Driver Development Wizard

    I found a reference to this great document called
    Using the VISA Driver Development Wizard and NI-VISA to
    Register-Level Program a PXI/PCI Device under Windows.
    As I described in another post, I am having performance problems
    using AccessHW to talk to a legacy ISA board under XP compared to
    Win2k where performance was decent.
    To rule out AccessHW as the problem and confirm that it is an
    XP/hardware issue, I'd like to try another method of
    reading memory at address 0xE0000-0xEFFFF.
    Since the legacy ISA bus on my motherboard is actually
    bridged from the PCI bus, is there anyway to hack with the
    VISA Driver Development Wizard to do memory reads
    on the ISA bus?
    Perhaps making a fictious PCI card with a VISA driver?
    any thoughts?
    mlewis

    Hi Graham,
    Which version of the NI VISA drivers are currently installed on your system?
    Thanks,
    Applications Engineer

Maybe you are looking for

  • Moving iTunes from PC to Mac - problem...

    When moving my iTunes folder from PC to Mac (via hard drive), the following error message appears: The operation can't be completed because you don't have permission to access some of the items". Anyone come across this before?

  • Finding Program for triggering Print Program (MIGO - Goods Receipt)

    Hi all, Currently, I have developed customized print program and SMARTFORMS for Goods Receipt via MIGO, with output type ZZGR. Typically, this is a inter-plant transfer, where Plant A will issue a Delivery Order to Plant B, and Plant B will post good

  • HT4539 How do I get photos off from my old iPad onto a new iTunes account?

    I have an old iPad that I need to update it but if I do i will lose my pictures. I do not have access to my old iTunes account,( i lost that in the divorce) I created a new iTunes but I can not take photos from my iPad to the new account. What do I n

  • Query For Linking Activity

    Dear All, I need your help in writing a query. My Scenario is as follows: I add an Activity whose Code is 95. Now using activity no. 95, I make a follow-up whose no. is 103. Now using 103, I create another follow-up, no. is 110. And using 110 I creat

  • Is it copy or transfer task; Mac iPad

    I am trying to understand the task(s) thats been done here, while on my Mac do I i.e. copy pics / file or transfer them to my iPad? I ask this as I cant find my pics anymore on my Mac!