Taking Doug Henry's suggestion I rebuilt my IRIX binaries using only GCC3, making symlinks to all of these to the GCC4 names. Everything I've built, including perl, has built with no extra configuration (except for openssl & sudo).

However - I'm having issues building postfix and I believe it's related to IPv6. After successfully building fsl using "l_cflags -DINET6" I tried the same thing with postfix and got this:

(without the -DINET6 flag)
/syscfg/opkg/bin/cc -O2 -I/syscfg/opkg/include -DDEF_CONFIG_DIR=\"/syscfg/opkg/etc/postfix\" -DHAS_DB -DHAS_PCRE -DUSE_SOFTLIMITONLY -g -O -I. -DIRIX6 -c dict_cidr.c
In file included from dict_cidr.c:52:
./myaddrinfo.h:139: error: `INET6_ADDRSTRLEN' undeclared here (not in a function) ./myaddrinfo.h:151: warning: "struct addrinfo" declared inside parameter list ./myaddrinfo.h:151: warning: its scope is only this definition or declaration, which is probably not what you want ./myaddrinfo.h:153: warning: "struct addrinfo" declared inside parameter list
make: *** [dict_cidr.o] Error 1
make: *** [update] Error 1

(with the -DINET6 flag)
/syscfg/opkg/bin/cc -DINET6 -I/syscfg/opkg/include -DDEF_CONFIG_DIR=\"/syscfg/opkg/etc/postfix\" -DHAS_DB -DHAS_PCRE -DUSE_SOFTLIMITONLY -g -O -I. -DIRIX6 -c inet_addr_host.c
In file included from ./inet_addr_list.h:17,
                 from inet_addr_host.c:51:
./myaddrinfo.h:151: warning: "struct addrinfo" declared inside parameter list ./myaddrinfo.h:151: warning: its scope is only this definition or declaration, which is probably not what you want ./myaddrinfo.h:153: warning: "struct addrinfo" declared inside parameter list
inet_addr_host.c: In function `inet_addr_host':
inet_addr_host.c:95: error: dereferencing pointer to incomplete type
inet_addr_host.c:100: error: dereferencing pointer to incomplete type
inet_addr_host.c:102: error: dereferencing pointer to incomplete type
inet_addr_host.c:112: error: dereferencing pointer to incomplete type
inet_addr_host.c:114: error: dereferencing pointer to incomplete type
inet_addr_host.c:120: error: dereferencing pointer to incomplete type
make: *** [inet_addr_host.o] Error 1
make: *** [update] Error 1

This happens with the release and current versions of postfix.

Doug
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to