search for: lopenbsd_compat

Displaying 1 result from an estimated 1 matches for "lopenbsd_compat".

Did you mean: openbsd_compat
2001 May 19
0
scp linking problem on solaris 2.6 (x86)
...laris 2.6 that I'm not seeing on Linux (Mandrake 8). It boils down to Solaris not having mkdtemp(), and the mkdtemp() compatibility function referencing arc4random(), which calls seed_rng(). Since that function is back in libssh.a, we get a function-not-found link error. I added -lssh after -lopenbsd_compat on scp's build rule (so it is listed twice): scp$(EXEEXT): $(LIBCOMPAT) libssh.a scp.o $(LD) -o $@ scp.o $(LDFLAGS) -lssh -lopenbsd-compat -lssh $(LIBS) Another solution might be to call seed_rng() from inside scp.c (so the function gets picked up the first time around). While I was looking...