[Home]

Summary:ASTERISK-01052: 2.6 makefile problems
Reporter:vaewyn (vaewyn)Labels:
Date Opened:2004-02-18 17:11:27.000-0600Date Closed:2004-09-25 02:55:34
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) Makefile26.patch
Description:make linux26  creates the .ko modules fine but the make install changes them to .o and borks the module install.

Also on (at least debian) 2.6.x with the newer module utilities /etc/modprobe.d/ is used instead of /etc/modutils/ so it checks for presence of /etc/modprobe.d first. Logic being that if it is there you have upgraded modprobe stuff to use that directory.

Included patch defines MODULES, MODULESO and MODULESKO and uses that to install from hence keeping the .ko correctly on install. Also cleans up the building of the module install parameters to get rid of the many IF statements.

In install uses presence of zaptel.ko to tell if making for 2.6 kernel or not.

Tested on both 2.4.23 and 2.6.2 myself and both work great.

****** ADDITIONAL INFORMATION ******

patch -p1 < Makefile26.patch for patching
Comments:By: Mark Spencer (markster) 2004-02-20 11:03:35.000-0600

Fixed in CVS