#68238 closed defect (fixed)

libplist fails to build on 10.6: error: redefinition of typedef 'node_t'

Reported by: barracuda156 Owned by: JacksonIsaac (Jackson Isaac)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: snowleopard, leopard Cc: i0ntempest
Port: libplist

Description

Making all in libcnary
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_libplist/libplist/work/libplist-2.3.0/libcnary'
/bin/sh ../libtool  --tag=CC   --mode=compile /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I..   -I/opt/local/include -Wall -Wextra -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -Wno-strict-aliasing -fvisibility=hidden -I../libcnary/include -pipe -Os -arch ppc -MT node.lo -MD -MP -MF .deps/node.Tpo -c -o node.lo node.c
/bin/sh ../libtool  --tag=CC   --mode=compile /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I..   -I/opt/local/include -Wall -Wextra -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -Wno-strict-aliasing -fvisibility=hidden -I../libcnary/include -pipe -Os -arch ppc -MT node_list.lo -MD -MP -MF .deps/node_list.Tpo -c -o node_list.lo node_list.c
libtool: compile:  /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -Wall -Wextra -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -Wno-strict-aliasing -fvisibility=hidden -I../libcnary/include -pipe -Os -arch ppc -MT node.lo -MD -MP -MF .deps/node.Tpo -c node.c  -fno-common -DPIC -o .libs/node.o
libtool: compile:  /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -Wall -Wextra -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -Wno-strict-aliasing -fvisibility=hidden -I../libcnary/include -pipe -Os -arch ppc -MT node_list.lo -MD -MP -MF .deps/node_list.Tpo -c node_list.c  -fno-common -DPIC -o .libs/node_list.o
In file included from node_list.c:28:
../libcnary/include/node.h:33: error: redefinition of typedef 'node_t'
../libcnary/include/node_list.h:29: error: previous declaration of 'node_t' was here
In file included from node.c:27:
../libcnary/include/node.h:33: error: redefinition of typedef 'node_t'
../libcnary/include/node_list.h:29: error: previous declaration of 'node_t' was here
make[2]: *** [node_list.lo] Error 1

Change History (1)

comment:1 Changed 14 months ago by barracuda156

Resolution: fixed
Status: assignedclosed

In 7c2de7d64bb8d73704df5fd124ea36f929a6ad56/macports-ports (master):

libplist: fix build on < 10.7

Fixes: #68238

Note: See TracTickets for help on using tickets.