DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Error while compiling DPDK
@ 2014-07-14  0:24 BYEONG-GI KIM
  2014-07-14  1:00 ` Choi, Sy Jong
  2014-07-14 11:46 ` Neil Horman
  0 siblings, 2 replies; 11+ messages in thread
From: BYEONG-GI KIM @ 2014-07-14  0:24 UTC (permalink / raw)
  To: Dpdk-ovs, dev

Hello.

An error occured while compiling DPDK 1.6.0r2 as below:

[root@compute dpdk-1.6.0r2]# make install T=x86_64*gcc
...Installing...
/ovdk/dpdk/dpdk-1.6.0r2/lib/librte_eal/bsdapp/eal/eal.c: In function
‘rte_eal_init’:
/ovdk/dpdk/dpdk-1.6.0r2/lib/librte_eal/bsdapp/eal/eal.c:873:2: error:
format ‘%p’ expects argument of type ‘void *’, but argument 5 has type
‘pthread_t’ [-Werror=format=]
  RTE_LOG(DEBUG, EAL, "Master core %u is ready (tid=%p)\n",
  ^

The current OS is Fedora20. What should I do?...

Best regards

Byeong-Gi KIM

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [dpdk-dev] Error while compiling DPDK
  2014-07-14  0:24 [dpdk-dev] Error while compiling DPDK BYEONG-GI KIM
@ 2014-07-14  1:00 ` Choi, Sy Jong
  2014-07-14  1:24   ` BYEONG-GI KIM
  2014-07-14 11:46 ` Neil Horman
  1 sibling, 1 reply; 11+ messages in thread
From: Choi, Sy Jong @ 2014-07-14  1:00 UTC (permalink / raw)
  To: 'BYEONG-GI KIM', 'Dpdk-ovs@lists.01.org',
	'dev@dpdk.org'

Hi Mr. Kim,

Please do not compile with "T=x86*gcc" because it will compile BSD app too, which cause the error.

Please complile only the configuration you need. This should remove the error.


Regards,
Choi, Sy Jong

-----Original Message-----
From: BYEONG-GI KIM [kimbyeonggi@gmail.com<mailto:kimbyeonggi@gmail.com>]
Sent: Monday, July 14, 2014 08:25 AM Malay Peninsula Standard Time
To: Dpdk-ovs@lists.01.org; dev@dpdk.org
Subject: [dpdk-dev] Error while compiling DPDK


Hello.

An error occured while compiling DPDK 1.6.0r2 as below:

[root@compute dpdk-1.6.0r2]# make install T=x86_64*gcc
...Installing...
/ovdk/dpdk/dpdk-1.6.0r2/lib/librte_eal/bsdapp/eal/eal.c: In function
‘rte_eal_init’:
/ovdk/dpdk/dpdk-1.6.0r2/lib/librte_eal/bsdapp/eal/eal.c:873:2: error:
format ‘%p’ expects argument of type ‘void *’, but argument 5 has type
‘pthread_t’ [-Werror=format=]
  RTE_LOG(DEBUG, EAL, "Master core %u is ready (tid=%p)\n",
  ^

The current OS is Fedora20. What should I do?...

Best regards

Byeong-Gi KIM

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [dpdk-dev] Error while compiling DPDK
  2014-07-14  1:00 ` Choi, Sy Jong
@ 2014-07-14  1:24   ` BYEONG-GI KIM
  2014-07-14  2:02     ` Masaru Oki
  0 siblings, 1 reply; 11+ messages in thread
From: BYEONG-GI KIM @ 2014-07-14  1:24 UTC (permalink / raw)
  To: Choi, Sy Jong; +Cc: dev, Dpdk-ovs

Dear choi,

Thank you for the reply.

I've been trying to install DPDK while changing the command as you
mentioned, i.e., I used T=x86_64-default-linuxapp-gcc, but error was still
shown;


[root@compute DPDK-1.6.0]# make install T=x86_64-default-linuxapp-gcc
================== Installing x86_64-default-linuxapp-gcc
Configuration done
== Build scripts
== Build scripts/testhost
  HOSTCC testhost.o
  HOSTLD testhost
  INSTALL-HOSTAPP testhost
== Build lib
== Build lib/librte_eal
== Build lib/librte_eal/common
  SYMLINK-FILE include/rte_atomic.h
  SYMLINK-FILE include/rte_branch_prediction.h
  SYMLINK-FILE include/rte_byteorder.h
  SYMLINK-FILE include/rte_common.h
  SYMLINK-FILE include/rte_cycles.h
  SYMLINK-FILE include/rte_debug.h
  SYMLINK-FILE include/rte_eal.h
  SYMLINK-FILE include/rte_errno.h
  SYMLINK-FILE include/rte_launch.h
  SYMLINK-FILE include/rte_lcore.h
  SYMLINK-FILE include/rte_log.h
  SYMLINK-FILE include/rte_memcpy.h
  SYMLINK-FILE include/rte_memory.h
  SYMLINK-FILE include/rte_memzone.h
  SYMLINK-FILE include/rte_pci.h
  SYMLINK-FILE include/rte_pci_dev_ids.h
  SYMLINK-FILE include/rte_per_lcore.h
  SYMLINK-FILE include/rte_prefetch.h
  SYMLINK-FILE include/rte_random.h
  SYMLINK-FILE include/rte_rwlock.h
  SYMLINK-FILE include/rte_spinlock.h
  SYMLINK-FILE include/rte_tailq.h
  SYMLINK-FILE include/rte_interrupts.h
  SYMLINK-FILE include/rte_alarm.h
  SYMLINK-FILE include/rte_string_fns.h
  SYMLINK-FILE include/rte_cpuflags.h
  SYMLINK-FILE include/rte_version.h
  SYMLINK-FILE include/rte_tailq_elem.h
  SYMLINK-FILE include/rte_eal_memconfig.h
  SYMLINK-FILE include/rte_malloc_heap.h
  SYMLINK-FILE include/rte_hexdump.h
  SYMLINK-FILE include/arch/rte_atomic.h
== Build lib/librte_eal/linuxapp
== Build lib/librte_eal/linuxapp/igb_uio
  LD
 /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/built-in.o
  CC [M]
 /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC
 /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.mod.o
  LD [M]
 /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.ko
INSTALL-MODULE igb_uio.ko
== Build lib/librte_eal/linuxapp/eal
  CC eal.o
gcc: error: –g: 그런 파일이나 디렉터리가 없습니다
make[7]: *** [eal.o] 오류 1
make[6]: *** [eal] 오류 2
make[5]: *** [linuxapp] 오류 2
make[4]: *** [librte_eal] 오류 2
make[3]: *** [lib] 오류 2
make[2]: *** [all] 오류 2
make[1]: *** [x86_64-default-linuxapp-gcc_install] 오류 2
make: *** [install] 오류 2

I'm sorry for the Korean characteristics. It was shown because My Fedora OS
is set to use Korean as a default language.

I set two environmental variables following the
intel-dpdk-programmers-guide.pdf as below:

export RTE_SDK=/home/stack/dpdk/DPDK-1.6.0
export RTE_TARGET=x86_64-native-linuxapp-gcc

What should I do in order to install DPDK successfully?...

Thanks in advance.

Best regards

Byeong-Gi KIM




2014-07-14 10:00 GMT+09:00 Choi, Sy Jong <sy.jong.choi@intel.com>:

>  Hi Mr. Kim,
>
> Please do not compile with "T=x86*gcc" because it will compile BSD app
> too, which cause the error.
>
> Please complile only the configuration you need. This should remove the
> error.
>
>
> Regards,
> Choi, Sy Jong
>
>
> -----Original Message-----
> *From: *BYEONG-GI KIM [kimbyeonggi@gmail.com]
> *Sent: *Monday, July 14, 2014 08:25 AM Malay Peninsula Standard Time
> *To: *Dpdk-ovs@lists.01.org; dev@dpdk.org
> *Subject: *[dpdk-dev] Error while compiling DPDK
>
> Hello.
>
> An error occured while compiling DPDK 1.6.0r2 as below:
>
> [root@compute dpdk-1.6.0r2]# make install T=x86_64*gcc
> ...Installing...
> /ovdk/dpdk/dpdk-1.6.0r2/lib/librte_eal/bsdapp/eal/eal.c: In function
> ‘rte_eal_init’:
> /ovdk/dpdk/dpdk-1.6.0r2/lib/librte_eal/bsdapp/eal/eal.c:873:2: error:
> format ‘%p’ expects argument of type ‘void *’, but argument 5 has type
> ‘pthread_t’ [-Werror=format=]
>   RTE_LOG(DEBUG, EAL, "Master core %u is ready (tid=%p)\n",
>   ^
>
> The current OS is Fedora20. What should I do?...
>
> Best regards
>
> Byeong-Gi KIM
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [dpdk-dev] Error while compiling DPDK
  2014-07-14  1:24   ` BYEONG-GI KIM
@ 2014-07-14  2:02     ` Masaru Oki
  2014-07-14  2:04       ` BYEONG-GI KIM
  0 siblings, 1 reply; 11+ messages in thread
From: Masaru Oki @ 2014-07-14  2:02 UTC (permalink / raw)
  To: BYEONG-GI KIM; +Cc: <dev@dpdk.org>, Dpdk-ovs

> I'm sorry for the Korean characteristics. It was shown because My Fedora
OS
> is set to use Korean as a default language.

Try env LANG=C make install ...


2014-07-14 10:24 GMT+09:00 BYEONG-GI KIM <kimbyeonggi@gmail.com>:

> Dear choi,
>
> Thank you for the reply.
>
> I've been trying to install DPDK while changing the command as you
> mentioned, i.e., I used T=x86_64-default-linuxapp-gcc, but error was still
> shown;
>
>
> [root@compute DPDK-1.6.0]# make install T=x86_64-default-linuxapp-gcc
> ================== Installing x86_64-default-linuxapp-gcc
> Configuration done
> == Build scripts
> == Build scripts/testhost
>   HOSTCC testhost.o
>   HOSTLD testhost
>   INSTALL-HOSTAPP testhost
> == Build lib
> == Build lib/librte_eal
> == Build lib/librte_eal/common
>   SYMLINK-FILE include/rte_atomic.h
>   SYMLINK-FILE include/rte_branch_prediction.h
>   SYMLINK-FILE include/rte_byteorder.h
>   SYMLINK-FILE include/rte_common.h
>   SYMLINK-FILE include/rte_cycles.h
>   SYMLINK-FILE include/rte_debug.h
>   SYMLINK-FILE include/rte_eal.h
>   SYMLINK-FILE include/rte_errno.h
>   SYMLINK-FILE include/rte_launch.h
>   SYMLINK-FILE include/rte_lcore.h
>   SYMLINK-FILE include/rte_log.h
>   SYMLINK-FILE include/rte_memcpy.h
>   SYMLINK-FILE include/rte_memory.h
>   SYMLINK-FILE include/rte_memzone.h
>   SYMLINK-FILE include/rte_pci.h
>   SYMLINK-FILE include/rte_pci_dev_ids.h
>   SYMLINK-FILE include/rte_per_lcore.h
>   SYMLINK-FILE include/rte_prefetch.h
>   SYMLINK-FILE include/rte_random.h
>   SYMLINK-FILE include/rte_rwlock.h
>   SYMLINK-FILE include/rte_spinlock.h
>   SYMLINK-FILE include/rte_tailq.h
>   SYMLINK-FILE include/rte_interrupts.h
>   SYMLINK-FILE include/rte_alarm.h
>   SYMLINK-FILE include/rte_string_fns.h
>   SYMLINK-FILE include/rte_cpuflags.h
>   SYMLINK-FILE include/rte_version.h
>   SYMLINK-FILE include/rte_tailq_elem.h
>   SYMLINK-FILE include/rte_eal_memconfig.h
>   SYMLINK-FILE include/rte_malloc_heap.h
>   SYMLINK-FILE include/rte_hexdump.h
>   SYMLINK-FILE include/arch/rte_atomic.h
> == Build lib/librte_eal/linuxapp
> == Build lib/librte_eal/linuxapp/igb_uio
>   LD
>
>  /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/built-in.o
>   CC [M]
>
>  /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.o
>   Building modules, stage 2.
>   MODPOST 1 modules
>   CC
>
>  /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.mod.o
>   LD [M]
>
>  /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.ko
> INSTALL-MODULE igb_uio.ko
> == Build lib/librte_eal/linuxapp/eal
>   CC eal.o
> gcc: error: –g: 그런 파일이나 디렉터리가 없습니다
> make[7]: *** [eal.o] 오류 1
> make[6]: *** [eal] 오류 2
> make[5]: *** [linuxapp] 오류 2
> make[4]: *** [librte_eal] 오류 2
> make[3]: *** [lib] 오류 2
> make[2]: *** [all] 오류 2
> make[1]: *** [x86_64-default-linuxapp-gcc_install] 오류 2
> make: *** [install] 오류 2
>
> I'm sorry for the Korean characteristics. It was shown because My Fedora OS
> is set to use Korean as a default language.
>
> I set two environmental variables following the
> intel-dpdk-programmers-guide.pdf as below:
>
> export RTE_SDK=/home/stack/dpdk/DPDK-1.6.0
> export RTE_TARGET=x86_64-native-linuxapp-gcc
>
> What should I do in order to install DPDK successfully?...
>
> Thanks in advance.
>
> Best regards
>
> Byeong-Gi KIM
>
>
>
>
> 2014-07-14 10:00 GMT+09:00 Choi, Sy Jong <sy.jong.choi@intel.com>:
>
> >  Hi Mr. Kim,
> >
> > Please do not compile with "T=x86*gcc" because it will compile BSD app
> > too, which cause the error.
> >
> > Please complile only the configuration you need. This should remove the
> > error.
> >
> >
> > Regards,
> > Choi, Sy Jong
> >
> >
> > -----Original Message-----
> > *From: *BYEONG-GI KIM [kimbyeonggi@gmail.com]
> > *Sent: *Monday, July 14, 2014 08:25 AM Malay Peninsula Standard Time
> > *To: *Dpdk-ovs@lists.01.org; dev@dpdk.org
> > *Subject: *[dpdk-dev] Error while compiling DPDK
> >
> > Hello.
> >
> > An error occured while compiling DPDK 1.6.0r2 as below:
> >
> > [root@compute dpdk-1.6.0r2]# make install T=x86_64*gcc
> > ...Installing...
> > /ovdk/dpdk/dpdk-1.6.0r2/lib/librte_eal/bsdapp/eal/eal.c: In function
> > ‘rte_eal_init’:
> > /ovdk/dpdk/dpdk-1.6.0r2/lib/librte_eal/bsdapp/eal/eal.c:873:2: error:
> > format ‘%p’ expects argument of type ‘void *’, but argument 5 has type
> > ‘pthread_t’ [-Werror=format=]
> >   RTE_LOG(DEBUG, EAL, "Master core %u is ready (tid=%p)\n",
> >   ^
> >
> > The current OS is Fedora20. What should I do?...
> >
> > Best regards
> >
> > Byeong-Gi KIM
> >
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [dpdk-dev] Error while compiling DPDK
  2014-07-14  2:02     ` Masaru Oki
@ 2014-07-14  2:04       ` BYEONG-GI KIM
  2014-07-14  2:40         ` Choi, Sy Jong
  0 siblings, 1 reply; 11+ messages in thread
From: BYEONG-GI KIM @ 2014-07-14  2:04 UTC (permalink / raw)
  To: Masaru Oki, dev, Dpdk-ovs

Here is the error message in English;

== Build lib/librte_eal/linuxapp
== Build lib/librte_eal/linuxapp/igb_uio
  LD
 /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/built-in.o
  CC [M]
 /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC
 /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.mod.o
  LD [M]
 /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.ko
INSTALL-MODULE igb_uio.ko
== Build lib/librte_eal/linuxapp/eal
  CC eal.o
gcc: error: –g: No such file or directory
make[7]: *** [eal.o] Error 1
make[6]: *** [eal] Error 2
make[5]: *** [linuxapp] Error 2
make[4]: *** [librte_eal] Error 2
make[3]: *** [lib] Error 2
make[2]: *** [all] Error 2
make[1]: *** [x86_64-default-linuxapp-gcc_install] Error 2
make: *** [install] Error 2



2014-07-14 11:02 GMT+09:00 Masaru Oki <m-oki@stratosphere.co.jp>:

> > I'm sorry for the Korean characteristics. It was shown because My Fedora
> OS
> > is set to use Korean as a default language.
>
> Try env LANG=C make install ...
>
>
> 2014-07-14 10:24 GMT+09:00 BYEONG-GI KIM <kimbyeonggi@gmail.com>:
>
>> Dear choi,
>>
>> Thank you for the reply.
>>
>> I've been trying to install DPDK while changing the command as you
>> mentioned, i.e., I used T=x86_64-default-linuxapp-gcc, but error was still
>> shown;
>>
>>
>> [root@compute DPDK-1.6.0]# make install T=x86_64-default-linuxapp-gcc
>> ================== Installing x86_64-default-linuxapp-gcc
>> Configuration done
>> == Build scripts
>> == Build scripts/testhost
>>   HOSTCC testhost.o
>>   HOSTLD testhost
>>   INSTALL-HOSTAPP testhost
>> == Build lib
>> == Build lib/librte_eal
>> == Build lib/librte_eal/common
>>   SYMLINK-FILE include/rte_atomic.h
>>   SYMLINK-FILE include/rte_branch_prediction.h
>>   SYMLINK-FILE include/rte_byteorder.h
>>   SYMLINK-FILE include/rte_common.h
>>   SYMLINK-FILE include/rte_cycles.h
>>   SYMLINK-FILE include/rte_debug.h
>>   SYMLINK-FILE include/rte_eal.h
>>   SYMLINK-FILE include/rte_errno.h
>>   SYMLINK-FILE include/rte_launch.h
>>   SYMLINK-FILE include/rte_lcore.h
>>   SYMLINK-FILE include/rte_log.h
>>   SYMLINK-FILE include/rte_memcpy.h
>>   SYMLINK-FILE include/rte_memory.h
>>   SYMLINK-FILE include/rte_memzone.h
>>   SYMLINK-FILE include/rte_pci.h
>>   SYMLINK-FILE include/rte_pci_dev_ids.h
>>   SYMLINK-FILE include/rte_per_lcore.h
>>   SYMLINK-FILE include/rte_prefetch.h
>>   SYMLINK-FILE include/rte_random.h
>>   SYMLINK-FILE include/rte_rwlock.h
>>   SYMLINK-FILE include/rte_spinlock.h
>>   SYMLINK-FILE include/rte_tailq.h
>>   SYMLINK-FILE include/rte_interrupts.h
>>   SYMLINK-FILE include/rte_alarm.h
>>   SYMLINK-FILE include/rte_string_fns.h
>>   SYMLINK-FILE include/rte_cpuflags.h
>>   SYMLINK-FILE include/rte_version.h
>>   SYMLINK-FILE include/rte_tailq_elem.h
>>   SYMLINK-FILE include/rte_eal_memconfig.h
>>   SYMLINK-FILE include/rte_malloc_heap.h
>>   SYMLINK-FILE include/rte_hexdump.h
>>   SYMLINK-FILE include/arch/rte_atomic.h
>> == Build lib/librte_eal/linuxapp
>> == Build lib/librte_eal/linuxapp/igb_uio
>>   LD
>>
>>  /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/built-in.o
>>   CC [M]
>>
>>  /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.o
>>   Building modules, stage 2.
>>   MODPOST 1 modules
>>   CC
>>
>>  /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.mod.o
>>   LD [M]
>>
>>  /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.ko
>> INSTALL-MODULE igb_uio.ko
>> == Build lib/librte_eal/linuxapp/eal
>>   CC eal.o
>> gcc: error: –g: 그런 파일이나 디렉터리가 없습니다
>> make[7]: *** [eal.o] 오류 1
>> make[6]: *** [eal] 오류 2
>> make[5]: *** [linuxapp] 오류 2
>> make[4]: *** [librte_eal] 오류 2
>> make[3]: *** [lib] 오류 2
>> make[2]: *** [all] 오류 2
>> make[1]: *** [x86_64-default-linuxapp-gcc_install] 오류 2
>> make: *** [install] 오류 2
>>
>> I'm sorry for the Korean characteristics. It was shown because My Fedora
>> OS
>> is set to use Korean as a default language.
>>
>> I set two environmental variables following the
>> intel-dpdk-programmers-guide.pdf as below:
>>
>> export RTE_SDK=/home/stack/dpdk/DPDK-1.6.0
>> export RTE_TARGET=x86_64-native-linuxapp-gcc
>>
>> What should I do in order to install DPDK successfully?...
>>
>> Thanks in advance.
>>
>> Best regards
>>
>> Byeong-Gi KIM
>>
>>
>>
>>
>> 2014-07-14 10:00 GMT+09:00 Choi, Sy Jong <sy.jong.choi@intel.com>:
>>
>> >  Hi Mr. Kim,
>> >
>> > Please do not compile with "T=x86*gcc" because it will compile BSD app
>> > too, which cause the error.
>> >
>> > Please complile only the configuration you need. This should remove the
>> > error.
>> >
>> >
>> > Regards,
>> > Choi, Sy Jong
>> >
>> >
>> > -----Original Message-----
>> > *From: *BYEONG-GI KIM [kimbyeonggi@gmail.com]
>> > *Sent: *Monday, July 14, 2014 08:25 AM Malay Peninsula Standard Time
>> > *To: *Dpdk-ovs@lists.01.org; dev@dpdk.org
>> > *Subject: *[dpdk-dev] Error while compiling DPDK
>>
>> >
>> > Hello.
>> >
>> > An error occured while compiling DPDK 1.6.0r2 as below:
>> >
>> > [root@compute dpdk-1.6.0r2]# make install T=x86_64*gcc
>> > ...Installing...
>> > /ovdk/dpdk/dpdk-1.6.0r2/lib/librte_eal/bsdapp/eal/eal.c: In function
>> > ‘rte_eal_init’:
>> > /ovdk/dpdk/dpdk-1.6.0r2/lib/librte_eal/bsdapp/eal/eal.c:873:2: error:
>> > format ‘%p’ expects argument of type ‘void *’, but argument 5 has type
>> > ‘pthread_t’ [-Werror=format=]
>> >   RTE_LOG(DEBUG, EAL, "Master core %u is ready (tid=%p)\n",
>> >   ^
>> >
>> > The current OS is Fedora20. What should I do?...
>> >
>> > Best regards
>> >
>> > Byeong-Gi KIM
>> >
>>
>
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [dpdk-dev] Error while compiling DPDK
  2014-07-14  2:04       ` BYEONG-GI KIM
@ 2014-07-14  2:40         ` Choi, Sy Jong
  2014-07-14  3:28           ` BYEONG-GI KIM
  0 siblings, 1 reply; 11+ messages in thread
From: Choi, Sy Jong @ 2014-07-14  2:40 UTC (permalink / raw)
  To: 'BYEONG-GI KIM', 'Masaru Oki',
	'dev@dpdk.org', 'Dpdk-ovs@lists.01.org'

Hi Mr. Kim,

May confirm which environment are you using?
x86_64-default-linuxapp-gcc or
x86_64-native-linuxapp-gcc



Regards,
Choi, Sy Jong

-----Original Message-----
From: BYEONG-GI KIM [kimbyeonggi@gmail.com<mailto:kimbyeonggi@gmail.com>]
Sent: Monday, July 14, 2014 10:05 AM Malay Peninsula Standard Time
To: Masaru Oki; dev@dpdk.org; Dpdk-ovs@lists.01.org
Subject: Re: [dpdk-dev] Error while compiling DPDK


Here is the error message in English;

== Build lib/librte_eal/linuxapp
== Build lib/librte_eal/linuxapp/igb_uio
  LD
 /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/built-in.o
  CC [M]
 /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC
 /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.mod.o
  LD [M]
 /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.ko
INSTALL-MODULE igb_uio.ko
== Build lib/librte_eal/linuxapp/eal
  CC eal.o
gcc: error: –g: No such file or directory
make[7]: *** [eal.o] Error 1
make[6]: *** [eal] Error 2
make[5]: *** [linuxapp] Error 2
make[4]: *** [librte_eal] Error 2
make[3]: *** [lib] Error 2
make[2]: *** [all] Error 2
make[1]: *** [x86_64-default-linuxapp-gcc_install] Error 2
make: *** [install] Error 2



2014-07-14 11:02 GMT+09:00 Masaru Oki <m-oki@stratosphere.co.jp>:

> > I'm sorry for the Korean characteristics. It was shown because My Fedora
> OS
> > is set to use Korean as a default language.
>
> Try env LANG=C make install ...
>
>
> 2014-07-14 10:24 GMT+09:00 BYEONG-GI KIM <kimbyeonggi@gmail.com>:
>
>> Dear choi,
>>
>> Thank you for the reply.
>>
>> I've been trying to install DPDK while changing the command as you
>> mentioned, i.e., I used T=x86_64-default-linuxapp-gcc, but error was still
>> shown;
>>
>>
>> [root@compute DPDK-1.6.0]# make install T=x86_64-default-linuxapp-gcc
>> ================== Installing x86_64-default-linuxapp-gcc
>> Configuration done
>> == Build scripts
>> == Build scripts/testhost
>>   HOSTCC testhost.o
>>   HOSTLD testhost
>>   INSTALL-HOSTAPP testhost
>> == Build lib
>> == Build lib/librte_eal
>> == Build lib/librte_eal/common
>>   SYMLINK-FILE include/rte_atomic.h
>>   SYMLINK-FILE include/rte_branch_prediction.h
>>   SYMLINK-FILE include/rte_byteorder.h
>>   SYMLINK-FILE include/rte_common.h
>>   SYMLINK-FILE include/rte_cycles.h
>>   SYMLINK-FILE include/rte_debug.h
>>   SYMLINK-FILE include/rte_eal.h
>>   SYMLINK-FILE include/rte_errno.h
>>   SYMLINK-FILE include/rte_launch.h
>>   SYMLINK-FILE include/rte_lcore.h
>>   SYMLINK-FILE include/rte_log.h
>>   SYMLINK-FILE include/rte_memcpy.h
>>   SYMLINK-FILE include/rte_memory.h
>>   SYMLINK-FILE include/rte_memzone.h
>>   SYMLINK-FILE include/rte_pci.h
>>   SYMLINK-FILE include/rte_pci_dev_ids.h
>>   SYMLINK-FILE include/rte_per_lcore.h
>>   SYMLINK-FILE include/rte_prefetch.h
>>   SYMLINK-FILE include/rte_random.h
>>   SYMLINK-FILE include/rte_rwlock.h
>>   SYMLINK-FILE include/rte_spinlock.h
>>   SYMLINK-FILE include/rte_tailq.h
>>   SYMLINK-FILE include/rte_interrupts.h
>>   SYMLINK-FILE include/rte_alarm.h
>>   SYMLINK-FILE include/rte_string_fns.h
>>   SYMLINK-FILE include/rte_cpuflags.h
>>   SYMLINK-FILE include/rte_version.h
>>   SYMLINK-FILE include/rte_tailq_elem.h
>>   SYMLINK-FILE include/rte_eal_memconfig.h
>>   SYMLINK-FILE include/rte_malloc_heap.h
>>   SYMLINK-FILE include/rte_hexdump.h
>>   SYMLINK-FILE include/arch/rte_atomic.h
>> == Build lib/librte_eal/linuxapp
>> == Build lib/librte_eal/linuxapp/igb_uio
>>   LD
>>
>>  /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/built-in.o
>>   CC [M]
>>
>>  /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.o
>>   Building modules, stage 2.
>>   MODPOST 1 modules
>>   CC
>>
>>  /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.mod.o
>>   LD [M]
>>
>>  /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.ko
>> INSTALL-MODULE igb_uio.ko
>> == Build lib/librte_eal/linuxapp/eal
>>   CC eal.o
>> gcc: error: –g: 그런 파일이나 디렉터리가 없습니다
>> make[7]: *** [eal.o] 오류 1
>> make[6]: *** [eal] 오류 2
>> make[5]: *** [linuxapp] 오류 2
>> make[4]: *** [librte_eal] 오류 2
>> make[3]: *** [lib] 오류 2
>> make[2]: *** [all] 오류 2
>> make[1]: *** [x86_64-default-linuxapp-gcc_install] 오류 2
>> make: *** [install] 오류 2
>>
>> I'm sorry for the Korean characteristics. It was shown because My Fedora
>> OS
>> is set to use Korean as a default language.
>>
>> I set two environmental variables following the
>> intel-dpdk-programmers-guide.pdf as below:
>>
>> export RTE_SDK=/home/stack/dpdk/DPDK-1.6.0
>> export RTE_TARGET=x86_64-native-linuxapp-gcc
>>
>> What should I do in order to install DPDK successfully?...
>>
>> Thanks in advance.
>>
>> Best regards
>>
>> Byeong-Gi KIM
>>
>>
>>
>>
>> 2014-07-14 10:00 GMT+09:00 Choi, Sy Jong <sy.jong.choi@intel.com>:
>>
>> >  Hi Mr. Kim,
>> >
>> > Please do not compile with "T=x86*gcc" because it will compile BSD app
>> > too, which cause the error.
>> >
>> > Please complile only the configuration you need. This should remove the
>> > error.
>> >
>> >
>> > Regards,
>> > Choi, Sy Jong
>> >
>> >
>> > -----Original Message-----
>> > *From: *BYEONG-GI KIM [kimbyeonggi@gmail.com]
>> > *Sent: *Monday, July 14, 2014 08:25 AM Malay Peninsula Standard Time
>> > *To: *Dpdk-ovs@lists.01.org; dev@dpdk.org
>> > *Subject: *[dpdk-dev] Error while compiling DPDK
>>
>> >
>> > Hello.
>> >
>> > An error occured while compiling DPDK 1.6.0r2 as below:
>> >
>> > [root@compute dpdk-1.6.0r2]# make install T=x86_64*gcc
>> > ...Installing...
>> > /ovdk/dpdk/dpdk-1.6.0r2/lib/librte_eal/bsdapp/eal/eal.c: In function
>> > ‘rte_eal_init’:
>> > /ovdk/dpdk/dpdk-1.6.0r2/lib/librte_eal/bsdapp/eal/eal.c:873:2: error:
>> > format ‘%p’ expects argument of type ‘void *’, but argument 5 has type
>> > ‘pthread_t’ [-Werror=format=]
>> >   RTE_LOG(DEBUG, EAL, "Master core %u is ready (tid=%p)\n",
>> >   ^
>> >
>> > The current OS is Fedora20. What should I do?...
>> >
>> > Best regards
>> >
>> > Byeong-Gi KIM
>> >
>>
>
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [dpdk-dev] Error while compiling DPDK
  2014-07-14  2:40         ` Choi, Sy Jong
@ 2014-07-14  3:28           ` BYEONG-GI KIM
  2014-07-14  4:32             ` Choi, Sy Jong
  0 siblings, 1 reply; 11+ messages in thread
From: BYEONG-GI KIM @ 2014-07-14  3:28 UTC (permalink / raw)
  To: Choi, Sy Jong, dev, Dpdk-ovs

Dear Choi

I used x86_64-default-linuxapp-gcc.

I also checked x86_64-native-linuxapp-gcc after exporting
 RTE_TARGET=x86_64-native-linuxapp-gcc, but there was a message "make[1]:
Nothing to be done for `install'." while trying to install it.

Best regards

Byeong-Gi KIM


2014-07-14 11:40 GMT+09:00 Choi, Sy Jong <sy.jong.choi@intel.com>:

>  Hi Mr. Kim,
>
> May confirm which environment are you using?
> x86_64-default-linuxapp-gcc or
> x86_64-native-linuxapp-gcc
>
>
>
>
> Regards,
> Choi, Sy Jong
>
> -----Original Message-----
> *From: *BYEONG-GI KIM [kimbyeonggi@gmail.com]
> *Sent: *Monday, July 14, 2014 10:05 AM Malay Peninsula Standard Time
> *To: *Masaru Oki; dev@dpdk.org; Dpdk-ovs@lists.01.org
> *Subject: *Re: [dpdk-dev] Error while compiling DPDK
>
> Here is the error message in English;
>
> == Build lib/librte_eal/linuxapp
> == Build lib/librte_eal/linuxapp/igb_uio
>   LD
>
>  /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/built-in.o
>   CC [M]
>
>  /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.o
>   Building modules, stage 2.
>   MODPOST 1 modules
>   CC
>
>  /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.mod.o
>   LD [M]
>
>  /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.ko
> INSTALL-MODULE igb_uio.ko
> == Build lib/librte_eal/linuxapp/eal
>   CC eal.o
> gcc: error: –g: No such file or directory
> make[7]: *** [eal.o] Error 1
> make[6]: *** [eal] Error 2
> make[5]: *** [linuxapp] Error 2
> make[4]: *** [librte_eal] Error 2
> make[3]: *** [lib] Error 2
> make[2]: *** [all] Error 2
> make[1]: *** [x86_64-default-linuxapp-gcc_install] Error 2
> make: *** [install] Error 2
>
>
>
> 2014-07-14 11:02 GMT+09:00 Masaru Oki <m-oki@stratosphere.co.jp>:
>
> > > I'm sorry for the Korean characteristics. It was shown because My
> Fedora
> > OS
> > > is set to use Korean as a default language.
> >
> > Try env LANG=C make install ...
> >
> >
> > 2014-07-14 10:24 GMT+09:00 BYEONG-GI KIM <kimbyeonggi@gmail.com>:
> >
> >> Dear choi,
> >>
> >> Thank you for the reply.
> >>
> >> I've been trying to install DPDK while changing the command as you
> >> mentioned, i.e., I used T=x86_64-default-linuxapp-gcc, but error was
> still
> >> shown;
> >>
> >>
> >> [root@compute DPDK-1.6.0]# make install T=x86_64-default-linuxapp-gcc
> >> ================== Installing x86_64-default-linuxapp-gcc
> >> Configuration done
> >> == Build scripts
> >> == Build scripts/testhost
> >>   HOSTCC testhost.o
> >>   HOSTLD testhost
> >>   INSTALL-HOSTAPP testhost
> >> == Build lib
> >> == Build lib/librte_eal
> >> == Build lib/librte_eal/common
> >>   SYMLINK-FILE include/rte_atomic.h
> >>   SYMLINK-FILE include/rte_branch_prediction.h
> >>   SYMLINK-FILE include/rte_byteorder.h
> >>   SYMLINK-FILE include/rte_common.h
> >>   SYMLINK-FILE include/rte_cycles.h
> >>   SYMLINK-FILE include/rte_debug.h
> >>   SYMLINK-FILE include/rte_eal.h
> >>   SYMLINK-FILE include/rte_errno.h
> >>   SYMLINK-FILE include/rte_launch.h
> >>   SYMLINK-FILE include/rte_lcore.h
> >>   SYMLINK-FILE include/rte_log.h
> >>   SYMLINK-FILE include/rte_memcpy.h
> >>   SYMLINK-FILE include/rte_memory.h
> >>   SYMLINK-FILE include/rte_memzone.h
> >>   SYMLINK-FILE include/rte_pci.h
> >>   SYMLINK-FILE include/rte_pci_dev_ids.h
> >>   SYMLINK-FILE include/rte_per_lcore.h
> >>   SYMLINK-FILE include/rte_prefetch.h
> >>   SYMLINK-FILE include/rte_random.h
> >>   SYMLINK-FILE include/rte_rwlock.h
> >>   SYMLINK-FILE include/rte_spinlock.h
> >>   SYMLINK-FILE include/rte_tailq.h
> >>   SYMLINK-FILE include/rte_interrupts.h
> >>   SYMLINK-FILE include/rte_alarm.h
> >>   SYMLINK-FILE include/rte_string_fns.h
> >>   SYMLINK-FILE include/rte_cpuflags.h
> >>   SYMLINK-FILE include/rte_version.h
> >>   SYMLINK-FILE include/rte_tailq_elem.h
> >>   SYMLINK-FILE include/rte_eal_memconfig.h
> >>   SYMLINK-FILE include/rte_malloc_heap.h
> >>   SYMLINK-FILE include/rte_hexdump.h
> >>   SYMLINK-FILE include/arch/rte_atomic.h
> >> == Build lib/librte_eal/linuxapp
> >> == Build lib/librte_eal/linuxapp/igb_uio
> >>   LD
> >>
> >>
> /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/built-in.o
> >>   CC [M]
> >>
> >>
> /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.o
> >>   Building modules, stage 2.
> >>   MODPOST 1 modules
> >>   CC
> >>
> >>
> /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.mod.o
> >>   LD [M]
> >>
> >>
> /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.ko
> >> INSTALL-MODULE igb_uio.ko
> >> == Build lib/librte_eal/linuxapp/eal
> >>   CC eal.o
> >> gcc: error: –g: 그런 파일이나 디렉터리가 없습니다
> >> make[7]: *** [eal.o] 오류 1
> >> make[6]: *** [eal] 오류 2
> >> make[5]: *** [linuxapp] 오류 2
> >> make[4]: *** [librte_eal] 오류 2
> >> make[3]: *** [lib] 오류 2
> >> make[2]: *** [all] 오류 2
> >> make[1]: *** [x86_64-default-linuxapp-gcc_install] 오류 2
> >> make: *** [install] 오류 2
> >>
> >> I'm sorry for the Korean characteristics. It was shown because My Fedora
> >> OS
> >> is set to use Korean as a default language.
> >>
> >> I set two environmental variables following the
> >> intel-dpdk-programmers-guide.pdf as below:
> >>
> >> export RTE_SDK=/home/stack/dpdk/DPDK-1.6.0
> >> export RTE_TARGET=x86_64-native-linuxapp-gcc
> >>
> >> What should I do in order to install DPDK successfully?...
> >>
> >> Thanks in advance.
> >>
> >> Best regards
> >>
> >> Byeong-Gi KIM
> >>
> >>
> >>
> >>
> >> 2014-07-14 10:00 GMT+09:00 Choi, Sy Jong <sy.jong.choi@intel.com>:
> >>
> >> >  Hi Mr. Kim,
> >> >
> >> > Please do not compile with "T=x86*gcc" because it will compile BSD app
> >> > too, which cause the error.
> >> >
> >> > Please complile only the configuration you need. This should remove
> the
> >> > error.
> >> >
> >> >
> >> > Regards,
> >> > Choi, Sy Jong
> >> >
> >> >
> >> > -----Original Message-----
> >> > *From: *BYEONG-GI KIM [kimbyeonggi@gmail.com]
> >> > *Sent: *Monday, July 14, 2014 08:25 AM Malay Peninsula Standard Time
> >> > *To: *Dpdk-ovs@lists.01.org; dev@dpdk.org
> >> > *Subject: *[dpdk-dev] Error while compiling DPDK
> >>
> >> >
> >> > Hello.
> >> >
> >> > An error occured while compiling DPDK 1.6.0r2 as below:
> >> >
> >> > [root@compute dpdk-1.6.0r2]# make install T=x86_64*gcc
> >> > ...Installing...
> >> > /ovdk/dpdk/dpdk-1.6.0r2/lib/librte_eal/bsdapp/eal/eal.c: In function
> >> > ‘rte_eal_init’:
> >> > /ovdk/dpdk/dpdk-1.6.0r2/lib/librte_eal/bsdapp/eal/eal.c:873:2: error:
> >> > format ‘%p’ expects argument of type ‘void *’, but argument 5 has type
> >> > ‘pthread_t’ [-Werror=format=]
> >> >   RTE_LOG(DEBUG, EAL, "Master core %u is ready (tid=%p)\n",
> >> >   ^
> >> >
> >> > The current OS is Fedora20. What should I do?...
> >> >
> >> > Best regards
> >> >
> >> > Byeong-Gi KIM
> >> >
> >>
> >
> >
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [dpdk-dev] Error while compiling DPDK
  2014-07-14  3:28           ` BYEONG-GI KIM
@ 2014-07-14  4:32             ` Choi, Sy Jong
  2014-07-14  4:43               ` BYEONG-GI KIM
  0 siblings, 1 reply; 11+ messages in thread
From: Choi, Sy Jong @ 2014-07-14  4:32 UTC (permalink / raw)
  To: BYEONG-GI KIM, dev, Dpdk-ovs

Hi Mr. Kim,

If you are compiling x86_64-default-linuxapp-gcc
The RTE_TARGET=x86_64-default-linuxapp-gcc

I have manage to compile DPDK r1.6.0 with the following OS and kernel version
CentOS with customer kernel
Linux localhost.localdomain 3.3.1 #1 SMP Tue Jan 7 22:44:17 MYT 2014 x86_64 x86_64 x86_64 GNU/Linux

Ubuntu 14.04
Linux choi-desktop 3.13.0-30-generic #55-Ubuntu SMP Fri Jul 4 21:40:53 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

May I know, have you been able to compile DPDK previously?

Regards,
Choi, Sy Jong
Platform Application Engineer

From: BYEONG-GI KIM [mailto:kimbyeonggi@gmail.com]
Sent: Monday, July 14, 2014 11:29 AM
To: Choi, Sy Jong; dev@dpdk.org; Dpdk-ovs@lists.01.org
Subject: Re: [dpdk-dev] Error while compiling DPDK

Dear Choi

I used x86_64-default-linuxapp-gcc.

I also checked x86_64-native-linuxapp-gcc after exporting  RTE_TARGET=x86_64-native-linuxapp-gcc, but there was a message "make[1]: Nothing to be done for `install'." while trying to install it.

Best regards

Byeong-Gi KIM

2014-07-14 11:40 GMT+09:00 Choi, Sy Jong <sy.jong.choi@intel.com<mailto:sy.jong.choi@intel.com>>:
Hi Mr. Kim,

May confirm which environment are you using?
x86_64-default-linuxapp-gcc or
x86_64-native-linuxapp-gcc




Regards,
Choi, Sy Jong

-----Original Message-----
From: BYEONG-GI KIM [kimbyeonggi@gmail.com<mailto:kimbyeonggi@gmail.com>]
Sent: Monday, July 14, 2014 10:05 AM Malay Peninsula Standard Time
To: Masaru Oki; dev@dpdk.org<mailto:dev@dpdk.org>; Dpdk-ovs@lists.01.org<mailto:Dpdk-ovs@lists.01.org>
Subject: Re: [dpdk-dev] Error while compiling DPDK

Here is the error message in English;

== Build lib/librte_eal/linuxapp
== Build lib/librte_eal/linuxapp/igb_uio
  LD
 /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/built-in.o
  CC [M]
 /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC
 /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.mod.o
  LD [M]
 /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.ko
INSTALL-MODULE igb_uio.ko
== Build lib/librte_eal/linuxapp/eal
  CC eal.o
gcc: error: –g: No such file or directory
make[7]: *** [eal.o] Error 1
make[6]: *** [eal] Error 2
make[5]: *** [linuxapp] Error 2
make[4]: *** [librte_eal] Error 2
make[3]: *** [lib] Error 2
make[2]: *** [all] Error 2
make[1]: *** [x86_64-default-linuxapp-gcc_install] Error 2
make: *** [install] Error 2



2014-07-14 11:02 GMT+09:00 Masaru Oki <m-oki@stratosphere.co.jp<mailto:m-oki@stratosphere.co.jp>>:

> > I'm sorry for the Korean characteristics. It was shown because My Fedora
> OS
> > is set to use Korean as a default language.
>
> Try env LANG=C make install ...
>
>
> 2014-07-14 10:24 GMT+09:00 BYEONG-GI KIM <kimbyeonggi@gmail.com<mailto:kimbyeonggi@gmail.com>>:
>
>> Dear choi,
>>
>> Thank you for the reply.
>>
>> I've been trying to install DPDK while changing the command as you
>> mentioned, i.e., I used T=x86_64-default-linuxapp-gcc, but error was still
>> shown;
>>
>>
>> [root@compute DPDK-1.6.0]# make install T=x86_64-default-linuxapp-gcc
>> ================== Installing x86_64-default-linuxapp-gcc
>> Configuration done
>> == Build scripts
>> == Build scripts/testhost
>>   HOSTCC testhost.o
>>   HOSTLD testhost
>>   INSTALL-HOSTAPP testhost
>> == Build lib
>> == Build lib/librte_eal
>> == Build lib/librte_eal/common
>>   SYMLINK-FILE include/rte_atomic.h
>>   SYMLINK-FILE include/rte_branch_prediction.h
>>   SYMLINK-FILE include/rte_byteorder.h
>>   SYMLINK-FILE include/rte_common.h
>>   SYMLINK-FILE include/rte_cycles.h
>>   SYMLINK-FILE include/rte_debug.h
>>   SYMLINK-FILE include/rte_eal.h
>>   SYMLINK-FILE include/rte_errno.h
>>   SYMLINK-FILE include/rte_launch.h
>>   SYMLINK-FILE include/rte_lcore.h
>>   SYMLINK-FILE include/rte_log.h
>>   SYMLINK-FILE include/rte_memcpy.h
>>   SYMLINK-FILE include/rte_memory.h
>>   SYMLINK-FILE include/rte_memzone.h
>>   SYMLINK-FILE include/rte_pci.h
>>   SYMLINK-FILE include/rte_pci_dev_ids.h
>>   SYMLINK-FILE include/rte_per_lcore.h
>>   SYMLINK-FILE include/rte_prefetch.h
>>   SYMLINK-FILE include/rte_random.h
>>   SYMLINK-FILE include/rte_rwlock.h
>>   SYMLINK-FILE include/rte_spinlock.h
>>   SYMLINK-FILE include/rte_tailq.h
>>   SYMLINK-FILE include/rte_interrupts.h
>>   SYMLINK-FILE include/rte_alarm.h
>>   SYMLINK-FILE include/rte_string_fns.h
>>   SYMLINK-FILE include/rte_cpuflags.h
>>   SYMLINK-FILE include/rte_version.h
>>   SYMLINK-FILE include/rte_tailq_elem.h
>>   SYMLINK-FILE include/rte_eal_memconfig.h
>>   SYMLINK-FILE include/rte_malloc_heap.h
>>   SYMLINK-FILE include/rte_hexdump.h
>>   SYMLINK-FILE include/arch/rte_atomic.h
>> == Build lib/librte_eal/linuxapp
>> == Build lib/librte_eal/linuxapp/igb_uio
>>   LD
>>
>>  /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/built-in.o
>>   CC [M]
>>
>>  /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.o
>>   Building modules, stage 2.
>>   MODPOST 1 modules
>>   CC
>>
>>  /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.mod.o
>>   LD [M]
>>
>>  /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.ko
>> INSTALL-MODULE igb_uio.ko
>> == Build lib/librte_eal/linuxapp/eal
>>   CC eal.o
>> gcc: error: –g: 그런 파일이나 디렉터리가 없습니다
>> make[7]: *** [eal.o] 오류 1
>> make[6]: *** [eal] 오류 2
>> make[5]: *** [linuxapp] 오류 2
>> make[4]: *** [librte_eal] 오류 2
>> make[3]: *** [lib] 오류 2
>> make[2]: *** [all] 오류 2
>> make[1]: *** [x86_64-default-linuxapp-gcc_install] 오류 2
>> make: *** [install] 오류 2
>>
>> I'm sorry for the Korean characteristics. It was shown because My Fedora
>> OS
>> is set to use Korean as a default language.
>>
>> I set two environmental variables following the
>> intel-dpdk-programmers-guide.pdf as below:
>>
>> export RTE_SDK=/home/stack/dpdk/DPDK-1.6.0
>> export RTE_TARGET=x86_64-native-linuxapp-gcc
>>
>> What should I do in order to install DPDK successfully?...
>>
>> Thanks in advance.
>>
>> Best regards
>>
>> Byeong-Gi KIM
>>
>>
>>
>>
>> 2014-07-14 10:00 GMT+09:00 Choi, Sy Jong <sy.jong.choi@intel.com<mailto:sy.jong.choi@intel.com>>:
>>
>> >  Hi Mr. Kim,
>> >
>> > Please do not compile with "T=x86*gcc" because it will compile BSD app
>> > too, which cause the error.
>> >
>> > Please complile only the configuration you need. This should remove the
>> > error.
>> >
>> >
>> > Regards,
>> > Choi, Sy Jong
>> >
>> >
>> > -----Original Message-----
>> > *From: *BYEONG-GI KIM [kimbyeonggi@gmail.com<mailto:kimbyeonggi@gmail.com>]
>> > *Sent: *Monday, July 14, 2014 08:25 AM Malay Peninsula Standard Time
>> > *To: *Dpdk-ovs@lists.01.org<mailto:Dpdk-ovs@lists.01.org>; dev@dpdk.org<mailto:dev@dpdk.org>
>> > *Subject: *[dpdk-dev] Error while compiling DPDK
>>
>> >
>> > Hello.
>> >
>> > An error occured while compiling DPDK 1.6.0r2 as below:
>> >
>> > [root@compute dpdk-1.6.0r2]# make install T=x86_64*gcc
>> > ...Installing...
>> > /ovdk/dpdk/dpdk-1.6.0r2/lib/librte_eal/bsdapp/eal/eal.c: In function
>> > ‘rte_eal_init’:
>> > /ovdk/dpdk/dpdk-1.6.0r2/lib/librte_eal/bsdapp/eal/eal.c:873:2: error:
>> > format ‘%p’ expects argument of type ‘void *’, but argument 5 has type
>> > ‘pthread_t’ [-Werror=format=]
>> >   RTE_LOG(DEBUG, EAL, "Master core %u is ready (tid=%p)\n",
>> >   ^
>> >
>> > The current OS is Fedora20. What should I do?...
>> >
>> > Best regards
>> >
>> > Byeong-Gi KIM
>> >
>>
>
>


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [dpdk-dev] Error while compiling DPDK
  2014-07-14  4:32             ` Choi, Sy Jong
@ 2014-07-14  4:43               ` BYEONG-GI KIM
  2014-07-14  8:27                 ` De Lara Guarch, Pablo
  0 siblings, 1 reply; 11+ messages in thread
From: BYEONG-GI KIM @ 2014-07-14  4:43 UTC (permalink / raw)
  To: Choi, Sy Jong, Dpdk-ovs, dev

Dear Choi,

Of course I used "export RTE_TARGET=x86_64-default-linuxapp-gcc" when I was
trying to compile it.

By the way, the compilation went off to one more step, there was another
error message though;

== Build lib/librte_eal/linuxapp/kni
  LD
 /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/built-in.o
  CC [M]
 /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/ixgbe_main.o
/home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/ixgbe_main.c:
In function 'ixgbe_del_mac_filter':
/home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/ixgbe_main.c:525:3:
error: implicit declaration of function 'compare_ether_addr'
[-Werror=implicit-function-declaration]
   if (!compare_ether_addr(addr, adapter->mac_table[i].addr) &&
   ^
cc1: all warnings being treated as errors
make[10]: ***
[/home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/ixgbe_main.o]
Error 1
make[9]: ***
[_module_/home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni]
Error 2
make[8]: *** [sub-make] Error 2
make[7]: *** [rte_kni.ko] Error 2
make[6]: *** [kni] Error 2
make[5]: *** [linuxapp] Error 2
make[4]: *** [librte_eal] Error 2
make[3]: *** [lib] Error 2
make[2]: *** [all] Error 2
make[1]: *** [x86_64-default-linuxapp-gcc_install] Error 2
make: *** [install] Error 2

Honestly, I've never been able to compile DPDK successfully... I had been
trying to compile it on CentOS 6.5, and was failed. Then I changed OS from
CentOS to Fedora, but there are still lots of errors.

Best regards

Byeong-Gi KIM


2014-07-14 13:32 GMT+09:00 Choi, Sy Jong <sy.jong.choi@intel.com>:

>  Hi Mr. Kim,
>
>
>
> If you are compiling x86_64-default-linuxapp-gcc
>
> The RTE_TARGET=x86_64-default-linuxapp-gcc
>
>
>
> I have manage to compile DPDK r1.6.0 with the following OS and kernel
> version
>
> CentOS with customer kernel
>
> Linux localhost.localdomain 3.3.1 #1 SMP Tue Jan 7 22:44:17 MYT 2014
> x86_64 x86_64 x86_64 GNU/Linux
>
>
>
> Ubuntu 14.04
>
> Linux choi-desktop 3.13.0-30-generic #55-Ubuntu SMP Fri Jul 4 21:40:53 UTC
> 2014 x86_64 x86_64 x86_64 GNU/Linux
>
>
>
> May I know, have you been able to compile DPDK previously?
>
>
>
> Regards,
>
> Choi, Sy Jong
>
> Platform Application Engineer
>
>
>
> *From:* BYEONG-GI KIM [mailto:kimbyeonggi@gmail.com]
> *Sent:* Monday, July 14, 2014 11:29 AM
> *To:* Choi, Sy Jong; dev@dpdk.org; Dpdk-ovs@lists.01.org
>
> *Subject:* Re: [dpdk-dev] Error while compiling DPDK
>
>
>
> Dear Choi
>
>
>
> I used x86_64-default-linuxapp-gcc.
>
>
>
> I also checked x86_64-native-linuxapp-gcc after exporting
>  RTE_TARGET=x86_64-native-linuxapp-gcc, but there was a message "make[1]:
> Nothing to be done for `install'." while trying to install it.
>
>
>
> Best regards
>
>
>
> Byeong-Gi KIM
>
>
>
> 2014-07-14 11:40 GMT+09:00 Choi, Sy Jong <sy.jong.choi@intel.com>:
>
> Hi Mr. Kim,
>
> May confirm which environment are you using?
> x86_64-default-linuxapp-gcc or
> x86_64-native-linuxapp-gcc
>
>
>
>
>
> Regards,
> Choi, Sy Jong
>
> -----Original Message-----
>
> *From: *BYEONG-GI KIM [kimbyeonggi@gmail.com]
> *Sent: *Monday, July 14, 2014 10:05 AM Malay Peninsula Standard Time
> *To: *Masaru Oki; dev@dpdk.org; Dpdk-ovs@lists.01.org
> *Subject: *Re: [dpdk-dev] Error while compiling DPDK
>
> Here is the error message in English;
>
> == Build lib/librte_eal/linuxapp
> == Build lib/librte_eal/linuxapp/igb_uio
>   LD
>
>  /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/built-in.o
>   CC [M]
>
>  /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.o
>   Building modules, stage 2.
>   MODPOST 1 modules
>   CC
>
>  /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.mod.o
>   LD [M]
>
>  /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.ko
> INSTALL-MODULE igb_uio.ko
> == Build lib/librte_eal/linuxapp/eal
>   CC eal.o
> gcc: error: –g: No such file or directory
> make[7]: *** [eal.o] Error 1
> make[6]: *** [eal] Error 2
> make[5]: *** [linuxapp] Error 2
> make[4]: *** [librte_eal] Error 2
> make[3]: *** [lib] Error 2
> make[2]: *** [all] Error 2
> make[1]: *** [x86_64-default-linuxapp-gcc_install] Error 2
> make: *** [install] Error 2
>
>
>
> 2014-07-14 11:02 GMT+09:00 Masaru Oki <m-oki@stratosphere.co.jp>:
>
> > > I'm sorry for the Korean characteristics. It was shown because My
> Fedora
> > OS
> > > is set to use Korean as a default language.
> >
> > Try env LANG=C make install ...
> >
> >
> > 2014-07-14 10:24 GMT+09:00 BYEONG-GI KIM <kimbyeonggi@gmail.com>:
> >
> >> Dear choi,
> >>
> >> Thank you for the reply.
> >>
> >> I've been trying to install DPDK while changing the command as you
> >> mentioned, i.e., I used T=x86_64-default-linuxapp-gcc, but error was
> still
> >> shown;
> >>
> >>
> >> [root@compute DPDK-1.6.0]# make install T=x86_64-default-linuxapp-gcc
> >> ================== Installing x86_64-default-linuxapp-gcc
> >> Configuration done
> >> == Build scripts
> >> == Build scripts/testhost
> >>   HOSTCC testhost.o
> >>   HOSTLD testhost
> >>   INSTALL-HOSTAPP testhost
> >> == Build lib
> >> == Build lib/librte_eal
> >> == Build lib/librte_eal/common
> >>   SYMLINK-FILE include/rte_atomic.h
> >>   SYMLINK-FILE include/rte_branch_prediction.h
> >>   SYMLINK-FILE include/rte_byteorder.h
> >>   SYMLINK-FILE include/rte_common.h
> >>   SYMLINK-FILE include/rte_cycles.h
> >>   SYMLINK-FILE include/rte_debug.h
> >>   SYMLINK-FILE include/rte_eal.h
> >>   SYMLINK-FILE include/rte_errno.h
> >>   SYMLINK-FILE include/rte_launch.h
> >>   SYMLINK-FILE include/rte_lcore.h
> >>   SYMLINK-FILE include/rte_log.h
> >>   SYMLINK-FILE include/rte_memcpy.h
> >>   SYMLINK-FILE include/rte_memory.h
> >>   SYMLINK-FILE include/rte_memzone.h
> >>   SYMLINK-FILE include/rte_pci.h
> >>   SYMLINK-FILE include/rte_pci_dev_ids.h
> >>   SYMLINK-FILE include/rte_per_lcore.h
> >>   SYMLINK-FILE include/rte_prefetch.h
> >>   SYMLINK-FILE include/rte_random.h
> >>   SYMLINK-FILE include/rte_rwlock.h
> >>   SYMLINK-FILE include/rte_spinlock.h
> >>   SYMLINK-FILE include/rte_tailq.h
> >>   SYMLINK-FILE include/rte_interrupts.h
> >>   SYMLINK-FILE include/rte_alarm.h
> >>   SYMLINK-FILE include/rte_string_fns.h
> >>   SYMLINK-FILE include/rte_cpuflags.h
> >>   SYMLINK-FILE include/rte_version.h
> >>   SYMLINK-FILE include/rte_tailq_elem.h
> >>   SYMLINK-FILE include/rte_eal_memconfig.h
> >>   SYMLINK-FILE include/rte_malloc_heap.h
> >>   SYMLINK-FILE include/rte_hexdump.h
> >>   SYMLINK-FILE include/arch/rte_atomic.h
> >> == Build lib/librte_eal/linuxapp
> >> == Build lib/librte_eal/linuxapp/igb_uio
> >>   LD
> >>
> >>
> /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/built-in.o
> >>   CC [M]
> >>
> >>
> /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.o
> >>   Building modules, stage 2.
> >>   MODPOST 1 modules
> >>   CC
> >>
> >>
> /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.mod.o
> >>   LD [M]
> >>
> >>
> /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.ko
> >> INSTALL-MODULE igb_uio.ko
> >> == Build lib/librte_eal/linuxapp/eal
> >>   CC eal.o
> >> gcc: error: –g: 그런 파일이나 디렉터리가 없습니다
> >> make[7]: *** [eal.o] 오류 1
> >> make[6]: *** [eal] 오류 2
> >> make[5]: *** [linuxapp] 오류 2
> >> make[4]: *** [librte_eal] 오류 2
> >> make[3]: *** [lib] 오류 2
> >> make[2]: *** [all] 오류 2
> >> make[1]: *** [x86_64-default-linuxapp-gcc_install] 오류 2
> >> make: *** [install] 오류 2
> >>
> >> I'm sorry for the Korean characteristics. It was shown because My Fedora
> >> OS
> >> is set to use Korean as a default language.
> >>
> >> I set two environmental variables following the
> >> intel-dpdk-programmers-guide.pdf as below:
> >>
> >> export RTE_SDK=/home/stack/dpdk/DPDK-1.6.0
> >> export RTE_TARGET=x86_64-native-linuxapp-gcc
> >>
> >> What should I do in order to install DPDK successfully?...
> >>
> >> Thanks in advance.
> >>
> >> Best regards
> >>
> >> Byeong-Gi KIM
> >>
> >>
> >>
> >>
> >> 2014-07-14 10:00 GMT+09:00 Choi, Sy Jong <sy.jong.choi@intel.com>:
> >>
> >> >  Hi Mr. Kim,
> >> >
> >> > Please do not compile with "T=x86*gcc" because it will compile BSD app
> >> > too, which cause the error.
> >> >
> >> > Please complile only the configuration you need. This should remove
> the
> >> > error.
> >> >
> >> >
> >> > Regards,
> >> > Choi, Sy Jong
> >> >
> >> >
> >> > -----Original Message-----
> >> > *From: *BYEONG-GI KIM [kimbyeonggi@gmail.com]
> >> > *Sent: *Monday, July 14, 2014 08:25 AM Malay Peninsula Standard Time
> >> > *To: *Dpdk-ovs@lists.01.org; dev@dpdk.org
> >> > *Subject: *[dpdk-dev] Error while compiling DPDK
> >>
> >> >
> >> > Hello.
> >> >
> >> > An error occured while compiling DPDK 1.6.0r2 as below:
> >> >
> >> > [root@compute dpdk-1.6.0r2]# make install T=x86_64*gcc
> >> > ...Installing...
> >> > /ovdk/dpdk/dpdk-1.6.0r2/lib/librte_eal/bsdapp/eal/eal.c: In function
> >> > ‘rte_eal_init’:
> >> > /ovdk/dpdk/dpdk-1.6.0r2/lib/librte_eal/bsdapp/eal/eal.c:873:2: error:
> >> > format ‘%p’ expects argument of type ‘void *’, but argument 5 has type
> >> > ‘pthread_t’ [-Werror=format=]
> >> >   RTE_LOG(DEBUG, EAL, "Master core %u is ready (tid=%p)\n",
> >> >   ^
> >> >
> >> > The current OS is Fedora20. What should I do?...
> >> >
> >> > Best regards
> >> >
> >> > Byeong-Gi KIM
> >> >
> >>
> >
> >
>
>
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [dpdk-dev] Error while compiling DPDK
  2014-07-14  4:43               ` BYEONG-GI KIM
@ 2014-07-14  8:27                 ` De Lara Guarch, Pablo
  0 siblings, 0 replies; 11+ messages in thread
From: De Lara Guarch, Pablo @ 2014-07-14  8:27 UTC (permalink / raw)
  To: BYEONG-GI KIM, Choi, Sy Jong, Dpdk-ovs, dev

Hi Byeong-gi,

> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of BYEONG-GI KIM
> Sent: Monday, July 14, 2014 5:44 AM
> To: Choi, Sy Jong; Dpdk-ovs@lists.01.org; dev@dpdk.org
> Subject: Re: [dpdk-dev] Error while compiling DPDK
> 
> Dear Choi,
> 
> Of course I used "export RTE_TARGET=x86_64-default-linuxapp-gcc" when I was
> trying to compile it.
> 
> By the way, the compilation went off to one more step, there was another
> error message though;
> 
> == Build lib/librte_eal/linuxapp/kni
>   LD
>  /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-
> gcc/build/lib/librte_eal/linuxapp/kni/built-in.o
>   CC [M]
>  /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-
> gcc/build/lib/librte_eal/linuxapp/kni/ixgbe_main.o
> /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-
> gcc/build/lib/librte_eal/linuxapp/kni/ixgbe_main.c:
> In function 'ixgbe_del_mac_filter':
> /home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-
> gcc/build/lib/librte_eal/linuxapp/kni/ixgbe_main.c:525:3:
> error: implicit declaration of function 'compare_ether_addr'
> [-Werror=implicit-function-declaration]
>    if (!compare_ether_addr(addr, adapter->mac_table[i].addr) &&
>    ^
> cc1: all warnings being treated as errors
> make[10]: ***
> [/home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-
> gcc/build/lib/librte_eal/linuxapp/kni/ixgbe_main.o]
> Error 1
> make[9]: ***
> [_module_/home/stack/dpdk/DPDK-1.6.0/x86_64-default-linuxapp-
> gcc/build/lib/librte_eal/linuxapp/kni]
> Error 2
> make[8]: *** [sub-make] Error 2
> make[7]: *** [rte_kni.ko] Error 2
> make[6]: *** [kni] Error 2
> make[5]: *** [linuxapp] Error 2
> make[4]: *** [librte_eal] Error 2
> make[3]: *** [lib] Error 2
> make[2]: *** [all] Error 2
> make[1]: *** [x86_64-default-linuxapp-gcc_install] Error 2
> make: *** [install] Error 2
> 
> Honestly, I've never been able to compile DPDK successfully... I had been
> trying to compile it on CentOS 6.5, and was failed. Then I changed OS from
> CentOS to Fedora, but there are still lots of errors.
> 
> Best regards
> 
> Byeong-Gi KIM

To compile DPDK, you don't need to export RTE_TARGET, that's just for apps.
Anyway, have you tried to compile the latest dpdk version? Just remember to 
use different target: x86_64-native-linuxapp-gcc.

Regards,
Pablo


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [dpdk-dev] Error while compiling DPDK
  2014-07-14  0:24 [dpdk-dev] Error while compiling DPDK BYEONG-GI KIM
  2014-07-14  1:00 ` Choi, Sy Jong
@ 2014-07-14 11:46 ` Neil Horman
  1 sibling, 0 replies; 11+ messages in thread
From: Neil Horman @ 2014-07-14 11:46 UTC (permalink / raw)
  To: BYEONG-GI KIM; +Cc: dev, Dpdk-ovs

On Mon, Jul 14, 2014 at 09:24:52AM +0900, BYEONG-GI KIM wrote:
> Hello.
> 
> An error occured while compiling DPDK 1.6.0r2 as below:
> 
> [root@compute dpdk-1.6.0r2]# make install T=x86_64*gcc
> ...Installing...
> /ovdk/dpdk/dpdk-1.6.0r2/lib/librte_eal/bsdapp/eal/eal.c: In function
> ‘rte_eal_init’:
> /ovdk/dpdk/dpdk-1.6.0r2/lib/librte_eal/bsdapp/eal/eal.c:873:2: error:
> format ‘%p’ expects argument of type ‘void *’, but argument 5 has type
> ‘pthread_t’ [-Werror=format=]
>   RTE_LOG(DEBUG, EAL, "Master core %u is ready (tid=%p)\n",
>   ^
> 
> The current OS is Fedora20. What should I do?...
> 
> Best regards
> 
> Byeong-Gi KIM
> 

FWIW, The dpdk is already packaged for fedora.
Neil

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-07-14 11:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-14  0:24 [dpdk-dev] Error while compiling DPDK BYEONG-GI KIM
2014-07-14  1:00 ` Choi, Sy Jong
2014-07-14  1:24   ` BYEONG-GI KIM
2014-07-14  2:02     ` Masaru Oki
2014-07-14  2:04       ` BYEONG-GI KIM
2014-07-14  2:40         ` Choi, Sy Jong
2014-07-14  3:28           ` BYEONG-GI KIM
2014-07-14  4:32             ` Choi, Sy Jong
2014-07-14  4:43               ` BYEONG-GI KIM
2014-07-14  8:27                 ` De Lara Guarch, Pablo
2014-07-14 11:46 ` Neil Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).