Hello, I have a weird problem with my compilers on my Sparc. If I invoke gcc like this:
gcc-3.3 -o ldap-test -lldap ldap-test.c or gcc-3.2 -o ldap-test -lldap ldap-test.c I get the expected binary file. Now, if I invoke gcc like this: gcc -o ldap-test -lldap ldap-test.c I get: /usr/bin/ld: skipping incompatible /usr/lib/gcc-lib/sparc-linux/3.3.2/../../../libldap.so when searching for -lldap /usr/bin/ld: skipping incompatible /usr/lib/gcc-lib/sparc-linux/3.3.2/../../../libldap.a when searching for -lldap /usr/bin/ld: skipping incompatible /usr/bin/../lib/libldap.so when searching for -lldap /usr/bin/ld: skipping incompatible /usr/bin/../lib/libldap.a when searching for -lldap /usr/bin/ld: skipping incompatible /usr/lib/libldap.so when searching for -lldap /usr/bin/ld: skipping incompatible /usr/lib/libldap.a when searching for -lldap /usr/bin/ld: cannot find -lldap collect2: ld returned 1 exit status On i386, /usr/bin/gcc points to /usr/bin/gcc-3.3, but on my Sparc gcc is just a binary. I guess I am a bit confused with all the compiler thing on the Sparc. What compiler should I be using these days? I currently have: [EMAIL PROTECTED]:/usr/bin$ dpkg -l gcc\* | grep ^i ii gcc 3.3.1-2 The GNU C compiler. ii gcc-3.2 3.2.3-8 The GNU C compiler ii gcc-3.2-base 3.2.3-8 The GNU Compiler Collection (base package) ii gcc-3.3 3.3.2-0pre2 The GNU C compiler ii gcc-3.3-base 3.3.2-0pre2 The GNU Compiler Collection (base package) [EMAIL PROTECTED]:/usr/bin$ Thanks for any hints. Eloy.-

