Hi
Linux dist. : CentOS 7 (kernel ver. kernel-3.10.0-229.20.1.el7)
Lan card : i350-T4(JH) - quard lan

Issue and problem.

1.     I download intel driver - igb-5.3.4.4.tar.gz for i350-T4

2.     Uncompress and compile ( I reffered README file)

3.     Compile error (see below compile error output)

4.     I modified kcompat.h ( #if !(RHEL_RELEASE_CODE >= 
RHEL_RELEASE_VERSION(6,8)) -> //#if !(RHEL_RELEASE_CODE >= 
RHEL_RELEASE_VERSION(6,8)) )

5.     Re compile work well

6.     Installation ok ( actually there is another problem to install of NVM 
checksum error at modprobe igb - refer this url : 
https://sourceforge.net/p/e1000/mailman/message/33538183/ )

7.     Networking and teaming is good
Is Modifying header file right? And I wonder lan card (teaming) working well ?
Does anyone have this experience? And help me..

-------------------------------
Compile error output
make -C /lib/modules/3.10.0/build SUBDIRS=/home/mnd/igb-5.3.4.4/src modules
make[1]: Entering directory 
`/root/rpmbuild/BUILD/kernel-3.10.0-229.20.1.el7/linux-3.10.0-229.20.1.el7.x86_64'
  CC [M]  /home/mnd/igb-5.3.4.4/src/igb_ptp.o
/home/mnd/igb-5.3.4.4/src/igb_ptp.c:330:15: warning: ?truct timespec64?declared 
inside parameter list [enabled by default]
        struct timespec64 *ts64)
               ^
/home/mnd/igb-5.3.4.4/src/igb_ptp.c:330:15: warning: its scope is only this 
definition or declaration, which is probably not what you want [enabled by 
default]
/home/mnd/igb-5.3.4.4/src/igb_ptp.c: In function ?gb_ptp_gettime64_82576?
/home/mnd/igb-5.3.4.4/src/igb_ptp.c:343:2: error: dereferencing pointer to 
incomplete type
  *ts64 = ns_to_timespec64(ns);
  ^
/home/mnd/igb-5.3.4.4/src/igb_ptp.c:343:2: error: implicit declaration of 
function ?s_to_timespec64?[-Werror=implicit-function-declaration]
/home/mnd/igb-5.3.4.4/src/igb_ptp.c: At top level:
/home/mnd/igb-5.3.4.4/src/igb_ptp.c:349:14: warning: ?truct timespec64?declared 
inside parameter list [enabled by default]
       struct timespec64 *ts64)
              ^
/home/mnd/igb-5.3.4.4/src/igb_ptp.c: In function ?gb_ptp_gettime64_i210?
/home/mnd/igb-5.3.4.4/src/igb_ptp.c:359:2: error: dereferencing pointer to 
incomplete type
  *ts64 = timespec_to_timespec64(ts);
  ^
/home/mnd/igb-5.3.4.4/src/igb_ptp.c:359:2: error: implicit declaration of 
function ?imespec_to_timespec64?[-Werror=implicit-function-declaration]
/home/mnd/igb-5.3.4.4/src/igb_ptp.c: At top level:
/home/mnd/igb-5.3.4.4/src/igb_ptp.c:388:20: warning: ?truct timespec64?declared 
inside parameter list [enabled by default]
       const struct timespec64 *ts64)
                    ^
/home/mnd/igb-5.3.4.4/src/igb_ptp.c: In function ?gb_ptp_settime64_i210?
/home/mnd/igb-5.3.4.4/src/igb_ptp.c:395:2: error: implicit declaration of 
function ?imespec64_to_timespec?[-Werror=implicit-function-declaration]
  ts = timespec64_to_timespec(*ts64);
  ^
/home/mnd/igb-5.3.4.4/src/igb_ptp.c:395:30: error: dereferencing pointer to 
incomplete type
  ts = timespec64_to_timespec(*ts64);
                              ^
/home/mnd/igb-5.3.4.4/src/igb_ptp.c: In function ?gb_ptp_gettime_82576?
/home/mnd/igb-5.3.4.4/src/igb_ptp.c:409:20: error: storage size of ?s64?isn? 
known
  struct timespec64 ts64;
                    ^
/home/mnd/igb-5.3.4.4/src/igb_ptp.c:409:20: warning: unused variable 
?s64?[-Wunused-variable]
/home/mnd/igb-5.3.4.4/src/igb_ptp.c: In function ?gb_ptp_gettime_i210?
/home/mnd/igb-5.3.4.4/src/igb_ptp.c:424:20: error: storage size of ?s64?isn? 
known
  struct timespec64 ts64;
                    ^
/home/mnd/igb-5.3.4.4/src/igb_ptp.c:424:20: warning: unused variable 
?s64?[-Wunused-variable]
/home/mnd/igb-5.3.4.4/src/igb_ptp.c: In function ?gb_ptp_overflow_check_82576?
/home/mnd/igb-5.3.4.4/src/igb_ptp.c:518:20: error: storage size of ?s64?isn? 
known
  struct timespec64 ts64;
                    ^
/home/mnd/igb-5.3.4.4/src/igb_ptp.c:518:20: warning: unused variable 
?s64?[-Wunused-variable]
/home/mnd/igb-5.3.4.4/src/igb_ptp.c: In function ?gb_ptp_init?
/home/mnd/igb-5.3.4.4/src/igb_ptp.c:958:10: error: variable ?s?has initializer 
but incomplete type
   struct timespec64 ts = ktime_to_timespec64(ktime_get_real());
          ^
/home/mnd/igb-5.3.4.4/src/igb_ptp.c:958:10: error: implicit declaration of 
function ?time_to_timespec64?[-Werror=implicit-function-declaration]
/home/mnd/igb-5.3.4.4/src/igb_ptp.c:958:21: error: storage size of ?s?isn? known
   struct timespec64 ts = ktime_to_timespec64(ktime_get_real());
                     ^
/home/mnd/igb-5.3.4.4/src/igb_ptp.c:958:21: warning: unused variable 
?s?[-Wunused-variable]
/home/mnd/igb-5.3.4.4/src/igb_ptp.c: In function ?gb_ptp_reset?
/home/mnd/igb-5.3.4.4/src/igb_ptp.c:1070:10: error: variable ?s64?has 
initializer but incomplete type
   struct timespec64 ts64 = ktime_to_timespec64(ktime_get_real());
          ^
/home/mnd/igb-5.3.4.4/src/igb_ptp.c:1070:21: error: storage size of ?s64?isn? 
known
   struct timespec64 ts64 = ktime_to_timespec64(ktime_get_real());
                     ^
/home/mnd/igb-5.3.4.4/src/igb_ptp.c:1070:21: warning: unused variable 
?s64?[-Wunused-variable]
cc1: some warnings being treated as errors
make[2]: *** [/home/mnd/igb-5.3.4.4/src/igb_ptp.o] Error 1
make[1]: *** [_module_/home/mnd/igb-5.3.4.4/src] Error 2
make[1]: Leaving directory 
`/root/rpmbuild/BUILD/kernel-3.10.0-229.20.1.el7/linux-3.10.0-229.20.1.el7.x86_64'
make: *** [default] Error 2

from Paul.
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit 
http://communities.intel.com/community/wired

Reply via email to