bugzilla-daemon at mindrot.org
2003-Apr-02 18:02 UTC
[Bug 531] Conflicting basename() on Irix
http://bugzilla.mindrot.org/show_bug.cgi?id=531 Summary: Conflicting basename() on Irix Product: Portable OpenSSH Version: 3.6p1 Platform: MIPS OS/Version: IRIX Status: NEW Severity: major Priority: P2 Component: Build system AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: pere at hungry.com The OpenSSH v3.6p1 source fails to compile on Irix 6.5. I get the following error message: [...] checking for basename... no [...] cc-wrapper -g -I. -I. -I/local/lib -I/usr/local/include -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/local/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/local/libexec/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c progressmeter.c cc-1143 cc: ERROR File = /usr/include/libgen.h, Line = 35 Declaration is incompatible with "char *basename(const char *)" (declared at line 9 of "openbsd-compat/basename.h"). extern char *basename(char *); ^ 1 error detected in the compilation of "progressmeter.c". make: *** [progressmeter.o] Error 2 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Apr-02 18:18 UTC
[Bug 531] Conflicting basename() on Irix
http://bugzilla.mindrot.org/show_bug.cgi?id=531 ------- Additional Comments From pere at hungry.com 2003-04-03 04:18 ------- This is from 'man 3 basename': cc [flag ...] file ... -lgen [library ...] #include <libgen.h> char *basename (char *path); I guess configure should insert '-lgen' before testing for basename(). ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
Seemingly Similar Threads
- basename() in libgen
- error compiling portable openssh 3.6.1p1 on SGI IRIX 6.5x
- IRIX compilation and openbsd-compat/basename.h
- [Bug 532] Conflicting basename and dirname on solaris
- [Bug 615] OpenSSH 3.6.1p2 ON SCO 3.2v4.2 + STRICTMODES -->yes (broken dirname in libgen)