🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by Ian Hoyle Tue, 09 Oct 1990 22:54
undefined variable in patch11
#972
Author: Ian Hoyle
Date: Tue, 09 Oct 1990 22:54
27 lines
1494 bytes
Compilation of nn fails on Apollo's [Domain/OS sr10.2] (but interestingly not 
on Silicon Graphics machines [Irix 3.2.2] :-) at patch 11. The following 
error is generated when linking nn ...

linking nn
undefined				first referenced
 symbol					    in file
 check_group_access			    variable.o
ld warning: Output file nn not executable


On inspecting variable.c, check_group_access is declared as "import int".
Looks like the problem is that nowhere has it been exported.

Kim, where should this declaration go ???

				ian
--
                Ian Hoyle
     /\/\       Image Processing & Data Analysis Group
    / / /\      BHP Melbourne Research Laboratories
   / / /  \     245 Wellington Rd, Mulgrave, 3170
  / / / /\ \    AUSTRALIA
  \ \/ / / /
   \  / / /     Phone   :  +61-3-560-7066
    \/\/\/      FAX     :  +61-3-561-6709
                E-mail  :  ianh@bhpmrl.oz.au
Re: undefined variable in patch11
#976
Author: Ian Hoyle
Date: Wed, 10 Oct 1990 14:54
37 lines
1943 bytes
ianh@bhpmrl.oz.au (Ian Hoyle) writes:

>Compilation of nn fails on Apollo's [Domain/OS sr10.2] (but interestingly not 
>on Silicon Graphics machines [Irix 3.2.2] :-) at patch 11. The following 
>error is generated when linking nn ...

>linking nn
>undefined				first referenced
> symbol					    in file
> check_group_access			    variable.o
>ld warning: Output file nn not executable


>On inspecting variable.c, check_group_access is declared as "import int".
>Looks like the problem is that nowhere has it been exported.

Don't you just *hate* it when you make a real stuff up :-(

Yes, I play some fancy footwork with db.c with regard to file locking on the
MASTER file for my Apollo's ..... consequently I missed (or rather the patch
happened then was promptly removed on my particular way of building nn) the 
fact that check_group_access was declared in db.c (thanx to Dennis Cottel for 
this).

Sorry if a lot of people went chasing this. My mistake.

			ian
--
                Ian Hoyle
     /\/\       Image Processing & Data Analysis Group
    / / /\      BHP Melbourne Research Laboratories
   / / /  \     245 Wellington Rd, Mulgrave, 3170
  / / / /\ \    AUSTRALIA
  \ \/ / / /
   \  / / /     Phone   :  +61-3-560-7066
    \/\/\/      FAX     :  +61-3-561-6709
                E-mail  :  ianh@bhpmrl.oz.au
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads