Menu

#1774 5.4 agent/Makefile problem breaks build on HP-UX 11

hpux
closed
configure (132)
5
2012-11-08
2007-02-20
Anonymous
No
    /bin/sh ../libtool  --mode=compile cc -I../include -I. -I../agent -I../a gent/mibgroup  -I../snmplib   -g -Dhpux11=hpux11  -c -o mibgroup/snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable\_data\_access.lo mibgroup/snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable\_data\_access.c

cc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -g -Dhpux11=hpu
x11 -c mibgroup/snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable_data_access.c +Z -DPIC -o mibgroup/snmp-notification-mib/snmpNotifyFilterTable/.libs/snmpNotifyFilterTable_data_access.o
cc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -g -Dhpux11=hpu
x11 -c mibgroup/snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable_data_access.c -o mibgroup/snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTable_data_access.o >/dev/null 2>&1
Make: Don't know how to make #. Stop.
*** Error exit code 1

To fix this problem:
In agent/Makefile, remove the final backslashes at
the *end* of mibgroup_list_lo (line 299), mibgroup_list_o (line 394),
agentgroup_list_lo (line 409) and agentgroup_list_o (line 424)

Discussion

  • Nobody/Anonymous

    agent/Makefile

     
  • Thomas Anders

    Thomas Anders - 2007-02-20

    Logged In: YES
    user_id=848638
    Originator: NO

    This needs to be properly fixed in configure.in, of course. Probably only happens with HP make, because I can successfully build with GNU make on HP-UX.

     
  • Wes Hardaker

    Wes Hardaker - 2007-02-21

    Logged In: YES
    user_id=76242
    Originator: NO

    Thanks for the bug report!
    We've fixed the problem in the 5.4.x code branch
    and the main development tree, so it should be
    fixed in future releases of the Net-SNMP package.

     

Log in to post a comment.