LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 10-04-2006, 05:28 AM   #1
mraray
Member
 
Registered: Sep 2005
Posts: 49

Rep: Reputation: 15
2.6.18 compile problems?


Hi everyone,

I was trying to upgrade from 2.6.17 to 2.6.18 and upon unpacking the kernel source (and copying my old config over) I get a heap of errors.

I am using debian, and noticed this when trying to use make-kpkg... however even make oldconfig isn't working for me correctly..

Any advice?

Thanks,
Andrew
:
Code:
tux:/usr/src/linux-2.6.18# make oldconfig
scripts/kconfig/conf -o arch/i386/Kconfig
.config:18:warning: trying to assign nonexistent symbol CLEAN_COMPILE
.config:37:warning: trying to assign nonexistent symbol KOBJECT_UEVENT
.config:51:warning: trying to assign nonexistent symbol CC_ALIGN_FUNCTIONS
.config:52:warning: trying to assign nonexistent symbol CC_ALIGN_LABELS
.config:53:warning: trying to assign nonexistent symbol CC_ALIGN_LOOPS
.config:54:warning: trying to assign nonexistent symbol CC_ALIGN_JUMPS
.config:64:warning: trying to assign nonexistent symbol OBSOLETE_MODPARM
.config:263:warning: trying to assign nonexistent symbol PCI_LEGACY_PROC
.config:424:warning: trying to assign nonexistent symbol IP_NF_MATCH_LIMIT
.config:426:warning: trying to assign nonexistent symbol IP_NF_MATCH_MAC
.config:427:warning: trying to assign nonexistent symbol IP_NF_MATCH_PKTTYPE
.config:428:warning: trying to assign nonexistent symbol IP_NF_MATCH_MARK
.config:429:warning: trying to assign nonexistent symbol IP_NF_MATCH_MULTIPORT
.config:434:warning: trying to assign nonexistent symbol IP_NF_MATCH_AH_ESP
.config:435:warning: trying to assign nonexistent symbol IP_NF_MATCH_LENGTH
.config:437:warning: trying to assign nonexistent symbol IP_NF_MATCH_TCPMSS
.config:438:warning: trying to assign nonexistent symbol IP_NF_MATCH_HELPER
.config:439:warning: trying to assign nonexistent symbol IP_NF_MATCH_STATE
.config:440:warning: trying to assign nonexistent symbol IP_NF_MATCH_CONNTRACK
.config:442:warning: trying to assign nonexistent symbol IP_NF_MATCH_PHYSDEV
.config:444:warning: trying to assign nonexistent symbol IP_NF_MATCH_REALM
.config:445:warning: trying to assign nonexistent symbol IP_NF_MATCH_SCTP
.config:446:warning: trying to assign nonexistent symbol IP_NF_MATCH_DCCP
.config:447:warning: trying to assign nonexistent symbol IP_NF_MATCH_COMMENT
.config:448:warning: trying to assign nonexistent symbol IP_NF_MATCH_CONNMARK
.config:450:warning: trying to assign nonexistent symbol IP_NF_MATCH_STRING
.config:456:warning: trying to assign nonexistent symbol IP_NF_TARGET_NFQUEUE
.config:473:warning: trying to assign nonexistent symbol IP_NF_TARGET_MARK
.config:474:warning: trying to assign nonexistent symbol IP_NF_TARGET_CLASSIFY
.config:476:warning: trying to assign nonexistent symbol IP_NF_TARGET_CONNMARK
.config:479:warning: trying to assign nonexistent symbol IP_NF_TARGET_NOTRACK
.config:489:warning: trying to assign nonexistent symbol IP6_NF_MATCH_LIMIT
.config:490:warning: trying to assign nonexistent symbol IP6_NF_MATCH_MAC
.config:495:warning: trying to assign nonexistent symbol IP6_NF_MATCH_MULTIPORT
.config:497:warning: trying to assign nonexistent symbol IP6_NF_MATCH_MARK
.config:499:warning: trying to assign nonexistent symbol IP6_NF_MATCH_AHESP
.config:500:warning: trying to assign nonexistent symbol IP6_NF_MATCH_LENGTH
.config:502:warning: trying to assign nonexistent symbol IP6_NF_MATCH_PHYSDEV
.config:506:warning: trying to assign nonexistent symbol IP6_NF_TARGET_NFQUEUE
.config:508:warning: trying to assign nonexistent symbol IP6_NF_TARGET_MARK
.config:610:warning: trying to assign nonexistent symbol NET_QOS
.config:738:warning: trying to assign nonexistent symbol BT_HCIUART_BCSP_TXCRC
.config:812:warning: trying to assign nonexistent symbol MTD_CFI_AMDSTD_RETRY
.config:857:warning: trying to assign nonexistent symbol MTD_BLKMTD
.config:1033:warning: trying to assign nonexistent symbol PDC202XX_FORCE
.config:1128:warning: trying to assign nonexistent symbol SCSI_CPQFCTS
.config:1158:warning: trying to assign nonexistent symbol SCSI_SYM53C8XX_IOMAPPED
.config:1171:warning: trying to assign nonexistent symbol SCSI_QLOGIC_ISP
.config:1175:warning: trying to assign nonexistent symbol SCSI_QLOGIC_1280_1040
.config:1176:warning: trying to assign nonexistent symbol SCSI_QLA2XXX
.config:1177:warning: trying to assign nonexistent symbol SCSI_QLA21XX
.config:1178:warning: trying to assign nonexistent symbol SCSI_QLA22XX
.config:1179:warning: trying to assign nonexistent symbol SCSI_QLA2300
.config:1180:warning: trying to assign nonexistent symbol SCSI_QLA2322
.config:1181:warning: trying to assign nonexistent symbol SCSI_QLA6312
.config:1182:warning: trying to assign nonexistent symbol SCSI_QLA24XX
.config:1232:warning: trying to assign nonexistent symbol MD_RAID5
.config:1233:warning: trying to assign nonexistent symbol MD_RAID6
.config:1284:warning: trying to assign nonexistent symbol IEEE1394_CMP
.config:1285:warning: trying to assign nonexistent symbol IEEE1394_AMDTP
.config:1328:warning: trying to assign nonexistent symbol PHYCONTROL
.config:1470:warning: trying to assign nonexistent symbol 2BUFF_MODE
.config:1512:warning: trying to assign nonexistent symbol IPW_DEBUG
.config:1569:warning: trying to assign nonexistent symbol SYNCLINK_SYNCPPP
.config:1589:warning: trying to assign nonexistent symbol VENDOR_SANGOMA
.config:1930:warning: trying to assign nonexistent symbol SERIAL_8250_ACPI
.config:2017:warning: symbol value 'm' invalid for HW_RANDOM
.config:2153:warning: trying to assign nonexistent symbol SENSORS_RTC8564
.config:2164:warning: trying to assign nonexistent symbol W1_MATROX
.config:2165:warning: trying to assign nonexistent symbol W1_DS9490
.config:2166:warning: trying to assign nonexistent symbol W1_DS9490_BRIDGE
.config:2167:warning: trying to assign nonexistent symbol W1_THERM
.config:2168:warning: trying to assign nonexistent symbol W1_SMEM
.config:2169:warning: trying to assign nonexistent symbol W1_DS2433
.config:2170:warning: trying to assign nonexistent symbol W1_DS2433_CRC
.config:2355:warning: trying to assign nonexistent symbol DVB_TDA80XX
.config:2377:warning: trying to assign nonexistent symbol DVB_ATMEL_AT76C651
.config:2385:warning: trying to assign nonexistent symbol DVB_NXT2002
.config:2407:warning: trying to assign nonexistent symbol FB_SOFT_CURSOR
.config:2438:warning: trying to assign nonexistent symbol FB_RADEON_OLD
.config:2446:warning: trying to assign nonexistent symbol FB_ATY_XL_INIT
.config:2507:warning: trying to assign nonexistent symbol SND_GENERIC_DRIVER
.config:2624:warning: trying to assign nonexistent symbol SOUND_CMPCI
.config:2625:warning: trying to assign nonexistent symbol SOUND_CMPCI_FM
.config:2626:warning: trying to assign nonexistent symbol SOUND_CMPCI_MIDI
.config:2627:warning: trying to assign nonexistent symbol SOUND_CMPCI_JOYSTICK
.config:2631:warning: trying to assign nonexistent symbol SOUND_CS4281
.config:2632:warning: trying to assign nonexistent symbol SOUND_ES1370
.config:2634:warning: trying to assign nonexistent symbol SOUND_ESSSOLO1
.config:2635:warning: trying to assign nonexistent symbol SOUND_MAESTRO
.config:2636:warning: trying to assign nonexistent symbol SOUND_MAESTRO3
.config:2638:warning: trying to assign nonexistent symbol SOUND_SONICVIBES
.config:2649:warning: trying to assign nonexistent symbol SOUND_SGALAXY
.config:2654:warning: trying to assign nonexistent symbol SOUND_GUS
.config:2655:warning: trying to assign nonexistent symbol SOUND_GUS16
.config:2656:warning: trying to assign nonexistent symbol SOUND_GUSMAX
.config:2662:warning: trying to assign nonexistent symbol SOUND_MAD16
.config:2663:warning: trying to assign nonexistent symbol MAD16_OLDCARD
.config:2668:warning: trying to assign nonexistent symbol SOUND_AWE32_SYNTH
.config:2669:warning: trying to assign nonexistent symbol SOUND_WAVEFRONT
.config:2670:warning: trying to assign nonexistent symbol SOUND_MAUI
.config:2672:warning: trying to assign nonexistent symbol SOUND_OPL3SA1
.config:2674:warning: trying to assign nonexistent symbol SOUND_YMFPCI
.config:2675:warning: trying to assign nonexistent symbol SOUND_YMFPCI_LEGACY
.config:2687:warning: trying to assign nonexistent symbol SOUND_ALI5455
.config:2688:warning: trying to assign nonexistent symbol SOUND_FORTE
.config:2689:warning: trying to assign nonexistent symbol SOUND_RME96XX
.config:2690:warning: trying to assign nonexistent symbol SOUND_AD1980
.config:2726:warning: trying to assign nonexistent symbol OBSOLETE_OSS_USB_DRIVER
.config:2767:warning: trying to assign nonexistent symbol USB_MTOUCH
.config:2768:warning: trying to assign nonexistent symbol USB_ITMTOUCH
.config:2769:warning: trying to assign nonexistent symbol USB_EGALAX
.config:2972:warning: trying to assign nonexistent symbol XFS_EXPORT
.config:3021:warning: trying to assign nonexistent symbol RELAYFS_FS
 
