make

When I try to install a new program with make I get:

Makefile. inc:91: ***KERNELCONF: /lib/modules/2.6.27.56-0.1-pae/build/.config does not exist… stopped

What now?
Thanks.

On 2012-12-30 17:46, dendeezen1 wrote:
>
> When I try to install a new program with make I get:
>
> Makefile. inc:91: ***KERNELCONF:
> /lib/modules/2.6.27.56-0.1-pae/build/.config does not exist… stopped

That’s a problem of whatever you are trying to build, not of make. Did
you run the configure phase previously?


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))

Try not to post the minimum of almost nothing when you have a problem, but more, much more. Even if you think it may be superfluous.

Thus you should post the complete make session as it is on your terminal. That is prompt, the make command, the output and the next prompt. And all of that between CODE tags (use the # button in the toolbar of the post editor).

And it wouldn’t be bad either to tell what you are trying to build (not to install, you are way before even trying to install). Sometimes people have done what you try to do before and could help you, But they will not even read your thread with such a lousy title and such lack of information.

I try to make run a wifi D-Link DWL-G650+ on SUSE11.1 with madwifi-8.9.4

The install file doesn’t mention configure or ./configure or whatever.
I gave it a try anyway, with no effects. (command not found; I am of course su)
It says:" Linux 2.4.x kernels starting with 2.4.22 and 2.6 kernels should work without problems."
I have a 2.6.27.7-9-pae kernel.
If also says:" Most people can just type:
$ make "

As a newbie, what do I miss?
Thanks

On 2012-12-31 09:06, dendeezen1 wrote:

> As a newbie, what do I miss?
> Thanks

Ok, try:


cd /usr/src/linux
make cloneconfig
make prepare

then try again your code.


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))

As already said in the dutch thread, there’s a couple of problems here:

  • old hardware of which we do not know what it is
  • an old openSUSE version which is beyond it’s end of life for a long time

Please do yourself a favour and get help on installing a recent version on your machine, get help doing so and please provide as much info as you can. Shooting in the dark is for the New Year.

I got the following replay (translating) :
"make: *** There is no rule to make a goal ‘cloneconfig’. Stopped "

Other sugestions?

Happy Newyear!!!

No kernel-sources installed?

rpm -qa | grep kernel-source

Mind, for madwifi you’ll also need the kernel-source package matching your running kernel. I’m wondering, is this some kind of experiment, or is your goal to actually use this laptop?

This is a kind of an experiment (I learn a lot) and I also plan to use the laptop (it works fine, I just want to
go wireless on the net )

With Yast2 I installed the kernel-default( after reboot ‘uname -r’ : 2.6.27.56-pae) and the kernel-source package
(kernel-source-2.6.27.56-0.1.1)

The ‘make’ command now runs fine ( so the problem is solved, the kernel-sources were not installed), but by running on the and I get some error indications:

/home/patrick/Downloads/MadWifi/madwifi-0.9.4/net80211/ieee80211_power.c: In function ‘ieee80211_pwrsave’:
/home/patrick/Downloads/MadWifi/madwifi-0.9.4/net80211/ieee80211_power.c:240: error: implicit declaration of function ‘__skb_append’
make[5]: *** [/home/patrick/Downloads/MadWifi/madwifi-0.9.4/net80211/ieee80211_power.o] Error 1
make[4]: *** [/home/patrick/Downloads/MadWifi/madwifi-0.9.4/net80211] Error 2
make[3]: *** [module/home/patrick/Downloads/MadWifi/madwifi-0.9.4] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.27.56-0.1-obj/i386/pae’
make: *** [modules] Fout 2

(‘fout’ is dutch for error)

How do I deal with this problem?

it runs fine

It doesn’t, it does not finish the compilation of the sources. And it does not compile against kernel-default, it compiles against kernel-pae.
And please, post output between CODE tags(the # in the editor), it’s unreadable like this.

On 01/01/2013 01:56 PM, dendeezen1 wrote:
> I also plan to use the laptop (it works fine, I just want to go wireless on the net )
>

then you absolutely must take steps to secure your system…there have
been no security updates for 11.1 for YEARS!! suggest you move to a
supported version asap.


dd http://goo.gl/PUjnL
http://tinyurl.com/DD-Caveat http://tinyurl.com/DD-Hardware
http://tinyurl.com/DD-Software

On 2013-01-01 13:56, dendeezen1 wrote:

>
> (‘fout’ is dutch for error)
>
> How do I deal with this problem?

No idea.

But two “details”. :slight_smile:

You can get English text by saying so:


> cer@minas-tirith:~> LANG=en_US.UTF-8 whatis man
> man (1)              - an interface to the on-line reference manuals
> man (7)              - macros to format man pages
> man (1p)             - display system documentation
> cer@minas-tirith:~> LANG=es_ES.UTF-8 whatis man
> man (1)              - una interfaz de los manuales de referencia electrónicos
> man (1)              - an interface to the on-line reference manuals
> man (7)              - macros to format man pages
> man (1p)             - display system documentation
> cer@minas-tirith:~>

The second thing is that you must use code tags to make computer
printouts readable to others.

View this
thread for instructions


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))