Opened 11 years ago
Closed 11 years ago
#300 closed defect (fixed)
Fails to build on QNX 6.3.2
Reported by: | mkraai | Owned by: | Christian Franke |
---|---|---|---|
Priority: | major | Milestone: | Release 6.3 |
Component: | all | Version: | |
Keywords: | qnx | Cc: |
Description
When I try to build revision 3851 on QNX 6.3.2, it fails with the following error messages:
source='smartctl.cpp' object='smartctl.o' libtool=no \ DEPDIR=.deps depmode=gcc /bin/sh ./depcomp \ QCC -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -I./getopt -DHAVE_GETOPT_LONG -D__GNU_LIBRARY__ -g -O2 -Wall -W -c -o smartctl.o smartctl.cpp smartctl.cpp: In function `const char* parse_options(int, char**, ata_print_options&, scsi_print_options&, bool&)': smartctl.cpp:397: error: `free' undeclared (first use this function) smartctl.cpp:397: error: (Each undeclared identifier is reported only once for each function it appears in.) cc: /usr/qnx632/host/qnx6/x86/usr/lib/gcc-lib/i386-pc-nto-qnx6.3.0/3.3.5/cc1plus error 1
If I modify smartctl.cpp to include stdlib.h, it builds successfully.
Attachments (1)
Change History (4)
by , 11 years ago
comment:1 by , 11 years ago
Keywords: | qnx added |
---|
comment:2 by , 11 years ago
Milestone: | → Release 6.3 |
---|---|
Owner: | changed from | to
Status: | new → accepted |
comment:3 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.
r3857.