Bug 6465 - make error at CONFIG_HDLC=m went away using CONFIG_HDLC=y
Summary: make error at CONFIG_HDLC=m went away using CONFIG_HDLC=y
Status: CLOSED PATCH_ALREADY_AVAILABLE
Alias: None
Product: Drivers
Classification: Unclassified
Component: Other (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: drivers_other
URL:
Keywords:
: 6464 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-30 04:21 UTC by Toralf Förster
Modified: 2006-11-05 05:55 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.18-rc4
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
kernel config (29.53 KB, text/plain)
2006-04-30 04:22 UTC, Toralf Förster
Details
make log (59.27 KB, text/plain)
2006-04-30 04:22 UTC, Toralf Förster
Details
kernel config (29.56 KB, text/plain)
2006-05-01 13:39 UTC, Toralf Förster
Details
fix kconfig dependecy (972 bytes, patch)
2006-05-08 06:09 UTC, Diego Calleja
Details | Diff

Description Toralf Förster 2006-04-30 04:21:41 UTC
Most recent kernel where this bug did not occur:
Distribution:Gentoo Stable
Hardware Environment:
Software Environment:
Problem Description:

Steps to reproduce:see config and make log
Comment 1 Toralf Förster 2006-04-30 04:22:04 UTC
Created attachment 7995 [details]
kernel config
Comment 2 Toralf Förster 2006-04-30 04:22:20 UTC
Created attachment 7996 [details]
make log
Comment 3 Toralf Förster 2006-05-01 13:39:01 UTC
Created attachment 8008 [details]
kernel config

There is a similar behaviour (see below for the attached config at this
remark), which can be solved by the following diff:
n22 /mnt/ramdisk/src # diff .config ../config.rnd.4
4c4
< # Mon May  1 20:04:38 2006
---
> # Mon May  1 18:30:22 2006
775c775
< CONFIG_HDLC=y
---
> CONFIG_HDLC=m

Here is the make error without the diff above:
  GEN	  .version
  CHK	  include/linux/compile.h
  UPD	  include/linux/compile.h
  CC	  init/version.o
  LD	  init/built-in.o
  LD	  .tmp_vmlinux1
drivers/built-in.o: In function `hdlcdev_open':
drivers/char/synclink_gt.c:1436: undefined reference to `hdlc_open'
drivers/char/synclink_gt.c:1469: undefined reference to `hdlc_set_carrier'
drivers/built-in.o: In function `hdlcdev_close':
drivers/char/synclink_gt.c:1494: undefined reference to `hdlc_close'
drivers/built-in.o: In function `hdlcdev_ioctl':
drivers/char/synclink_gt.c:1601: undefined reference to `hdlc_ioctl'
drivers/built-in.o: In function `hdlcdev_init':
drivers/char/synclink_gt.c:1690: undefined reference to `alloc_hdlcdev'
drivers/char/synclink_gt.c:1714: undefined reference to `register_hdlc_device'
drivers/built-in.o: In function `hdlcdev_exit':
drivers/char/synclink_gt.c:1732: undefined reference to
`unregister_hdlc_device'
drivers/built-in.o: In function `dcd_change':
drivers/char/synclink_gt.c:1974: undefined reference to `hdlc_set_carrier'
make: *** [.tmp_vmlinux1] Error 1
Comment 4 Diego Calleja 2006-05-08 06:09:34 UTC
Created attachment 8047 [details]
fix kconfig dependecy

This should fix it
Comment 5 Diego Calleja 2006-05-08 06:15:01 UTC
*** Bug 6464 has been marked as a duplicate of this bug. ***
Comment 6 Diego Calleja 2006-05-11 04:37:49 UTC
Comment on attachment 8047 [details]
fix kconfig dependecy

wrong fix, synclink drivers should be compilable without HDLC

Note You need to log in before you can comment on or make changes to this bug.