My Oracle Support Banner

Compilation Failure Due To Duplicate Function 'gethostname' (Doc ID 551588.1)

Last updated on AUGUST 06, 2018

Applies to:

Oracle Communications Billing and Revenue Management - Version to [Release 7.3.0]
Information in this document applies to any platform.


Attempts to compile a customised FM fails with the following:-

error: declaration of C function `int gethostname(char*, int)'
conflicts with /usr/include/unistd.h:335:
error: previous declaration `int gethostname(char*, size_t)' here


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.