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 7.3.0.0.0 to 7.3.0.0.1 [Release 7.3.0]
Information in this document applies to any platform.

Goal

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

Solution

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
Goal
Solution


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