TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: Gert Koefoed Andersen
from: Dmitry Sergienko
date: 2003-08-16 10:21:28
subject: Re: Huskymak.cfg doing make.

Hi, Gert!

Вторник Август 05 2003, at 13:48 Gert Koefoed Andersen wrote to All:
 GA> Got some error doing make by huskymak.cfg, as those:
 GA> for smapi.
 GA>
 GA> === Begin file ===
 GA> gcc   1stchar.o   -o 1stchar
 GA> === End file ===
 GA>
 GA> === Begin file ===
 GA> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../crt1.o(.text+0
 GA> x18): In function `_start':
 GA> : undefined reference to `main'
 GA> collect2: ld returned 1 exit status
 GA> make: *** [1stchar] Fejl 1
 GA> === End file ===

I beleive that you missed some declarations or something else.
1stchar _should_not_ be built this way. It must be just compiled and must
not be linked into separate binary executable, it should be a part of smapi
or huskylib library.

Please show your huskymak.cfg, Makefile and how exactly you invoke 'make' command.

    Dmitry

--- GoldED+/LNX 1.1.5
* Origin: LinuxLand II * trooper{at}email.dp.ua * ICQ: 38304000 (2:464/910.1)
SEEN-BY: 633/267 270
@PATH: 464/910 2411/12 413 2432/200 2476/418 140/1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.