Configured with: env CC="gcc -D_LINUX_SOURCE_COMPAT" \ CPPFLAGS="-I/usr/local/include" \ LDFLAGS="-L/usr/local/lib -lcrypto -lssl -lsasl2" \ ./configure --with-acl-support --with-utmp \ --with-ldap --with-krb5=/usr/local \ --with-libiconv=/usr/local --with-sendfile-support \ --prefix=/usr/local/samba --with-syslog --with-quotas gcc version 3.3.2 on AIX 5.3 Error list from make. Linking libsmbclient shared library bin/libsmbclient.so ld: 0711-781 ERROR: TOC overflow. TOC size: 72740 Maximum size: 65536 collect2: ld returned 12 exit status make: *** [bin/libsmbclient.so] Error 1 What do I do to get around this error?
Created attachment 2086 [details] Fix TOC in shared objects on AIX
I still get the same error after the change! Is there something I'm missing? mark
I notice that the ./configure file also has those variables defined. How do I get the configure.in changes into the ./configure?
run ./autogen.sh to rebuild ./configure
That did it. Thanks! mark
Reopening....not fixed until the patch is aplpied to the tree....
(In reply to comment #2) > I still get the same error after the change! > Is there something I'm missing? > mark After you apply the patch, you need to make distclean and re-run autogen.sh Bill
closing....