Opened 15 years ago

Closed 15 years ago

#22012 closed defect (fixed)

cunit-2.1-0_0 fails to build; compile-time error

Reported by: ceharris414@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: cunit

Description

Fails to build on Mac OX 10.6/XCode 3.2 after compile-time errors as shown in the following build output snippet. Same result with or without the "universal" variant.

Building from the original source (without the help of Macports) works ok.

Making all in Curses
/bin/sh ../../../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I../../..   -I/opt/local/include  -O2 -arch x86_64 -arch i386 -DRELEASE=0 -Wall -W -pedantic -Wshadow -ansi -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cunit/work/CUnit-2.1-0/CUnit/Headers -c -o Curses.lo Curses.c
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I../../.. -I/opt/local/include -O2 -arch x86_64 -arch i386 -DRELEASE=0 -Wall -W -pedantic -Wshadow -ansi -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cunit/work/CUnit-2.1-0/CUnit/Headers -c Curses.c  -fno-common -DPIC -o .libs/Curses.o
Curses.c: In function 'initialize_windows':
Curses.c:267: error: dereferencing pointer to incomplete type
Curses.c:268: error: dereferencing pointer to incomplete type
Curses.c:269: error: dereferencing pointer to incomplete type
Curses.c:270: error: dereferencing pointer to incomplete type
Curses.c: In function 'refresh_windows':
Curses.c:369: error: dereferencing pointer to incomplete type
Curses.c:370: error: dereferencing pointer to incomplete type
Curses.c:371: error: dereferencing pointer to incomplete type
Curses.c:372: error: dereferencing pointer to incomplete type
Curses.c: In function 'create_pad':
Curses.c:783: error: dereferencing pointer to incomplete type
Curses.c:784: error: dereferencing pointer to incomplete type
Curses.c:785: error: dereferencing pointer to incomplete type
Curses.c:786: error: dereferencing pointer to incomplete type
Curses.c: In function 'initialize_windows':
Curses.c:267: error: dereferencing pointer to incomplete type
Curses.c:268: error: dereferencing pointer to incomplete type
Curses.c:269: error: dereferencing pointer to incomplete type
Curses.c:270: error: dereferencing pointer to incomplete type
Curses.c: In function 'refresh_windows':
Curses.c:369: error: dereferencing pointer to incomplete type
Curses.c:370: error: dereferencing pointer to incomplete type
Curses.c:371: error: dereferencing pointer to incomplete type
Curses.c:372: error: dereferencing pointer to incomplete type
Curses.c: In function 'create_pad':
Curses.c:783: error: dereferencing pointer to incomplete type
Curses.c:784: error: dereferencing pointer to incomplete type
Curses.c:785: error: dereferencing pointer to incomplete type
Curses.c:786: error: dereferencing pointer to incomplete type
lipo: can't figure out the architecture type of: /var/folders/pJ/pJNzjEecFbq6hukUs3BM4U+++TI/-Tmp-//cczdNXlb.out
make[4]: *** [Curses.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Change History (1)

comment:1 Changed 15 years ago by blb@…

Resolution: fixed
Status: newclosed

Fixed in r59274.

Note: See TracTickets for help on using tickets.