MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Include error making the tlink prog on FreeBSD



******    message to minivend-users from Holm Tiffe <holm@freibergnet.de>     ******

Hi,

While compiling the tlink prog  from minivend 3.11 and 3.12beta
on FreeBSD-4.0-current I get the following:

checking for gethostbyname in -lnsl... no
checking for environ declaration in unistd.h... no
checking return type of signal handlers... void
checking for select... yes
checking for socket... yes
checking for strerror... yes
updating cache ./config.cache
creating ./config.status
creating syscfg
creating config.h
Compiling, this may take a sec...In file included from tlink.c:38:
/usr/include/arpa/inet.h:89: warning: parameter has incomplete type
/usr/include/arpa/inet.h:92: warning: parameter has incomplete type
/usr/include/arpa/inet.h:96: warning: parameter has incomplete type
done.

That takes care of the program configuration.

this is because the struct in_addr isn't known in <arpa/inet.h>, it
is defined in <netinet/in.h> which is included in tlink.c after 
<arpa/inet.h>.

Changing the lines solves this problem here.

Holm

-- 
FreibergNet Systemhaus GbR      Holm Tiffe  * Administration, Development
Systemhaus f&#252;r Daten- und Netzwerktechnik           phone +49 3731 781279
Unternehmensgruppe Liebscher & Partner                fax +49 3731 781377
D-09599 Freiberg * Am St. Niclas Schacht 13    http://www.freibergnet.de/

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: