9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* RE: [9fans] gcc trouble
@ 2003-11-21  7:08 cej
  2003-11-21  8:46 ` Charles Forsyth
  0 siblings, 1 reply; 44+ messages in thread
From: cej @ 2003-11-21  7:08 UTC (permalink / raw)
  To: 9fans





> I believe that plan9 needs a C++ compiler (I know that you disagree). 

Yes, I disagree. However, I would *love* to have (working) C++ for porting existing progs I need :-(
before I hire a programmer to rewrite them to (Plan9's) C.

++pac.


---
Odchozí zpráva neobsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.541 / Virová báze: 335 - datum vydání: 14. 11. 2003
 


^ permalink raw reply	[flat|nested] 44+ messages in thread
* [9fans] gcc trouble
@ 2003-11-11  7:05 cej
  0 siblings, 0 replies; 44+ messages in thread
From: cej @ 2003-11-11  7:05 UTC (permalink / raw)
  To: 9fans


>> It would be nice if we got to a systematic way to do this, as it is a 
>> shame to lose all the work each time there's a new version of 
>> GNUmumble.x.y.z.
>> 
>> Just a thought, you're probably all doing this anyway :-)

> I can't speak for anyone else, but I am doing this. :)

I'm a 'pig porter' thus I don't do it :-(
Could someone lead me, in an idiotic way, step by step? It would make me to learn quicker, hopefully!

thanks, ++pac.

---
Odchozí zpráva neobsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.536 / Virová báze: 331 - datum vydání: 3. 11. 2003
 


^ permalink raw reply	[flat|nested] 44+ messages in thread
* [9fans] gcc trouble
@ 2003-11-11  7:01 cej
  0 siblings, 0 replies; 44+ messages in thread
From: cej @ 2003-11-11  7:01 UTC (permalink / raw)
  To: 9fans; +Cc: mirtchov





>  when you compile with gcc make sure you link the libraries from
>  /386/lib/gnu/...  you should have them all there.

Wow! That's it! -lbsd was sufficient. Thanks a lot!
++pac.


---
Odchozí zpráva neobsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.536 / Virová báze: 331 - datum vydání: 3. 11. 2003
 


^ permalink raw reply	[flat|nested] 44+ messages in thread
* [9fans] gcc trouble
@ 2003-11-07 16:27 cej
  2003-11-07 17:58 ` mirtchov
  0 siblings, 1 reply; 44+ messages in thread
From: cej @ 2003-11-07 16:27 UTC (permalink / raw)
  To: 9fans

Hi,

I ran into a (supposedly trivial) problem while linking using gcc:

term% gnu/gsh
$ make
make: *** No targets specified and no makefile found.  Stop.
$ make -f makefile
[blah blah....]
gcc -O6 -Wall -o carnac main.o get_sequences.o find_blocks.o print_alignment.o types.o find_stems.o correlate.o fold.o tree.o print_folding.o string.o accumulation.o parse.o graph.o clique.o nuss.o  #-lm #-lefence
string.o(.text+0x43): undefined reference to `strdup'
string.o(.text+0xa3): undefined reference to `strdup'
string.o(.text+0x103): undefined reference to `strdup'
string.o(.text+0x163): undefined reference to `strdup'
string.o(.text+0x319): undefined reference to `strdup'
string.o(.text+0x1b0): more undefined references to `strdup' follow
parse.o(.text+0x811): undefined reference to `getopt'
parse.o(.text+0x922): undefined reference to `optarg'
parse.o(.text+0x946): undefined reference to `optarg'
parse.o(.text+0x96a): undefined reference to `optarg'
parse.o(.text+0x98c): undefined reference to `optarg'
collect2: ld returned 1 exit status
make: *** [carnac] Error 1
$ 

What am I missing?

Cheers,
++pac.

Peter A. Cejchan
Lab of Paleobiology and Paleoecology
Institute of Geology
Academy of Sciences
Rozvojova 135
16502 Prague, Czechia
http://www.gli.cas.cz/home/cejchan


---
Odchozí zpráva neobsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.536 / Virová báze: 331 - datum vydání: 3. 11. 2003
 


^ permalink raw reply	[flat|nested] 44+ messages in thread

end of thread, other threads:[~2003-11-21 10:02 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-21  7:08 [9fans] gcc trouble cej
2003-11-21  8:46 ` Charles Forsyth
2003-11-21  9:53   ` Skip Tavakkolian
  -- strict thread matches above, loose matches on Subject: below --
2003-11-11  7:05 cej
2003-11-11  7:01 cej
2003-11-07 16:27 cej
2003-11-07 17:58 ` mirtchov
2003-11-07 16:53   ` Russ Cox
2003-11-07 19:14     ` mirtchov
2003-11-07 19:36       ` Russ Cox
2003-11-07 19:48       ` mirtchov
2003-11-07 19:56         ` Christopher Nielsen
2003-11-07 20:47           ` ron minnich
2003-11-07 21:05             ` Christopher Nielsen
2003-11-07 21:11       ` Charles Forsyth
2003-11-07 22:34         ` mirtchov
2003-11-08  0:08     ` Latchesar Ionkov
2003-11-08  1:35       ` Russ Cox
2003-11-08  1:54         ` Latchesar Ionkov
2003-11-08  2:14           ` Russ Cox
2003-11-08  4:35           ` ron minnich
2003-11-08  4:57             ` Geoff Collyer
2003-11-08  5:05               ` ron minnich
2003-11-08  8:24                 ` Charles Forsyth
2003-11-08 17:29                   ` ron minnich
2003-11-10 10:01                   ` Douglas A. Gwyn
2003-11-11  0:16               ` Latchesar Ionkov
2003-11-12 23:46                 ` Charles Forsyth
2003-11-20 14:33                   ` Latchesar Ionkov
2003-11-20 18:34                     ` boyd, rounin
2003-11-20 21:14                       ` Latchesar Ionkov
2003-11-20 21:27                         ` boyd, rounin
2003-11-20 21:35                           ` mirtchov
2003-11-20 22:45                           ` Latchesar Ionkov
2003-11-21 10:02                         ` Fco.J.Ballesteros
2003-11-20 19:27                     ` Joel Salomon
2003-11-20 20:03                       ` Peter Bosch
2003-11-20 20:49                       ` Christopher Nielsen
2003-11-20 21:01                         ` boyd, rounin
2003-11-20 23:11                           ` Joel Salomon
2003-11-20 23:28                             ` boyd, rounin
2003-11-21  0:19                             ` Christopher Nielsen
2003-11-21  0:31                               ` boyd, rounin
2003-11-10 15:53           ` Joel Salomon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).