| ??? 03/09/05 12:50 Read: times |
#89331 - use pair PUBLIC/EXTRN Responding to: ???'s previous message |
hi,
Manisha Prabhu said:
Oleg i used the directive PUBLIC
PUBLIC lup The assembler gives error "undefined symbol" Once again: - Directive PUBLIC should be used inside file 2. This says that label lup is public one and may be used somewhere outside the file 2. - In file 1 you need to use something like EXTRN CODE(lup) to tell compiler that label lup is defined as code entry in other file. What is the trouble? Regards, Oleg |
| Topic | Author | Date |
| How to link more than 2 files | 01/01/70 00:00 | |
| Hint | 01/01/70 00:00 | |
| More hints | 01/01/70 00:00 | |
| Link more than two files | 01/01/70 00:00 | |
| PUBLIC and EXTERNAL | 01/01/70 00:00 | |
| correction: PUBLIC and EXTRN | 01/01/70 00:00 | |
| linkining more than one file | 01/01/70 00:00 | |
| think more | 01/01/70 00:00 | |
| linking more than one file | 01/01/70 00:00 | |
| use pair PUBLIC/EXTRN | 01/01/70 00:00 | |
| Program Linkage | 01/01/70 00:00 | |
| INCLUDE | 01/01/70 00:00 | |
| no include | 01/01/70 00:00 | |
about include | 01/01/70 00:00 |



