Re: crunchgen undefined reference

2007-04-13 Thread Luke Cowell

This solved the issue. Thank you.

Luke

On 12-Apr-07, at 8:37 PM, Dale Rahn wrote:


On Thu, Apr 12, 2007 at 02:57:44PM -0700, Luke Cowell wrote:

Hi, I'm using OpenBSD 4.0 i386 and I'm having some difficulties with
crunchgen. Your assistance would be appreciated.

-I've used basically the same conf file and method on a FreeBSD
system (so I must be doing something right).
-I've reduced the conf to include 1 binary - the simpler the better.

Under /usr/local/src (which is empty apart from the conf). Here's a
transcript of what I'm trying to do.

# cat cat.conf
srcdirs /usr/src/bin

progs cat

libs -lc

#crunchgen cat.conf


For ELF platforms use

# crunchgen -E cat.conf

this will call 'crunchide -k _crunched_cat_stub cat.lo' later
which will keep to the proper symbol name.

Dale Rahn   [EMAIL PROTECTED]




Re: crunchgen undefined reference

2007-04-12 Thread Dale Rahn
On Thu, Apr 12, 2007 at 02:57:44PM -0700, Luke Cowell wrote:
 Hi, I'm using OpenBSD 4.0 i386 and I'm having some difficulties with  
 crunchgen. Your assistance would be appreciated.
 
 -I've used basically the same conf file and method on a FreeBSD  
 system (so I must be doing something right).
 -I've reduced the conf to include 1 binary - the simpler the better.
 
 Under /usr/local/src (which is empty apart from the conf). Here's a  
 transcript of what I'm trying to do.
 
 # cat cat.conf
 srcdirs /usr/src/bin
 
 progs cat
 
 libs -lc
 
 #crunchgen cat.conf

For ELF platforms use 

# crunchgen -E cat.conf 

this will call 'crunchide -k _crunched_cat_stub cat.lo' later
which will keep to the proper symbol name.

Dale Rahn   [EMAIL PROTECTED]