From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: border2.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Undefined reference errors and strange new files appearing Date: Sun, 22 Jun 2014 21:50:28 +0100 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx05.eternal-september.org; posting-host="09a3d9cee9266239e5bbed6e5ce10563"; logging-data="22918"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18BbM4fKjLtkPL2Tg5XwEmbF6KutUTPgDo=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:/q4c4hMVMIJLykIk5Zar6lZeVW4= sha1:fwx53RtDdIp5xU6uhN3RlfRlc1I= X-Original-Bytes: 1994 Xref: number.nntp.dca.giganews.com comp.lang.ada:187171 Date: 2014-06-22T21:50:28+01:00 List-Id: hreba writes: > I guess I forgot something in the project files. I'd modify test_genlists.gpr as below: with "../../gen.gpr"; project Test_Genlists is for Main use ("test_lists.adb"); for Object_Dir use ".build"; -- to keep .o etc out of sight for Exec_Dir use "."; -- to have executable 'here' anyway package Builder is -- not Linker for Default_Switches ("ada") use ("-g"); end Builder; package Compiler is for Default_Switches ("ada") use ("-g", "-gnatf", "-gnat05"); end Compiler; end Test_Genlists; > Nevertheless I reproduce the start of my sources: But you've left off the end, which discourages us (me) from trying out your code on our machines and (maybe) seeing the problem. It really helps if you can produce a small *compilable* example. See http://sscce.org And I don't think you told us what operating system/compiler you're using? I can see it's Unix-based.