Operating System - HP-UX
1753781 Members
7433 Online
108799 Solutions
New Discussion юеВ

probleme with makefile gcc 3.3.2 in hpux 11.11

 
khelij
Advisor

probleme with makefile gcc 3.3.2 in hpux 11.11

First of all Thank you very much ;-)

the subject to this compile is :
i have HPUX 11.11 and HPOV 6.X
J have a program developpe on C for HPOV
i want to compile this script

Firstly i have include in /usr/include/sys/types.h

# ifndef _BSIZE_T
# define _BSIZE_T
# if defined(_APP32_64BIT_OFF_T) || defined(_KERNEL)
typedef int64_t sbsize_t; /* signed length in bytes */
typedef uint64_t bsize_t; /* unsigned length in bytes */
# else
typedef long sbsize_t;
typedef unsigned long bsize_t;
# endif
# endif /* _BSIZE_T */

secondly i compile and i have a new message :

./compile
/usr/local/bin/gcc -g -w -I/opt/OV/include -I. /opt/OV/lib -c AlcPabxPolling.c
gcc: /opt/OV/lib: fichier d'entr├Г┬йe d'├Г┬йdition de liens n'est pas utilis├Г┬й parce l'├Г┬йdition de lien n'a pas ├Г┬йt├Г┬й faite
/usr/local/bin/gcc -g -w -I/opt/OV/include -I. /opt/OV/lib -c SnmpPrints.c
gcc: /opt/OV/lib: fichier d'entr├Г┬йe d'├Г┬йdition de liens n'est pas utilis├Г┬й parce l'├Г┬йdition de lien n'a pas ├Г┬йt├Г┬й faite
Linking AlcPabxPolling ...
/usr/ccs/bin/ld: /opt/OV/lib: Not a valid object file (invalid system id)
collect2: ld a retourn├Г┬й 1 code d'├Г┬йtat d'ex├Г┬йcution
*** Erreur - code de sortie 1

Arr├Г┬кt.
==========================================

I think, i have probleme to put option path in makefile
i send you the mafile and the oth
2 REPLIES 2
khelij
Advisor

Re: probleme with makefile gcc 3.3.2 in hpux 11.11

the second file
ranganath ramachandra
Esteemed Contributor

Re: probleme with makefile gcc 3.3.2 in hpux 11.11

the 11.X customization in the makefile is incomplete. try this :

CFLAGS = -g -w -I/opt/OV/include -I. -L/opt/OV/lib
 
--
ranga
[i work for hpe]

Accept or Kudo