Old 10-04-2006, 06:22 AM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
So where are the errors? I can only see warnings.
 
Old 10-05-2006, 06:00 AM   #3
mraray
Member
 
Registered: Sep 2005
Posts: 49

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Andrew Benton
So where are the errors? I can only see warnings.

Using make-kpkg ...

Code:
fig:3174:warning: trying to assign nonexistent symbol STACK_BACKTRACE_COLS
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
Can't find string terminator '"' anywhere before EOF at -e line 1.
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `echo * * Restart config... * * * General setup * Local version - append to kernel release (LOCALVERSION) []  Automatically append version information to the version string (LOCALVERSION_AUTO) [N/y/?] n Support for paging of anonymous memory (swap) (SWAP) [Y/n/?] y System V IPC (SYSVIPC) [Y/n/?] y POSIX Message Queues (POSIX_MQUEUE) [Y/n/?] y BSD Process Accounting (BSD_PROCESS_ACCT) [Y/n/?] y   BSD Process Accounting version 3 file format (BSD_PROCESS_ACCT_V3) [N/y/?] n Export task/process statistics through netlink (EXPERIMENTAL) (TASKSTATS) [N/y/?] (NEW) aborted!  Console input/output is redirected. Run 'make oldconfig' to update configuration.  2.* * Restart config... * * * General setup * Local version - append to kernel release (LOCALVERSION) []  Automatically append version information to the version string (LOCALVERSION_AUTO) [N/y/?] n Support for paging of anonymous memory (swap) (SWAP) [Y/n/?] y System V IPC (SYSVIPC) [Y/n/?] y POSIX Message Queues (POSIX_MQUEUE) [Y/n/?] y BSD Process Accounting (BSD_PROCESS_ACCT) [Y/n/?] y   BSD Process Accounting version 3 file format (BSD_PROCESS_ACCT_V3) [N/y/?] n Export task/process statistics through netlink (EXPERIMENTAL) (TASKSTATS) [N/y/?] (NEW) aborted!  Console input/output is redirected. Run 'make oldconfig' to update configuration.  6.* * Restart config... * * * General setup * Local version - append to kernel release (LOCALVERSION) []  Automatically append version information to the version string (LOCALVERSION_AUTO) [N/y/?] n Support for paging of anonymous memory (swap) (SWAP) [Y/n/?] y System V IPC (SYSVIPC) [Y/n/?] y POSIX Message Queues (POSIX_MQUEUE) [Y/n/?] y BSD Process Accounting (BSD_PROCESS_ACCT) [Y/n/?] y   BSD Process Accounting version 3 file format (BSD_PROCESS_ACCT_V3) [N/y/?] n Export task/process statistics through netlink (EXPERIMENTAL) (TASKSTATS) [N/y/?] (NEW) aborted!  Console input/output is redirected. Run 'make oldconfig' to update configuration.  18* * Restart config... * * * General setup * Local version - append to kernel release (LOCALVERSION) [] Automatically append version information to the version string (LOCALVERSION_AUTO) [N/y/?] n Support for paging of anonymous memory (swap) (SWAP) [Y/n/?] y System V IPC (SYSVIPC) [Y/n/?] y POSIX Message Queues (POSIX_MQUEUE) [Y/n/?] y BSD Process Accounting (BSD_PROCESS_ACCT) [Y/n/?] y BSD Process Accounting version 3 file format (BSD_PROCESS_ACCT_V3) [N/y/?] n Export task/process statistics through netlink (EXPERIMENTAL) (TASKSTATS) [N/y/?] (NEW) aborted! Console input/output is redirected. Run 'make oldconfig' to update configuration.desktop* * Restart config... * * * General setup * Local version - append to kernel release (LOCALVERSION) []  Automatically append version information to the version string (LOCALVERSION_AUTO) [N/y/?] n Support for paging of anonymous memory (swap) (SWAP) [Y/n/?] y System V IPC (SYSVIPC) [Y/n/?] y POSIX Message Queues (POSIX_MQUEUE) [Y/n/?] y BSD Process Accounting (BSD_PROCESS_ACCT) [Y/n/?] y   BSD Process Accounting version 3 file format (BSD_PROCESS_ACCT_V3) [N/y/?] n Export task/process statistics through netlink (EXPERIMENTAL) (TASKSTATS) [N/y/?] (NEW) aborted!  Console input/output is redirected. Run 'make oldconfig' to update configuration. | tr A-Z a-z'
/usr/share/kernel-package/ruleset/misc/version_vars.mk:123: *** Error. The version number * * Restart config... * * * General setup * Local version - append to kernel release (LOCALVERSION) [] Automatically append version information to the version string (LOCALVERSION_AUTO) [N/y/?] n Support for paging of anonymous memory (swap) (SWAP) [Y/n/?] y System V IPC (SYSVIPC) [Y/n/?] y POSIX Message Queues (POSIX_MQUEUE) [Y/n/?] y BSD Process Accounting (BSD_PROCESS_ACCT) [Y/n/?] y BSD Process Accounting version 3 file format (BSD_PROCESS_ACCT_V3) [N/y/?] n Export task/process statistics through netlink (EXPERIMENTAL) (TASKSTATS) [N/y/?] (NEW) aborted! Console input/output is redirected. Run 'make oldconfig' to update configuration. 2.* * Restart config... * * * General setup * Local version - append to kernel release (LOCALVERSION) [] Automatically append version information to the version string (LOCALVERSION_AUTO) [N/y/?] n Support for paging of anonymous memory (swap) (SWAP) [Y/n/?] y System V IPC (SYSVIPC) [Y/n/?] y POSIX Message Queues (POSIX_MQUEUE) [Y/n/?] y BSD Process Accounting (BSD_PROCESS_ACCT) [Y/n/?] y BSD Process Accounting version 3 file format (BSD_PROCESS_ACCT_V3) [N/y/?] n Export task/process statistics through netlink (EXPERIMENTAL) (TASKSTATS) [N/y/?] (NEW) aborted! Console input/output is redirected. Run 'make oldconfig' to update configuration. 6.* * Restart config... * * * General setup * Local version - append to kernel release (LOCALVERSION) [] Automatically append version information to the version string (LOCALVERSION_AUTO) [N/y/?] n Support for paging of anonymous memory (swap) (SWAP) [Y/n/?] y System V IPC (SYSVIPC) [Y/n/?] y POSIX Message Queues (POSIX_MQUEUE) [Y/n/?] y BSD Process Accounting (BSD_PROCESS_ACCT) [Y/n/?] y BSD Process Accounting version 3 file format (BSD_PROCESS_ACCT_V3) [N/y/?] n Export task/process statistics through netlink (EXPERIMENTAL) (TASKSTATS) [N/y/?] (NEW) aborted! Console input/output is redirected. Run 'make oldconfig' to update configuration. 18* * Restart config... * * * General setup * Local version - append to kernel release (LOCALVERSION) [] Automatically append version information to the version string (LOCALVERSION_AUTO) [N/y/?] n Support for paging of anonymous memory (swap) (SWAP) [Y/n/?] y System V IPC (SYSVIPC) [Y/n/?] y POSIX Message Queues (POSIX_MQUEUE) [Y/n/?] y BSD Process Accounting (BSD_PROCESS_ACCT) [Y/n/?] y BSD Process Accounting version 3 file format (BSD_PROCESS_ACCT_V3) [N/y/?] n Export task/process statistics through netlink (EXPERIMENTAL) (TASKSTATS) [N/y/?] (NEW) aborted! Console input/output is redirected. Run 'make oldconfig' to update configuration.desktop* * Restart config... * * * General setup * Local version - append to kernel release (LOCALVERSION) [] Automatically append version information to the version string (LOCALVERSION_AUTO) [N/y/?] n Support for paging of anonymous memory (swap) (SWAP) [Y/n/?] y System V IPC (SYSVIPC) [Y/n/?] y POSIX Message Queues (POSIX_MQUEUE) [Y/n/?] y BSD Process Accounting (BSD_PROCESS_ACCT) [Y/n/?] y BSD Process Accounting version 3 file format (BSD_PROCESS_ACCT_V3) [N/y/?] n Export task/process statistics through netlink (EXPERIMENTAL) (TASKSTATS) [N/y/?] (NEW) aborted! Console input/output is redirected. Run 'make oldconfig' to update configuration. is not all lowercase. Since the version ends up in the package name of the kernel image package, this is a Debian policy violation, and the packaging system shall refuse to package the image. .  Stop.
Failed to create a ./debian directory: No such file or directory at /usr/bin/make-kpkg line 1074.
 
Old 10-05-2006, 10:39 AM   #4
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
So did you run make oldconfig to generate a suitable .config for a 2.6.18 kernel?
 
Old 10-05-2006, 08:01 PM   #5
mraray
Member
 
Registered: Sep 2005
Posts: 49

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Andrew Benton
So did you run make oldconfig to generate a suitable .config for a 2.6.18 kernel?
Hi Andrew,

I did - and all is working now Sorry for the silly question.


Thanks,

Andrew.
 
Old 10-06-2006, 05:05 AM   #6
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Cool. Well done!
It's not a silly question if it's preventing you from moving forward. Compiling a kernel is not as simple as some people make out.
 
Old 10-06-2006, 05:57 AM   #7
mraray
Member
 
Registered: Sep 2005
Posts: 49

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Andrew Benton
Cool. Well done!
It's not a silly question if it's preventing you from moving forward. Compiling a kernel is not as simple as some people make out.
Lol, it is from me... I have been doing this since the kernel v2.0 Oh well, it is a good way for me to get my feet back on the ground .
 
Old 10-22-2006, 02:01 PM   #8
ssenuta
Member
 
Registered: Mar 2006
Location: NYS
Distribution: Mandriva-2006
Posts: 123

Rep: Reputation: 16
make oldconfig warnings

Quote:
Originally Posted by Andrew Benton
So where are the errors? I can only see warnings.
I am getting the same type warnings while running the make silentoldconfig cmd on source linux-2.6.19-rc2 ( patch-2-6.19-rc2 applied to kernel-2.6.18) Then when I check the new .confg file made by silentoldconfig it drops the drivers that it had warnings for.

Arn't the cmds make oldconfig & make silentoldconfig susposed to use your old .config file entries & just enable you to add new stuff?

This only happens after my patch is applied. If I don't patch kernel-2,6.18 & just make an EXTRAVERSION=-test of it via the make oldconfig cmd, nothing is dropped from the resulting new .config file and I can compile without further problems

Patch-2.6.18-rc2 is applied without errors I checked for any *.rej & *.# files in the source & didn't find any. Any suggestions on this problem will be appreciated. ---Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
compile problems edgjerp Mandriva 2 12-08-2004 02:51 PM
problems after compile Gunslinger_ROL Slackware 7 06-18-2004 12:20 AM
Compile problems Greg21 Slackware 5 06-10-2003 02:33 PM
compile problems with 2.4.18 Syncrm Slackware 7 09-16-2002 04:29 AM
compile problems zenerdiode Linux - Software 2 12-22-2000 11:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 02:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration