Ethernet Products
Determine ramifications of Intel® Ethernet products and technologies
5506 Discussions

EEPROMACCESSTOOL build issue

ucantieni
Novice
692 Views

Hi,

I'm trying to program the NVM of i226 on an ARM system with eeprom access tool.

In a first step I'm trying to get the tool to run on a x86_64 laptop, with the latest download of `572162-eepromaccesstool-0.8.0.zip`.

When trying to build the tool using `make`, I face the following issue:

 

```

gcc -DCONFIG_GENERIC_IOMAP -DMODULE -DVIRTUAL -DNTEST -g -Wall -c testfuncs.c
gcc -DCONFIG_GENERIC_IOMAP -DMODULE -DVIRTUAL -DNTEST -g -Wall -c PciEeprom.c
gcc -DCONFIG_GENERIC_IOMAP -DMODULE -DVIRTUAL -DNTEST -g -Wall -c HelperFunctions.c
gcc -DCONFIG_GENERIC_IOMAP -DMODULE -DVIRTUAL -DNTEST -g -Wall -c main.c
gcc testfuncs.o PciEeprom.o HelperFunctions.o main.o -o EepromAccessTool -DCONFIG_GENERIC_IOMAP
/usr/bin/ld: PciEeprom.o:/home/ME/tmp/572162-eepromaccesstool-0.8.0/eepromaccesstool-0.8.0/include/HelperFunctions.h:113: multiple definition of `NvmFunctions'; testfuncs.o:/home/ME/tmp/572162-eepromaccesstool-0.8.0/eepromaccesstool-0.8.0/include/HelperFunctions.h:113: first defined here
/usr/bin/ld: HelperFunctions.o:/home/ME/tmp/572162-eepromaccesstool-0.8.0/eepromaccesstool-0.8.0/include/HelperFunctions.h:113: multiple definition of `NvmFunctions'; testfuncs.o:/home/ME/tmp/572162-eepromaccesstool-0.8.0/eepromaccesstool-0.8.0/include/HelperFunctions.h:113: first defined here
/usr/bin/ld: main.o:/home/ME/tmp/572162-eepromaccesstool-0.8.0/eepromaccesstool-0.8.0/include/HelperFunctions.h:113: multiple definition of `NvmFunctions'; testfuncs.o:/home/ME/tmp/572162-eepromaccesstool-0.8.0/eepromaccesstool-0.8.0/include/HelperFunctions.h:113: first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:61: EepromAccessTool] Error 1

```

 

I seem to be missing something, any ideas?

 

Thanks!

0 Kudos
1 Solution
Simon-Intel
Employee
639 Views


Hi Ucantieni,

 

Good day!

 

Since your issue is related to programing the NVM on i226, we have a separate forum where you can get further assistance.

 

Kindly use the below link and submit your request.

https://community.intel.com/t5/Embedded-Connectivity/bd-p/embedded-networking-connectivity

 

Please don’t hesitate to contact us for any further assistance.


Thank you for using Intel products and services.


Regards,

Simon

Intel server support



View solution in original post

0 Kudos
2 Replies
Simon-Intel
Employee
640 Views


Hi Ucantieni,

 

Good day!

 

Since your issue is related to programing the NVM on i226, we have a separate forum where you can get further assistance.

 

Kindly use the below link and submit your request.

https://community.intel.com/t5/Embedded-Connectivity/bd-p/embedded-networking-connectivity

 

Please don’t hesitate to contact us for any further assistance.


Thank you for using Intel products and services.


Regards,

Simon

Intel server support



0 Kudos
ucantieni
Novice
625 Views

Hi, I'll post my question there. Thank you!

0 Kudos
Reply