Find the answer to your Linux question:
Results 1 to 7 of 7
i cannot seem to run any makefiles. when i try to it informs me that certain members cannot be found. on some, it sends errors about "cflags'. please help (i ...
  1. #1
    Just Joined!
    Join Date
    Jan 2011
    Posts
    3

    makefile problems

    i cannot seem to run any makefiles. when i try to it informs me that certain members cannot be found. on some, it sends errors about "cflags'. please help (i already have installed build essentials)

  2. #2
    Just Joined!
    Join Date
    Mar 2009
    Location
    Norway
    Posts
    52
    Quote Originally Posted by nomadpenguin View Post
    i cannot seem to run any makefiles. when i try to it informs me that certain members cannot be found. on some, it sends errors about "cflags'. please help (i already have installed build essentials)
    Hi!

    This doesn't tell us much I'm afraid.

    - What do you mean by "certain" members?
    - Which language are you trying to compile?

    Could you tell us a bit more about the app, language and include the error-messages here?

    Also, for future reference: https://www.linuxforums.org/forum/ne...tions-2-a.html

  3. #3
    Just Joined! newtolinux123's Avatar
    Join Date
    Nov 2009
    Location
    England, United Kingdom
    Posts
    16
    Quote Originally Posted by nomadpenguin View Post
    i cannot seem to run any makefiles. when i try to it informs me that certain members cannot be found. on some, it sends errors about "cflags'. please help (i already have installed build essentials)
    it may be required to install packages in your synaptic package manager, not no expert but i'm sure there are some awesome open source geeks willing to help

  4. #4
    Just Joined!
    Join Date
    Jan 2011
    Posts
    3
    i am trying to install a usb dongle driver. i have no idea what language it is.

    it says "member "start" not in struct net_struct_device" or something like that

  5. #5
    Just Joined!
    Join Date
    Mar 2009
    Location
    Norway
    Posts
    52
    Ah, so you are building a kernel module? (Then it's written in C..) If that's the case, you need to download the kernel-headers. In debian you do this by

    Code:
    sudo aptitude install linux-kernel-headers
    Where did you find this driver? Could you try to install it and dump the error-messages here?

    Describing something that ends with "or something like that" makes it a tad difficult to trace down the problem

  6. #6
    Just Joined!
    Join Date
    Jan 2011
    Posts
    3
    its seems that i already have the header files

    this is the error message.

    e.c: 11333: error: 'struct net_device' has no member named 'open'

    there are multiple errors like this, each with a different member name.

  7. #7
    Just Joined!
    Join Date
    Mar 2009
    Location
    Norway
    Posts
    52
    Hi,

    looks like the driver you are using are quite old. By digging a bit in the kernel, the members was removed in may 2009 [1], [2]. This means that kernels newer than 2.6.29 [3] won't work with your driver.

    So, either you need to find an updated driver from your favorite usb-dongle-vendor, or you need to install an older (!) kernel.

    The steps required to install a new driver is either an older distro, or building the kernel yourself. I'd try to find an updated driver from the vendor...


    1: http://git.kernel.org/?p=linux/kerne...1d41b503f7fbe3
    2: http://git.kernel.org/?p=linux/kerne...82091dda4bbe62
    3: http://git.kernel.org/?p=linux/kerne...a9b04ce885cd84

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...