Return to BSD News archive
Newsgroups: comp.os.386bsd.apps Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!usc!howland.reston.ans.net!spool.mu.edu!news.cs.indiana.edu!noose.ecn.purdue.edu!mozo.cc.purdue.edu!kidd.vet.purdue.edu!bj From: bj@kidd.vet.purdue.edu (Ben Jackson) Subject: Re: [FreeBSD-1.0.2] Anyone compiled PGP? Sender: news@mozo.cc.purdue.edu (USENET News) Message-ID: <CosKuK.G30@mozo.cc.purdue.edu> Date: Mon, 25 Apr 1994 01:44:44 GMT References: <SWILDNER.94Apr22204509@channelz.gun.de> Organization: Purdue Daemons, West Lafayette, Indiana Lines: 39 In article <SWILDNER.94Apr22204509@channelz.gun.de>, Sascha Wildner <swildner@channelz.GUN.de> wrote: >What are the incantations to make pgp 2.3 compile under FreeBSD-1.0.2? >When I do a 'make 386bsd', I get: Your compile is fine... >[...] >gcc -E 80386.S > _80386.s This is the problem step... The preprocessor magic used in 80386.S is generating symbols like '_EntryPoint :'. The assembler sees two fields and assumes that the first is an opcode. The trick is to make the cpp generate '_EntryPoint:' (note the missing space). Here's a patch. *** broken/80386.S Sun Apr 24 20:39:35 1994 --- ./80386.S Sun Apr 24 20:38:35 1994 *************** *** 13,21 **** #ifndef SYSV #ifdef __STDC__ ! #define ENTRY(name) .align 4 ; .globl _##name ; _##name: #else ! #define ENTRY(name) .align 4 ; .globl _/**/name ; _/**/name: #endif #else /* SYSV */ #define ENTRY(name) .align 4 ; .globl name ; name: --- 13,21 ---- #ifndef SYSV #ifdef __STDC__ ! #define ENTRY(name) .align 4 ; .globl _##name ; _##name##: #else ! #define ENTRY(name) .align 4 ; .globl _/**/name ; _/**/name/**/: #endif #else /* SYSV */ #define ENTRY(name) .align 4 ; .globl name ; name: