From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David S. Miller" To: ian@cygnus.com Cc: gas2@cygnus.com Subject: Grrr: Sunos4-1-4 builds... Date: Thu, 05 Oct 1995 14:13:00 -0000 Message-id: <199510052025.QAA15606@huahaga.rutgers.edu> References: <199510051513.LAA18792@sanguine.cygnus.com> X-SW-Source: 1995/msg00181.html From: Ian Lance Taylor Date: Thu, 5 Oct 1995 11:13:46 -0400 Date: Thu, 5 Oct 1995 03:47:53 -0400 From: "David S. Miller" Building the linker uses flex, however the configuration process does not add '-lfl' to the list of libraries to link the final ld.new binary with. Is there a certain reason that -lfl is not added to the set of libs to link with? It shouldn't be necessary, at least not for modern versions of flex. -lfl just defines main and yywrap. main is defined in ldmain.c, and yywrap is defined in ldlex.l. Is it causing trouble? What version of flex are you using? Currently flex 2.4.5 is installed on the machine which I do SunOS gas testing.. Precisely, without adding -lfl the compilation fails with undefined references to: _yy_flex_realloc _yy_flex_free _yy_flex_alloc This could be something stupid with the way I installed flex or the fact that is an older version. Later, David S. Miller davem@caip.rutgers.edu