Opened 20 years ago

Closed 20 years ago

Last modified 19 years ago

#3041 closed defect (fixed)

libESMTP doesn't build on 10.4

Reported by: bench@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -std=c99 -pedantic -g -O2 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -Wpointer-arith -Wbad-function-cast -Wcast-align -MT errors.lo -MD -MP -MF .deps/errors.Tpo -c errors.c -fno-common -DPIC -o .libs/errors.lo errors.c: In function 'eai_to_libesmtp': errors.c:80: error: 'EAI_ADDRFAMILY' undeclared (first use in this function) errors.c:80: error: (Each undeclared identifier is reported only once errors.c:80: error: for each function it appears in.) errors.c:81: error: 'EAI_NODATA' undeclared (first use in this function) errors.c: In function 'libesmtp_to_eai': errors.c:101: error: 'EAI_ADDRFAMILY' undeclared (first use in this function) errors.c:102: error: 'EAI_NODATA' undeclared (first use in this function) errors.c: In function 'smtp_strerror': errors.c:252: warning: return makes pointer from integer without a cast make[2]: * [errors.lo] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Change History (2)

comment:1 Changed 20 years ago by toby@…

Resolution: fixed
Status: newclosed

fixed

comment:2 Changed 19 years ago by skoranda@…

(In reply to comment #1)

fixed

I am still seeing this problem on Mac OS 10.4 when I run

sudo /opt/local/bin/port install libesmt

I end up with

gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -std=c99 -pedantic -g -O2 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -Wpointer-arith -Wbad-function-cast -Wcast-align -MT errors.lo -MD -MP -MF .deps/errors.Tpo -c errors.c -fno-common -DPIC -o .libs/errors.loerrors.c: In function 'eai_to_libesmtp':errors.c:80: error: 'EAI_ADDRFAMILY' undeclared (first use in this function)errors.c:80: error: (Each undeclared identifier is reported only onceerrors.c:80: error: for each function it appears in.)errors.c:81: error: 'EAI_NODATA' undeclared (first use in this function)errors.c: In function 'libesmtp_to_eai':errors.c:101: error: 'EAI_ADDRFAMILY' undeclared (first use in this function)errors.c:102: error: 'EAI_NODATA' undeclared (first use in this function)errors.c: In function 'smtp_strerror':errors.c:252: warning: return makes pointer from integer without a castmake[2]: * [errors.lo] Error 1make[1]: * [all-recursive] Error 1make: * [all] Error 2

Note: See TracTickets for help on using tickets.