examples don't compile

Bug #150340 reported by Ryan
2
Affects Status Importance Assigned to Milestone
poker-eval (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: libpoker-eval

After installing poker-eval-dev, the examples in /usr/share/doc/libpoker-eval-dev compile with the following errors:

------
$ cc -I /usr/include/poker-eval/ eval.c -o /tmp/a.out
/tmp/ccaKFwe5.o: In function `parseArgs':
eval.c:(.text+0xab): undefined reference to `StdDeck'
eval.c:(.text+0xe0): undefined reference to `StdDeck_cardMasksTable'
eval.c:(.text+0xe7): undefined reference to `StdDeck_cardMasksTable'
eval.c:(.text+0xff): undefined reference to `StdDeck_cardMasksTable'
eval.c:(.text+0x106): undefined reference to `StdDeck_cardMasksTable'
/tmp/ccaKFwe5.o: In function `main':
eval.c:(.text+0x204): undefined reference to `StdDeck'
eval.c:(.text+0x209): undefined reference to `GenericDeck_maskString'
eval.c:(.text+0x224): undefined reference to `StdRules_HandVal_print'
eval.c:(.text+0x28c): undefined reference to `StdDeck'
eval.c:(.text+0x291): undefined reference to `GenericDeck_maskString'
eval.c:(.text+0x2ac): undefined reference to `LowHandVal_print'
/tmp/ccaKFwe5.o: In function `StdDeck_StdRules_EVAL_N':
eval.c:(.text+0x324): undefined reference to `nBitsTable'
eval.c:(.text+0x347): undefined reference to `nBitsTable'
eval.c:(.text+0x355): undefined reference to `straightTable'
eval.c:(.text+0x363): undefined reference to `straightTable'
eval.c:(.text+0x380): undefined reference to `topFiveCardsTable'
eval.c:(.text+0x397): undefined reference to `nBitsTable'
eval.c:(.text+0x3a5): undefined reference to `straightTable'
eval.c:(.text+0x3b3): undefined reference to `straightTable'
eval.c:(.text+0x3d0): undefined reference to `topFiveCardsTable'
eval.c:(.text+0x3e7): undefined reference to `nBitsTable'
eval.c:(.text+0x3f5): undefined reference to `straightTable'
eval.c:(.text+0x403): undefined reference to `straightTable'
eval.c:(.text+0x420): undefined reference to `topFiveCardsTable'
eval.c:(.text+0x434): undefined reference to `nBitsTable'
eval.c:(.text+0x442): undefined reference to `straightTable'
eval.c:(.text+0x450): undefined reference to `straightTable'
eval.c:(.text+0x46d): undefined reference to `topFiveCardsTable'
eval.c:(.text+0x481): undefined reference to `straightTable'
eval.c:(.text+0x4d9): undefined reference to `topFiveCardsTable'
eval.c:(.text+0x4fd): undefined reference to `topCardTable'
eval.c:(.text+0x51e): undefined reference to `topFiveCardsTable'
eval.c:(.text+0x563): undefined reference to `topFiveCardsTable'
eval.c:(.text+0x575): undefined reference to `topCardTable'
eval.c:(.text+0x5c2): undefined reference to `topCardTable'
eval.c:(.text+0x5e3): undefined reference to `topCardTable'
eval.c:(.text+0x609): undefined reference to `topCardTable'
eval.c:(.text+0x63c): undefined reference to `topCardTable'
/tmp/ccaKFwe5.o:eval.c:(.text+0x65e): more undefined references to `topCardTable' follow
/tmp/ccaKFwe5.o: In function `StdDeck_StdRules_EVAL_N':
eval.c:(.text+0x696): undefined reference to `nBitsTable'
eval.c:(.text+0x6d6): undefined reference to `topCardTable'
eval.c:(.text+0x706): undefined reference to `topCardTable'
eval.c:(.text+0x739): undefined reference to `topCardTable'
eval.c:(.text+0x75c): undefined reference to `topCardTable'
eval.c:(.text+0x78d): undefined reference to `topCardTable'
/tmp/ccaKFwe5.o: In function `StdDeck_Lowball_EVAL':
eval.c:(.text+0x855): undefined reference to `nBitsTable'
eval.c:(.text+0x863): undefined reference to `bottomFiveCardsTable'
eval.c:(.text+0x899): undefined reference to `bottomCardTable'
eval.c:(.text+0x8a9): undefined reference to `nBitsTable'
eval.c:(.text+0x90c): undefined reference to `nBitsTable'
eval.c:(.text+0x924): undefined reference to `bottomCardTable'
eval.c:(.text+0x983): undefined reference to `bottomCardTable'
eval.c:(.text+0x9cb): undefined reference to `nBitsTable'
eval.c:(.text+0x9eb): undefined reference to `bottomCardTable'
eval.c:(.text+0xa0d): undefined reference to `bottomCardTable'
eval.c:(.text+0xa3c): undefined reference to `bottomCardTable'
/tmp/ccaKFwe5.o: In function `_bottomNCards':
eval.c:(.text+0xa9c): undefined reference to `bottomCardTable'
collect2: ld returned 1 exit status
------

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 RC or later?

Changed in poker-eval:
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in poker-eval:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.