Opened 15 years ago

Last modified 15 years ago

#21080 closed defect

port latd not building, compiler warning — at Initial Version

Reported by: bernhard_wulf@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: latd

Description

As a starter in the Mac business I would be interested what caused the problem and how to avoid the next time. Installed same other ports without error, it should work.

Regards

Bernhard.

Error message is attached...

---> Configuring latd ---> Building latd Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_latd/work/latd-1.21" && /usr/bin/make -j2 all " returned error 2 Command output: fi cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ In file included from /usr/include/c++/4.0.0/backward/strstream:51,

from localport.cc:25:

/usr/include/c++/4.0.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated. if /usr/bin/g++-4.0 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"latd\" -DVERSION=\"1.21\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UTIL_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_NET_IF_DL_H=1 -DHAVE_AF_LINK=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/usr/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/opt/local/latd.conf\" -DSBINDIR=\"/opt/local/sbin\" -DBINDIR=\"/opt/local/bin\" -I/opt/local/include -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -O2 -arch i386 -DENABLE_DEFAULT_SERVICE -W -MT server.o -MD -MP -MF ".deps/server.Tpo" \

-c -o server.o test -f 'server.cc' || echo './'server.cc; \

then mv -f ".deps/server.Tpo" ".deps/server.Po"; \ else rm -f ".deps/server.Tpo"; exit 1; \ fi

cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ In file included from /usr/include/c++/4.0.0/backward/algo.h:59,

from server.cc:48:

/usr/include/c++/4.0.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated. if /usr/bin/g++-4.0 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"latd\" -DVERSION=\"1.21\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UTIL_H=1 -DHAVE_NET_ETHERNET_H=1 -DHAVE_NET_IF_DL_H=1 -DHAVE_AF_LINK=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_OPENPTY=1 -DLOGIN_BIN=\"/usr/bin/login\" -DLATCP_SOCKNAME=\"/var/run/latcp\" -DLLOGIN_SOCKNAME=\"/var/run/latlogin\" -I. -I. -DLATD_CONF=\"/opt/local/latd.conf\" -DSBINDIR=\"/opt/local/sbin\" -DBINDIR=\"/opt/local/bin\" -I/opt/local/include -fno-rtti -fno-exceptions -Wstrict-prototypes -Wno-unused -O2 -arch i386 -DENABLE_DEFAULT_SERVICE -W -MT serversession.o -MD -MP -MF ".deps/serversession.Tpo" \

-c -o serversession.o test -f 'serversession.cc' || echo './'serversession.cc; \

then mv -f ".deps/serversession.Tpo" ".deps/serversession.Po"; \ else rm -f ".deps/serversession.Tpo"; exit 1; \ fi

cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ In file included from /usr/include/c++/4.0.0/backward/strstream:51,

from serversession.cc:30:

/usr/include/c++/4.0.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated. server.cc:67: error: conflicting declaration 'typedef int socklen_t' /usr/include/sys/socket.h:108: error: 'socklen_t' has a previous declaration as 'typedef darwin_socklen_t socklen_t' server.cc: In member function 'void LATServer::send_solicit_messages(int)': server.cc:369: warning: comparison between signed and unsigned integer expressions server.cc:375: warning: comparison between signed and unsigned integer expressions make: * [server.o] Error 1 make: * Waiting for unfinished jobs....

Error: Status 1 encountered during processing. bernhard-wulfs-macbook-pro:bin bernhard_wulf$

Change History (0)

Note: See TracTickets for help on using tickets.