On Nov 24, 2003 at 10:54, Evgeniy evgeniy@riscom.net wrote:
On Friday 21 November 2003 16:55, you wrote:
On Nov 21, 2003 at 15:58, Evgeniy evgeniy@riscom.net wrote: [...]
It works for me on openbsd 3.2.
OpenBSD 3.4 have changed binary format from aout to elf maybe problem is here ? i can send full install log or create ssh access to my system.
Hmm, it seems that it changed the symbols which are exported. Maybe different link flags? (the symbols from ser are used by the modules, so they must be exported; adding -E to the gcc link command for ser takes care of this for all arhitectures, until now...).
Hmmm, I think I should read my own comments from time to time : LDFLAGS= # openbsd ld doesn't like -O2 or -E :-)
So because I clear LDFLAGS on openbsd, ser won't be compiled with -Wl,-E on 3.4 and the symbols won't be exported.
i did this is the result log
Thanks.
Try the attached patch (patch -p0 < ~/sip_router/makefile_defs_openbsd.3.4.patch from your ser sources dir).
I try to detect openbsd release number and set LDFLAGS based on it. If this works for you I will commit it on the cvs. If not please send me the last make line (something like: gcc -Wl,-O2 -Wl,-E action.o crc.o data_lump.o ...)
Andrei