Opened 10 years ago

Last modified 7 years ago

#1118 closed defect (Duplicate)

0.2.2.4 fails to compile on osx x86

Reported by: phobos Owned by:
Priority: Low Milestone:
Component: Core Tor/Tor Version: 0.2.2.3-alpha
Severity: Keywords:
Cc: phobos Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

gcc -DHAVE_CONFIG_H -I. -I../.. -DSHARE_DATADIR="\"/Library/Tor/share\"" -DLOCALSTATEDIR="\"/Library/Tor/var\"" -DBINDIR="\"/Library/Tor\"" -I../../src/common -I/usr/local/include -I../or -O -g -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -Wall -g -O2 -fno-strict-aliasing -c test.c
test.c:46:18: error: test.h: No such file or directory
test.c: In function ‘test_buffers’:
test.c:181: warning: implicit declaration of function ‘test_fail’
test.c:184: warning: implicit declaration of function ‘test_eq’
test.c:196: warning: implicit declaration of function ‘test_memeq’
test.c:400: warning: label ‘done’ defined but not used
test.c: In function ‘test_onion_handshake’:
test.c:427: warning: implicit declaration of function ‘test_assert’
test.c:445: warning: implicit declaration of function ‘test_memneq’
test.c:447: warning: label ‘done’ defined but not used
test.c: In function ‘test_circuit_timeout’:
test.c:612: warning: label ‘done’ defined but not used
test.c: In function ‘test_policy_summary_helper’:
test.c:637: warning: implicit declaration of function ‘test_streq’
test.c:639: warning: label ‘done’ defined but not used
test.c: In function ‘test_policies’:
test.c:792: warning: label ‘done’ defined but not used
test.c: In function ‘test_rend_fns’:
test.c:998: warning: label ‘done’ defined but not used
test.c: In function ‘test_geoip’:
test.c:1071: warning: label ‘done’ defined but not used
test.c: At top level:
test.c:1076: warning: ‘struct testcase_t’ declared inside parameter list
test.c:1076: warning: its scope is only this definition or declaration, which is probably not what you want
test.c: In function ‘legacy_test_setup’:
test.c:1078: error: dereferencing pointer to incomplete type
test.c: At top level:
test.c:1089: warning: ‘struct testcase_t’ declared inside parameter list
test.c:1096: error: variable ‘legacy_setup’ has initializer but incomplete type
test.c:1097: warning: excess elements in struct initializer
test.c:1097: warning: (near initialization for ‘legacy_setup’)
test.c:1098: warning: excess elements in struct initializer
test.c:1098: warning: (near initialization for ‘legacy_setup’)
test.c:1108: error: array type has incomplete element type
test.c:1116: error: ‘TT_SKIP’ undeclared here (not in a function)
test.c:1119: error: ‘END_OF_TESTCASES’ undeclared here (not in a function)
test.c:1121: error: array type has incomplete element type
test.c:1122: error: array type has incomplete element type
test.c:1123: error: array type has incomplete element type
test.c:1124: error: array type has incomplete element type
test.c:1125: error: array type has incomplete element type
test.c:1127: error: array type has incomplete element type
test.c:1135: error: ‘END_OF_GROUPS’ undeclared here (not in a function)
test.c: In function ‘main’:
test.c:1199: warning: implicit declaration of function ‘tinytest_main’
make[4]: * [test.o] Error 1
make[3]:
* [all-recursive] Error 1
make[2]: * [all-recursive] Error 1
make[1]:
* [all] Error 2
make: * [dist-osx] Error 2

[Automatically added by flyspray2trac: Operating System: OSX 10.5 Leopard]

Child Tickets

Change History (3)

comment:1 Changed 10 years ago by arma

Duplicate of 1119

comment:2 Changed 10 years ago by arma

flyspray2trac: bug closed.

comment:3 Changed 7 years ago by nickm

Component: Tor ClientTor
Note: See TracTickets for help on using tickets.