This is the mail archive of the mailing list for the systemtap project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/3037] New: FC6: Including config.h is deprecated.

The latest fc6 kernels (2.6.17-2548.fc6) deprecate the inclusion of config.h

With the latest snapshot of the kernel:

 ./stap_testing_200608112011/install/bin/stap -vv -e 'probe begin { log("hello,
world"); }'
Created temporary directory "/tmp/stapaIkfjL"
make -f scripts/ obj=/tmp/stapaIkfjL
  gcc -Wp,-MD,/tmp/stapaIkfjL/.stap_21912.o.d  -nostdinc -isystem
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/include -D__KERNEL__ -Iinclude  -include
include/linux/autoconf.h  -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -Wstrict-prototypes -Wundef
-Werror-implicit-function-declaration  -fno-stack-protector -Os
-fno-omit-frame-pointer -fno-optimize-sibling-calls -fasynchronous-unwind-tables
-g  -mtune=generic -m64 -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks
-Wno-sign-compare -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
-Wdeclaration-after-statement -Wno-pointer-sign -freorder-blocks -Wno-unused
-D"KBUILD_MODNAME=KBUILD_STR(stap_21912)" -c -o
/tmp/stapaIkfjL/.tmp_stap_21912.o /tmp/stapaIkfjL/stap_21912.c
In file included from
                 from /tmp/stapaIkfjL/stap_21912.c:31:
include/linux/config.h:6:2: error: #warning Including config.h is deprecated.
make[1]: *** [/tmp/stapaIkfjL/stap_21912.o] Error 1
make: *** [_module_/tmp/stapaIkfjL] Error 2
make: Leaving directory `/usr/src/kernels/2.6.17-1.2548.fc6-x86_64'
Pass 4: compiled C into "stap_21912.ko" in 1290usr/520sys/1835real ms.
Pass 4: compilation failed.  Try again with more '-v' (verbose) options.
Running rm -rf /tmp/stapaIkfjL

           Summary:  FC6: Including config.h is deprecated.
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: wcohen at redhat dot com

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]