chanduusc / libdnet

Automatically exported from code.google.com/p/libdnet
Other
0 stars 0 forks source link

Compilation fails on mac for x86_64 arch #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. On mac os x - ./configure CFLAGS='-arch x86_64' LDFLAGS='-arch x86_64'
2. make

What is the expected output? What do you see instead?

/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include  
-I../include   -arch x86_64 -Wall -c -o fw-ipfw.lo `test -f 'fw-ipfw.c' || echo 
'./'`fw-ipfw.c
 gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -arch x86_64 -Wall -c fw-ipfw.c  -fno-common -DPIC -o .libs/fw-ipfw.o
fw-ipfw.c:43: warning: 'struct ip_fw' declared inside parameter list
fw-ipfw.c:43: warning: its scope is only this definition or declaration, which 
is probably not what you want
fw-ipfw.c: In function 'fr_to_ipfw':
fw-ipfw.c:47: error: dereferencing pointer to incomplete type
fw-ipfw.c:52: error: dereferencing pointer to incomplete type
fw-ipfw.c:53: error: dereferencing pointer to incomplete type
fw-ipfw.c:54: error: dereferencing pointer to incomplete type
fw-ipfw.c:54: error: 'IP_FW_F_IIFNAME' undeclared (first use in this function)
fw-ipfw.c:54: error: (Each undeclared identifier is reported only once
.....
What version of the product are you using? On what operating system?
libdnet-1.12 on mac os x 10.5.5 with xcode-3.1.4

Original issue reported on code.google.com by mailtome...@gmail.com on 24 Aug 2010 at 8:59

GoogleCodeExporter commented 9 years ago
I will be looking into this shortly.

Original comment by jay.f...@gmail.com on 2 Oct 2010 at 11:57

GoogleCodeExporter commented 9 years ago
Have you tried a checkout from svn instead? I think that will fix the issue. It 
could also be that Xcode is not installed.

Original comment by jay.f...@gmail.com on 11 Oct 2010 at 9:52

GoogleCodeExporter commented 9 years ago

Original comment by jay.f...@gmail.com on 11 Oct 2010 at 10:07

GoogleCodeExporter commented 9 years ago

Original comment by jay.f...@gmail.com on 13 Oct 2010 at 12:42